Thotz/Thotz.html
 

Distributed Objects Demo

  1. Demonstrates Cocoa’s implementation of Distributed Objects by implementing a rudimentary server and client in the same simple GUI app.

  2. Explores various means of combining DO with threads

  3. Demonstrates the obscure-but-useful NSPortNameServer technique for painless Bonjour without NSNetService or NSNetServiceBrowser.

ComponentsSeparatedByCharacterRunFromSet:

  1. Complements Leopard’s componentsSeparatedByCharactersInSet:

  2. Demonstrates loop-scope autorelease pools

-[NSString lines]

  1. Robustly converts a string into an NSArray of lines

  2. Demonstrates loop-scope autorelease pools

Robust Cocoa Coding

  1. How to code for your Inner Idiot.

HKIndexSetEnumerator

  1. Make NSIndexSet more transparently useful.

-[NSObject autoreleasedCopy]

  1. Brackets Be Gone!

+[NSString stringWithUnichar:]

  1. Simple, but effective.

+[NSArray subarrayWithIndexSet:]

  1. Something useful for NSIndexSet to do.

+[NSString randomEnglishString]

  1. Create Memorable Gibberish.


OS-X/ Cocoa/Objective-C snippets, demos, tools and categories from the code library of Hork Kesekes.