Some demos showing various concepts relating to Objective-C and Cocoa.
DDAutozeroingArray) that maintains auto-zeroing weak references to its items.
NSMutableArraycategory that allows you to create a "pure"
NSMutableArraythat maintains auto-zeroing weak references to its items. This is slightly less efficient than a
Both should work on both iOS and Mac OS X, regardless of GC mode.
DDURLBuilder is essentially a mutable
NSURL. You can use it to customize the host, path, query, fragment, username, password, etc of an
NSObject subclass that dynamically generates getters and setters for properties declared as
@dynamic, and uses an
NSMutableDictionary as the backing store.
A simple project showing simple drawing with CoreGraphics and a simple auto-reversing animation.
A simple project showing how to monitor for screenshots using a persistent