iOS engineer who likes clean, simple designs and sans-serif.

mobile development


CoreData [Example]

Below are my notes for getting CoreData to work on iOS 7. Create new project – Use Menu => New Project => iOS => Application => Empty Application. – Make …

Read More

Parse [Cheatsheet]

This is updated as of Parse v1.2.17, Ruby v2.0.0, and RubyGems v2.2.0. Installing Ruby and Rubygems (and HomeBrew).   ruby -v   brew install ruby   gem -v   sudo …

Read More

UIAlertView Plain Text Input (Example)

An example of UIAlertView to input data v7 1) Set up IBAction for button – (IBAction)addAlbumBarButtonItemPressed:(UIBarButtonItem *)sender {     UIAlertView *newAlbumAlertView = [[UIAlertView alloc] initWithTitle:@"Enter New Album Name" message:nil …

Read More

UITableView Cheatsheet

My cheatsheet for a basic setup with UITableView: 1) Conform header to UITableViewDataSource and UITableViewDelegate in .h @interface LLViewController : UIViewController <LLAddTaskViewControllerDelegate, UITableViewDataSource, UITableViewDelegate> 2) Set delegate and datasource to …

Read More

NSUserDefault Cheatsheet

Some notes on how to save, update and persist data using NSUserDefault. // Access NSUserDefaults using arrayForKey NSMutableArray *spaceObjectPropertyLists =   [[[NSUserDefaults standardUserDefaults] arrayForKey:SPACE_OBJECTS_KEY] mutableCopy]; // If data doesn’t exist, …

Read More

iOS Protocol + Delegation CheatSheet

My cheatsheet on how to set up Protocols + Delegation in iOS: TargetViewController.h: Create protocol¬† @protocol TargetViewControllerDelegate @required …methods… @end Create delegate @property (weak, nonatomic) id delegate; SourceViewController.h: #import “TargetViewController.h” …

Read More

Unable to dequeue a cell with identifier cell

When using a table view controller, make sure to set the table view cell to “Cell” (or whatever you set it as).  It’s defaulted to “Cell”. In Storyboard: In Code: …

Read More