•Demonstrates Cocoa’s implementation of Distributed Objects by implementing a rudimentary server and client in the same simple GUI app.
•Explores various means of combining DO with threads
•Demonstrates the obscure-but-useful NSPortNameServer technique for painless Bonjour without NSNetService or NSNetServiceBrowser.
ComponentsSeparatedByCharacterRunFromSet:
•Complements Leopard’s componentsSeparatedByCharactersInSet:
•Demonstrates loop-scope autorelease pools
•Robustly converts a string into an NSArray of lines
•Demonstrates loop-scope autorelease pools
•How to code for your Inner Idiot.
•Make NSIndexSet more transparently useful.
•Brackets Be Gone!
+[NSString stringWithUnichar:]
•Simple, but effective.
+[NSArray subarrayWithIndexSet:]
•Something useful for NSIndexSet to do.
+[NSString randomEnglishString]
•Create Memorable Gibberish.
OS-X/ Cocoa/Objective-C snippets, demos, tools and categories from the code library of Hork Kesekes.