iPhone Coding: iPhone Developer Docs updated to 1.1.2
A few weeks ago, our Mike Rose posted about my 1.1.1 iPhone header documentation. I'm pleased to say that after a huge amount of work, I've updated those docs up to version 1.1.2. The new documents cover all the Objective-C headers for the iPhone and iPod touch 1.1.2 frameworks including updated keyboards and other system-level modifications. If you're wondering about "Oktoberfest", despite the November release date, that's the Apple internal name for the user bundle. Previous bundles included "Heavenly" (1.0.2) and "Snowbird" (1.1.1).
Share
Categories
A few weeks ago, our Mike Rose posted about my 1.1.1 iPhone header documentation. I'm pleased to say that after a huge amount of work, I've...
Add a Comment
On the objc_class_name_WebFontCache undefined symbol problem.
It appears that the class name meta information has been optimized out in WebCore. I was able to work around this problem by creating my own utility function that calls WebFontCache through the reflection system:
@interface MyUtils
+(struct __GSFont *) createFontWithFamily: (NSString *) name traits: (unsigned int) traits size: (float) size;
@end
#import
#import
@implementation MyUtils
+(struct __GSFont *) createFontWithFamily: (NSString *) name traits: (unsigned int) traits size: (float) size
{
Class webFontCacheClass = NSClassFromString(@"WebFontCache");
SEL sel = NSSelectorFromString(@"createFontWithFamily:traits:size:");
Method method = class_getClassMethod(webFontCacheClass, sel);
IMP imp = method->method_imp;
struct __GSFont * font = (struct __GSFont *)imp(Nil, sel, name, traits, size);
return font;
}
@end
Then you can call:
struct __GSFont *myfont = [MyUtils createFontWithFamily: @"Helvetica" traits: 2 size: 16.0f];
I copied the contents of the file from her site and emacs out the line numbers and put it in the right place.
That's why I was hoping she would make them downloadable.
Hello Erica
I build and installed the toolchain on Leopard and works fine but a lot of headers files are missing for example AddressBookUI or WebKit.
Where I can find the missing header files?
I tried to copy form the binary distribution "iPhoneToolchain04.dmg" but I have linking errors, like:
Undefined symbols:
.objc_class_name_WebFontCache
Thanks in advance
Guillermo
Erica,
How about making your headers downloadable so toolchain users can update to the latest (and more complete) headers?
Also, it would be neat if there was some way to add a Wiki type of community documentation to the header web site.
Well, Snowbird is a ski resort outside Salt Lake City (Heavenly?), which happens to host a yearly Oktoberfest...
November 14 2007 at 5:37 AM Report abuse Permalink rate up rate down Reply112 upgrade does put you back to ground zero and disables all the 111 jailbreak apps. I do not see anything positive from upgrading at all if you are jailbreaked. I have not found a recovery method that works just yet so I may have to wait for the sdks next year unless I find a new break out. Yea I did the okto prep but nothing works.
Heavenly is believed to refer to the ski resort in Tahoe (a popular ski destination for SF bay area residents). Not sure about snowbird...
November 13 2007 at 9:56 PM Report abuse Permalink rate up rate down ReplyHmm... Not sure about "Heavenly" but "Oktoberfest" is presumably a reference to the firmware update for the European (ie, German) release of the iPhone.
Of course, if there was a pattern to that, one might assume that "Snowbird" represented a Canadian release, but of course that didn't happen... :(
As for "Heavenly" there are just no polite comments about that one... ;)
Hot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



8 Comments