The following pages and posts are tagged with
Title | Type | Excerpt |
---|---|---|
ARC | Page | This is a list of porting tips for ARC code |
Basics | Page | |
mulle-objc Caveats | Page | There are some significant differences that come into play, when you want to do “tricky” stuff with Objective-C. Allocation Allocation methods The example implementation of NSObject: + (instancetype) alloc { return( NSAllocateObject( self<span... |
Classcluster Classes | Page | |
Coverage information | Page | |
Differences to Objective-C 2.0 | Page | But how can less be more ? It's impossible! More is more! -- Y. Malmsteen |
-finalize | Page | -finalize runs automatically before -dealloc When the -retainCount is decremented to zero via -release, an object gets the -finalize message. If the retainCount remains unchanged throughout -finalize, then -dealloc is called... |
forward | Page | mulle-objc forward speed makes object composition an alternative |
Linking | Page | |
Memory managment rules | Page | |
nszone | Page | |
sde | Page | |
Porting @property | Page | Porting properties in a fashion that works in ARC code and in mulle-objc is tricky. It is best if you can restrict yourself to assign, copy and retain. Property deallocation Note: This is a rare case, where mulle-objc is compatible with ARC, but... |
Protocols are a kind of @selector | Page | Protocols are a kind of @selector and not a kind of class |
Protocolclasses allow default implementations | Page | Protocolclasses allow default implementations |
Code reduction | Page | |
Singleton classes | Page | |
subscripting | Page | |
Synchronized is gone | Page | Synchronized as a keyword and property is not available |
synthesize | Page | |
Tagged Pointer Classes | Page | Note: If you are using the MulleFoundation, then tagged pointers will be used for NSNumber and NSString leaving little (64 bit) or no (32 bit) room for own tagged pointer classes. Create a tagged pointer (TPS) class A tagged pointer class is great,... |
Porting Variable Arguments in Methods | Page | Variable Arguments in mulle-objc |