Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Random projects for doing little things.
branch: master

Merge pull request #2 from EmbeddedSources/UrlBuilderLib

Added a library and a unit test target for URL builder
latest commit 3d928e1293
@davedelong authored
Failed to load latest commit information.
AutozeroingArray Added an NSMutableArray category for creating a true NSMutableArray t…
DDURLBuilder Added library project with unit test target
DynamicStorage Updated _printStorage method to actually print the property values
FaultingArray Add FaultingArray
GrandSuper Added GrandSuper project
JoinPoints Handles classes that override forwardInvocation:
OlympicRings initial commit
ScreenShot Detector Added AutozeroingArray
.gitignore ignoring xcode directories globally



Some demos showing various concepts relating to Objective-C and Cocoa.



  1. An NSMutableArray subclass (DDAutozeroingArray) that maintains auto-zeroing weak references to its items.
  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.

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 NSURL.


Contains DDDynamicStorageObject, an NSObject subclass that dynamically generates getters and setters for properties declared as @dynamic, and uses an NSMutableDictionary as the backing store.


An NSArray subclass that only loads the objects in the array when something else needs them.


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.


A really really really dangerous project that shows how to inject code before, after, and during any method call.

THIS IS A PROOF-OF-CONCEPT ONLY, and should NOT be used in any sort of production setting.

Olympic Rings

A simple project showing simple drawing with CoreGraphics and a simple auto-reversing animation.

Screenshot Detector

A simple project showing how to monitor for screenshots using a persistent NSMetadataQuery.

Something went wrong with that request. Please try again.