2015-05-02から1日間の記事一覧

which to use id or instancetype

use instancetype readable (type safe) ex. generally in ‘init’ … ‘init’ returns 'the instance’ so it’s clear if it’s written ‘instancetype is returned’ (id) init; // what type will be returned? (instancetype) init; // ah ... instance will b…

difference, ib(interface builder), nib, xib

iOS

ib(interface builder) Graphical Editor for designing UI components nib The resulting interface is stored as a .nib file short for NeXT Interface Builder xib no-compiled nib (XML formatted) Referred to ib and nib xib