On Fri, 04 Feb 2011 13:00:56 -0600, Gordon Apple said:
>This used to work, but not under iOS 4.
>
>- (NSString*)styleNameForIndex:(NSUInteger)index
>inFontFamily:(NSString*)famName {
>NSString* fontName = [[UIFont fontNamesForFamilyName:famName]
>objectAtIndex:index];
>CTFontRef fontRef =
This used to work, but not under iOS 4.
- (NSString*)styleNameForIndex:(NSUInteger)index
inFontFamily:(NSString*)famName {
NSString* fontName = [[UIFont fontNamesForFamilyName:famName]
objectAtIndex:index];
CTFontRef fontRef = CTFontCreateWithName((CFStringRef)fontName, 0.0,
NULL);
CFS