All Done, Goodbye.

  • About
  • Archive
  • Contact
The case against interface builder: Sam Soffes lays out 6 reasons why he does not use Xcode’s interface builder  
 Interface Builder itself is not bad. It does encourage bad practices, prevents reusability (making working with others more difficult), and slows your workflow.  
 
Related: Hacker News thread on Your First iOS App: 100% Programmatically
Pop-upView Separately

The case against interface builder: Sam Soffes lays out 6 reasons why he does not use Xcode’s interface builder

Interface Builder itself is not bad. It does encourage bad practices, prevents reusability (making working with others more difficult), and slows your workflow.

Related: Hacker News thread on Your First iOS App: 100% Programmatically

    • #sam soffes
    • #soffes
    • #xcode
    • #interface builder
    • #best practices
  • 2 days ago
  • 1
FontAwesomeIconFactory by Nikolaj Schumacher is an awesome project that lets you create icons from Font Awesome in code
View Separately

FontAwesomeIconFactory by Nikolaj Schumacher is an awesome project that lets you create icons from Font Awesome in code

    • #font awesome
    • #icon
    • #nikolaj schumacher
  • 1 week ago
  • 1

Primer On Using GitHub

- Git Reference http://gitref.org/
- Git Primer http://starlink.jach.hawaii.edu/starlink/GitPrimer
- VI Reference http://www.unix-manuals.com/refs/vi-ref/vi-ref.htm

- Download Git
https://help.github.com/articles/set-up-git

- Setup

$ git config --global user.name "Your Name Here"
# Sets the default name for git to use when you commit

$ git config --global user.email "your_email@example.com"
# Sets the default email for git to use when you commit

- Create a new repository (called Hello-World)
1. https://github.com/new
2.
$ mkdir ~/Hello-World
# Creates a directory for your project called "Hello-World" in your user directory

$ cd ~/Hello-World
# Changes the current working directory to your newly created directory

$ git init
# Sets up the necessary Git files
Initialized empty Git repository in /Users/you/Hello-World/.git/

$ touch README
# Creates a file called "README" in your Hello-World directory

$ git add README
# Stages your README file, adding it to the list of files to be committed

$ git commit -m 'first commit'
# Commits your files, adding the message "first commit"

$ git remote add origin https://github.com/username/Hello-World.git
# Creates a remote named "origin" pointing at your GitHub repository

$ git push origin master
# Sends your commits in the "master" branch to GitHub

- Add a file
$ git add filename 

- Make a commit (snapshot, record code changes)
$ git commit -a  

- See changes
$ git status  

- Push commit to remote server (subsequent)
$ git push 

- Cloning (copying) an existing repository with read/write access using HTTPS
$ git clone https://github.com/AFNetworking/AFNetworking.git

- Cloning an existing repository with read/write access using SSH
$ git clone git@github.com:username/repository-name.git 
- SSH Keys
https://help.github.com/articles/generating-ssh-keys
http://stackoverflow.com/questions/2643502/git-permission-denied-publickey

    • #git
    • #github
    • #tip
    • #how to
    • #tutorial
    • #reference
  • 1 week ago
  • 1

Working with JSON on iOS

If you have a NSString with the JSON content, use NSJSONSerialization
NSData *jsonData = [myJsonString dataUsingEncoding:NSUTF8StringEncoding];
NSError *e;
NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:jsonData options:nil error:&e]; 

You can also validate your JSON using http://jsonformat.com/

    • #json
    • #ios
  • 1 week ago
  • 1
Signing Certificates & Provisioning Profiles

This is done through the Keychain Access app on your Mac and https://developer.apple.com 


Courtesy of this keynote pdf from irockios
Zoom Info
Signing Certificates & Provisioning Profiles

This is done through the Keychain Access app on your Mac and https://developer.apple.com 


Courtesy of this keynote pdf from irockios
Zoom Info
Signing Certificates & Provisioning Profiles

This is done through the Keychain Access app on your Mac and https://developer.apple.com 


Courtesy of this keynote pdf from irockios
Zoom Info

Signing Certificates & Provisioning Profiles

This is done through the Keychain Access app on your Mac and https://developer.apple.com


Courtesy of this keynote pdf from irockios

    • #provisioning
    • #certificate
  • 1 week ago
  • 1

Helper: -(void)performBlock:(void (^)(void))block afterDelay:(NSTimeInterval)delay

Here’s a little helper code found in OWActivityViewController Hence you can stick a bunch of code in a perform block

        [self performBlock:^{
            code snippet line 1
            code snippet line 2
            ...
        } afterDelay:0.4];

    • #gist
    • #block
    • #helper
    • #delay
  • 2 weeks ago
  • 1

Introduction to Core Data

The way things are explained could be improved a bit, the last part also forgets to tell you to set NSFetchedResultsControllerDelegate in FBCDMasterViewController.h. Don’t miss the SQLite tutorial as well.

Bonus: here’s another tutorial

    • #core data
    • #sql
    • #sqlite
    • #tutorial
    • #ios
    • #storyboard
  • 2 weeks ago
Placing content in the Light “bounce area” of a UITableView (header) tip by Nick Farina:
UIView *topview = [[[UIView alloc] initWithFrame:CGRectMake(0,-480,320,480)] autorelease];
topview.backgroundColor = [UIColor colorWithRed:226.0/255.0 green:231.0/255.0 blue:238.0/255.0 alpha:1];

[self.tableView addSubview:topview];
View Separately

Placing content in the Light “bounce area” of a UITableView (header) tip by Nick Farina:

UIView *topview = [[[UIView alloc] initWithFrame:CGRectMake(0,-480,320,480)] autorelease];
topview.backgroundColor = [UIColor colorWithRed:226.0/255.0 green:231.0/255.0 blue:238.0/255.0 alpha:1];

[self.tableView addSubview:topview]; 

    • #nick farina
    • #uitableview
    • #tip
    • #how to
  • 2 weeks ago
App Icon Template by Michael Flarup is an incredible Photoshop PSD with Smart Object to generate iOS icons
View Separately

App Icon Template by Michael Flarup is an incredible Photoshop PSD with Smart Object to generate iOS icons

    • #photoshop
    • #ui
    • #icon
    • #michael flarup
    • #ios
  • 2 weeks ago
OWActivityViewController by Brant Young & Roman Efimov is an easy way to customize UIActivityViewController
Pop-upView Separately

OWActivityViewController by Brant Young & Roman Efimov is an easy way to customize UIActivityViewController

    • #uiactivity
    • #UIActivityViewController
    • #brant young
    • #roman efimov
    • #ui
  • 3 weeks ago
Page 1 of 14
← Newer • Older →

All Done, Goodbye.

About

Avatar Programming Notes by Daniel Khamsing

Follow Me

  • @kplusd on Twitter
  • babyready on Pinterest
  • RSS
  • Random
  • Archive
  • Contact
  • Mobile
Effector Theme by Pixel Union