Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (22 sloc) 1.644 kb
c042bc2 @davedelong Added readme
authored
1 # Demos
2
3 Some demos showing various concepts relating to Objective-C and Cocoa.
4
64b309f @davedelong Added AutozeroingArray
authored
5 ## AutozeroingArray
6
4ec346e @davedelong Added an NSMutableArray category for creating a true NSMutableArray t…
authored
7 Contains:
8
9 1. An `NSMutableArray` subclass (`DDAutozeroingArray`) that maintains auto-zeroing weak references to its items.
10 2. An `NSMutableArray` category that allows you to create a "pure" `NSMutableArray` that maintains auto-zeroing weak references to its items. This is slightly less efficient than a `DDAutozeroingArray`.
11
12 Both should work on both iOS and Mac OS X, regardless of GC mode.
64b309f @davedelong Added AutozeroingArray
authored
13
c042bc2 @davedelong Added readme
authored
14 ## DDURLBuilder
15
16 `DDURLBuilder` is essentially a mutable `NSURL`. You can use it to customize the host, path, query, fragment, username, password, etc of an `NSURL`.
17
18 ## DynamicStorage
19
20 Contains `DDDynamicStorageObject`, an `NSObject` subclass that dynamically generates getters and setters for properties declared as `@dynamic`, and uses an `NSMutableDictionary` as the backing store.
21
6fd947a @davedelong Add FaultingArray
authored
22 ## FaultingArray
23
24 An `NSArray` subclass that only loads the objects in the array when something else needs them.
25
f44c135 @davedelong Added GrandSuper project
authored
26 ## GrandSuper
27
28 A project showing how to invoke "grandsuper" (super's super). Uses a private method on `NSInvocation`, so you probably shouldn't use this in a production setting.
29
d5eac71 @davedelong Added JoinPoints project
authored
30 ## JoinPoints
31
32 A **really really really** dangerous project that shows how to inject code before, after, and during any method call.
33
34 THIS IS A PROOF-OF-CONCEPT ONLY, and should **NOT** be used in any sort of production setting.
35
c042bc2 @davedelong Added readme
authored
36 ## Olympic Rings
37
38 A simple project showing simple drawing with CoreGraphics and a simple auto-reversing animation.
39
40 ## Screenshot Detector
41
42 A simple project showing how to monitor for screenshots using a persistent `NSMetadataQuery`.
Something went wrong with that request. Please try again.