Yesterday I found a useful online tool to beautify Javascript, check it out http://jsbeautifier.org/
Ολο και κάτι έχω πάντα να πω και να γράψω για αυτά που συμβαίνουν στην πραγματική μου ζωή ή στο μυαλό μου.. I always find something to share with you..
Πέμπτη 29 Μαρτίου 2012
Κυριακή 25 Μαρτίου 2012
How to use your custom font (iOS)
In order to use your own fonts in your iOS application, simple do the following:
- Add your font's file in your XCode project
- Include an entry to your project's plist for "Fonts provided by application" and include the filename+extension of you custom font
- Add the font's file in "Copy Bundle Resources" in the Build Phase of your project's target. **Also include your project's plist if it is not already included.
- Use your custom font using the factory method
[UIFont fontWithName:@"Alison_Regular" size:(CGFloat)13.0];where "Aliston_Regular" should be replaced by the filename of your fontand 13.0 should be replaced by the font that you want
Εγγραφή σε:
Αναρτήσεις (Atom)