Linking to Developer Fonts

Posted by | Posted in Uncategorized | Posted on 28-05-2010

Linking to fonts from the Developer Fonts package is the same way as you do in Xcode, by linking to the font property on the IB outlet. At the bottom of this post, there is a list of all the fonts included in the Developer Fonts package. However the font is spelled, upper-case, lower-case, spaced apart, is how it is linked through the font property.


UILabel *label;
label.font = [UIFont fontWithName:@"GenevaCY" size:12];

In order to load the font, the system must have the Developer Fonts package installed or it may cause your application to crash. Your application must also be available via Cydia or Rock, as it locates fonts that you cannot use through the App Store. This also means that your application may need to have a depend added to the repo to link to the Developer Fonts package in order to prevent crashing.

List of fonts:
- Andale Mono
- Apple Chancery
- Arial Black
- Arial Narrow
- Baskerville
- BigCaslon
- Brush Script
- Chalkboard
- Cochin
- Comic Sans MS
- Copperplate
- Didot
- Futura
- GenevaCY
- GillSans
- HelveticaNeue
- Herculanum
- Hoefler Text
- Impact
- LucidaGrande
- Monaco
- Optima
- Papyrus
- Skia

Tutorial: UIAlertView Number of Rows

Posted by | Posted in Uncategorized | Posted on 22-02-2010

The UIAlertView class has a few methods that we don’t use a lot because Apple doesn’t want us to. These use the Private API’s that the iPhone has and developers can’t use. For developers, methods that are not in the SDK, but are still there, are known as “undocumented”. What we are going to be doing is using the setNumberOfRows: method which is indeed undocumented. I tried submitting Ball Dodge Lite with this so it can separate two buttons on the death alert, but rejected because of… you guessed.

I recommend not doing this if you submit to the App Store, but Cydia is OK, there is nothing that says “no undocumented methods allowed. Cydia is also just another way to send your app to the public if Apple rejects it. Understand? Let’s get started! continue…

Ball Dodge 2.2.4 Now Available

Posted by | Posted in Uncategorized | Posted on 10-12-2009


Ball Dodge is now at its 4th version. In 2.2.3, I included the ability to post your score to Twitter. Unfortunately, there was a bug for people not running 3.0. When trying to send the tweet, a function was being taken off the memory when it shouldn’t have, causing it to work only on 3.0. With that function gone, the score posting is now fully functional in 2.2.4. Now for people who believe that people type in the exact same script with a very high score, I am going to have a screen capture run and upload to an image site, then post that in the script.

Now, I have made 2.2.5 and 2.2.4 came out only yesterday! You can view the sneak peek below.