Categorie: Code Snippets & Hints
„Auto Layout on iOS Versions prior to 6.0”
A short reminder, because I ran into this today and Xcode’s very poor at providing you useful…
Split NSArray based on characters
Arrays are omnipresent. As I needed a snippet to make a string into an array of values,…
NSString initWithBytes:length:encoding:
NSString initWithBytes:length:encoding instance method. A quick example. Uses a NSData object from the content of my blog’s…
Chasing Zombies in XCode 4
Ok, this will be a short one. Probably I will create a category like „code snippets and…
How to use XCode 4 Exception Breakpoints
I will probably write a longer article on exception handling in XCode, for now just a quickie:…
How to convert a mutable array to an immutable array
Really, how do you do this quickly ? Find here.
How to convert an immutable array to a mutable array
Part II of the mutable transformation „saga”. Find here how to quickly convert from immutable to mutable arrays.
Globals and Singletons
My preferred approach to creation and maintaing global variables/ constants is by singletons and singleton instance[s]. Not…
Comentarii recente