In French : In English (Google Translate) :

To add your own pictures to the simulator, get the simulator running and then drag your image onto the simulator. […]

UIImageView * tableHeader = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@”header.png”]]; [areasTableView setTableHeaderView:tableHeader]; UIImageView * tableFooter = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@”footer.png”]]; [areasTableView setTableFooterView:tableFooter];

Since there are some ways to write Objective-C blocks, here are some snippets not to forget them. Without artuments: void […]

Adding a border to any UIView can be accomplished very simply by accessing the UIView underlying layer and setting the […]

I usually use a bunch of macros which makes my life easier when developing iOS apps. I hope you find […]

Quick and easy to implement NSString SHA1 verification tool to check to see if an NSString is a valid SHA1 […]

NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:textField.text]; [attributedString addAttribute:NSBackgroundColorAttributeName value:[UIColor clearColor] range:NSMakeRange(0, textField.text.length)]; textField.attributedText = attributedString;

NSFileManager *fileMgr; NSString *entry; NSString *documentsDir; NSDirectoryEnumerator *enumerator; BOOL isDirectory; // creo il file manager fileMgr = [NSFileManager defaultManager]; // […]

Overriding initializers in Objectice-C is allways paint in the ass. This is because when you inherit class with you custom […]

Sometime i struggle with uiappearance proxy and get continuous error when trying to use custom fonts. This snippet helps me […]

So, I don’t know about you, but working with fonts in Objective C on iOS is a pain in the […]