notes in IOS

+ in front of method is class method
used for creating thing
or
utily method

lazy instantiation objective c

-(Deck *) deck
{
if(!_deck) _deck =[self createDeck];
return _deck;
}

-(Deck *) createDeck
{
return [[PlayingCardDeck alloc] init];
}

IOS Versions

Version Build Release date Highest version for
3.1.3 7E18 February 2, 2010; 4 years ago (2010-02-02) iPhone (1st generation), iPod Touch (1st generation)
4.2.1 8C148 November 22, 2010; 3 years ago (2010-11-22) iPhone 3G, iPod Touch (2nd generation)
5.1.1 9B206 May 7, 2012; 2 years ago (2012-05-07) iPod Touch (3rd generation), iPad (1st generation)
6.1.6 10B500 February 21, 2014; 6 months ago (2014-02-21) iPhone 3GS, iPod Touch (4th generation)
7.1.2 (Apple TV Software version 6.2) 11D257c June 30, 2014; 2 months ago (2014-06-30) Apple TV (2nd generation and later)
7.1.2 11D257 June 30, 2014; 2 months ago (2014-06-30) iPhone 4
8.0 12A365 September 17, 2014; 2 days’ time (2014-09-17) iPhone 4S, iPhone 5, iPhone 5C, iPhone 5S, iPhone 6, iPhone 6 Plus, iPod Touch (5th generation), iPad 2, iPad (3rd generation), iPad (4th generation), iPad Air, iPad Mini (1st generation), iPad Mini (2nd generation)

From wiki