Thursday, August 29, 2013

WWDC 2013 Summary : 228-HD Hidden Gems in Cocoa and Cocoa Touch


<NSHipster>

<Xcode>
OpenQuickly : cmd-shift-o
Related Files : ctl + 1
Breakpoint Actions
Debug description : 
(NSString *)debugDescription{ return @"Verbose debugging string";} -> (lldb) po self.rootViewController -> Verbose debugging string
Recursive description

<OBJC>
Custom-indexed Subscripting
NSOperation
NSExpression
NSSet & NSOrderedSet
Collection Tricks - reverseObjectEnumerator.allObjects -> reverse
NSFastEnumeration -> for in 
NSValue
NSValue withPoint, Range
Custom Value -> typedef struct RGB { float red, green, blue; } _RGB; RGB Color={1.0f, 0.0f, 0.0f}; -> [NSValue valueWithBytes: &color objCType:@encode(RGB)];
Key & Value Coding
-String
NSDataDetector - Dates, Addresses, Links, Phone Numbers, Transit information
CFStringTransform - esp name unicode characters, transliterate between orthographies(안녕하세요->annyeonghaseyo,  ひらがな<ー>かたかな、romaji)
Normalizing Input -> all english char .. etc..

<Core Animation>
CAGradientLayer
CAShapeLayer
CAMediaTiming for interactive animation

<Core Data>
NSPrivateQuqueConcurrencyType
NSIncrementalStore

No comments:

Post a Comment