Categorie: Code Snippets & Hints

10
feb.
2014
Posted in Apple Programming 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…

22
oct.
2013
Posted in Code Snippets & Hints How To's

Split NSArray based on characters

Arrays are omnipresent. As I needed a snippet to make a string into an array of values,…

11
feb.
2013
Posted in Apple Programming Code Snippets & Hints

NSString initWithBytes:length:encoding:

NSString initWithBytes:length:encoding instance method. A quick example. Uses a NSData object from the content of my blog’s…

05
feb.
2013
Posted in Apple Programming Code Snippets & Hints Most viewed

Chasing Zombies in XCode 4

Ok, this will be a short one. Probably I will create a category like „code snippets and…

03
feb.
2013
Posted in Code Snippets & Hints Most commented

How to use XCode 4 Exception Breakpoints

I will probably write a longer article on exception handling in XCode, for now just a quickie:…

17
mart.
2011
Posted in Code Snippets & Hints How To's

How to convert a mutable array to an immutable array

Really, how do you do this quickly ? Find here.

17
mart.
2011
Posted in Code Snippets & Hints How To's

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.

07
mart.
2011
Posted in Apple Programming Code Snippets & Hints

Globals and Singletons

My preferred approach to creation and maintaing global variables/ constants is by singletons and singleton instance[s]. Not…