C for Absolute B
k k k
eginners
iPhone, iPad and k k
Mac Programming Made Easy
k k k
—
Stefan Kaczmarek B
k k
rad Lees
k
Gary Bennett Mitch
k k
Fisher
k
www.allitebooks.com
, Objective-
C for Absolute Beginners
k k k
iPhone, iPad and Mac Pro
k k k k
gramming Made Easy k k
Stefan Kaczmarek Br
k k
ad Lees
k
Gary Bennett
k k
Mitch Fisher
k
www.allitebooks.com
,Objective-CkforkAbsolute kBeginners:kiPhone,kiPad kand kMackProgramming kMade kEasy
StefankKaczmarekk Phoen Bradk Lees
ix,kArizona,kUSA Phoenix,k Arizona,k USA
Garyk Bennett Mitchk Fisher
Scottsdale,k Arizona,k USA Glendale,k Arizona,k USA
ISBN-13k (pbk):k 978-1-4842-3428-0 ISBN-13k (electronic):k 978-1-4842-3429-7
https://doi.org/10.1007/978-1-4842-3429-
7k LibrarykofkCongress kControlkNumber:k20189379
04
Copyrightk ©k 2018 k by k Stefan k Kaczmarek,k Brad k Lees,k Gary k Bennett,k Mitch k Fisher
This k workk isk subjectk tok copyright.k Allk rights k arek res ervedk byk thek Publisher,k whetherk thek wholek ork partk ofk thek
materialk isk concerned,k specificallyk thek rights k ofk trans lation,k reprinting,k reus ek ofk illustrations,k recitation,k broa
dcasting,k reproductionk onk microfilms k ork ink anyk otherk physicalk way,k andk trans missionk ork informationk storagek
andk retrieval,k electronick adaptation,k computerk software,k ork byk similark ork diss imilark methodologyk now k known
k ork hereafterk developed.
Trademarkedk names,k logos,k andk images k mayk appeark ink this k book.k Ratherk thank usek ak trademarkk symbolk withk
everykoccurrencek ofk aktrademarkedkname,k logo,korkimagekw ek us ektheknames ,klogos,k andk images konlykink ank
editorialkfas hionk andk tok thek benefitk ofk thek trademarkkowner,kw ithk nokintentionkofkinfringem entkofkthek trade
mark.
Thek usek ink thisk publicationk ofk tradek names,k trademarks,k servicek marks,k andk similark terms,k evenk ifk theyk arek no
tk identifiedk ask such,k isknotktok bektakenk ask ank expres sionk of kopinionk ask tok whetherk ork notk theyk areks ubjectk tok
proprietarykrights.
Whilek thek advicek andk informationk ink this k bookk arek believedk tok bek truek andk accuratek atk thek datek ofk publication
,k neitherk thek authors k nork thek editors k nork thek publisherk cank acceptk anyk legalk res pons ibilityk fork anyk errors k ork o
missions k thatk mayk bek made.k Thek publisherk makes k nok w arranty,k express k ork implied,k withk res pectk tok thek mater
ialk containedk herein.
ManagingkDirector,kApress kMediak LLC:kWelmoedkSpahrk
Acquisitions k Editor:k Aaronk Black
Developmentk Editor:kJames kMarkhamk
Coordinatingk Editor:k Jessicak Vakili
CoverkdesignedkbykeStudioCalamar
Coverk imagek byk Freepikk (www.freepik.com)
Distributedktokthekbookktradekworldw idekbykSpringerkS cience+ Business kM ediakNew kYork,k233kSpringkStreet,k
6thk Floor,k New k York,k NY k 10013.k Phonek 1-800-SPRINGER,k faxk (201)k 348-4505,k e-mailk orders-ny@springer-
k sbm.com,k ork visitk www.springeronline.com. k Apress k Media,k LLCk is k ak Californiak LLCk andk thek solek memberk
(owner)k isk Springerk Sciencek +k Business k Mediak Financek Inck (SSBM k Financek Inc).k SSBM k Financek Inck is k ak De
lawarekcorporation.
Fork informationk onk translations,k pleasek e-
mailk ,k ork visitk www.apress.com/k rights-permissions.
Apress k titles k mayk bek purchas edk ink bulkk fork academic,k corporate,k ork promotionalk use.k eBookk versions k and
k licenses k arek alsok availablek fork mos tk titles.k Fork morek information,k referencek ourk Printk andk eBookk Bulkk Sal
es k webk pagek atk www.apress.com/bulk-s ales.
Anyksourcek codek orkotherks upplem entaryk materialkreferencedk bykthekauthork inkthis kbookk iskavailablek tok rea
ders k onk GitHubk viak thek book’s k productk page,k locatedk atk www.apress.com/978-1-4842-3428-
0.k Fork morek detailedk information,k pleasek visitk w ww.apress .com/s ource-code.
Printedk onk acid-freek paper
, www.allitebooks.com