iOS Interview Questions With Answers PDF
iOS Interview Questions With Answers PDF
1.WhatislatestiOSversion?
2.WhatislatestXcodeversion?
3.Whatislatestmacosversion?
m
4.WhatisiPadscreensize?
5.whatisiPhonescreensize?
6.WhatarethefeaturesisIOS6?
7.WhoinventedObjectivec?
8.WhatisCococaandcocoatouch?
9.WhatisObjectivec?
.co
10.howdeclaremethodsinObjectivec?andhowtocallthem?
11.WhatispropertyinObjectivec?
12.Whatismeaningof"copy"keyword?
13.Whatismeaningof"readOnly"keyword?
14.Whatismeaningof"retain"keyword?
15.Whatismeaningof"assign"keyword?
16.Whatismeaningof"automic"keyword?
17.Whatismeaningof"nonautomic"keyword?
18.Whatisdifferencebetween"assign"and"retain"keyword?
21.WhatisuseofUIApplicationclass?
22.Whatcompilersappleusing?
m
19.Whatismeaningof"synthesize"keyword?
20.Whatis"Protocol"onobjectivec?
23.Whatissynchronized()blockinobjectivec?whatistheuseofthat?
24.Whatisthe"interface"and"implementation"?
ar
25.Whatis"private","Protected"and"Public"?
26.Whatistheuseof"dynamic"keyword?
27.Whatis"Delegate"?
28.Whatis"notification"?
29.Whatisdifferencebetween"protocol"and"delegate"?
30.Whatis"PushNotification"?
er
31.HowtodealwithSQLitedatabase?
32.Whatisstoryboard?
33.WhatisCategoryinObjectivec?
34.Whatisblockinobjectivec?
35.Howtoparsexml?explainindeep.
36.HowtoparseJSON?explainindeep.
re
37.HowtousereusablecellinUITableview?
38.Whatisthemeaningof"strong"keyword?
39.Whatisthemeaningof"weak"keyword?
40.Whatisdifferencestrongandweakreference?explain.
41.WhatisARC?Howitworks?explainindeep.
42.Whatmanualmemorymanagement?howitwork?
Ca
43.HowtofindthememoryleaksinMRC?
44.whatisuseofNSOperation?howNSOperationqueworks?
45.Howtosendcrashreportfromdevice?
46.Whatisautorealeasepool?
47.Whathappenswhenweinvokeamethodonanilpointer?
48.DifferencebetweennilandNil.
49.Whatisfastenumeration?
50.Howtostartathread?explainindeep.
51.Howtodownloadsomethingfromtheinternet?
52.whatissynchronouswebrequestandasynchronous?
53.Differencebetweensaxparseranddomparser?
54.Explainstackandheap?
55.WhataretheViewControllerlifecycleinios?
56.Differencebetweencoredata&sqlite?
57.Stepsforusingcoredata?
m
58.ProceduretopushtheappinAppStore?
59.WhataretheApplicationlifecycleinios?
60.Differencebetweenreleaseandautorelease?
61.Howtostartaselectoronabackgroundthread
62.Whathappensifthemethodsdoesntexist
.co
Answers:
1.WhatislatestiOSversion?
IOS6.1.3(updatedon5/15/133:15AM
PacificDaylightTime)
2.WhatislatestXcodeversion?
Xcode4.6.2(updatedon5/15/133:15AM
PacificDaylightTime)
3.Whatislatestmacosversion?
m
ar
MacMountainLion(updatedon5/15/133:15AM
PacificDaylightTime)
4.WhatisiPadscreensize?
1024X768
er
5.whatisiPhonescreensize?
320X480
6.WhatarethefeaturesisIOS6?
1.Map:beautifullydesignedfromthegroundup(andtheskydown)
re
2.IntegrationofFacebookwithiOS
3.sharedphotostreams.
4.Passbookboardingpasses,loyaltycards,retailcoupons,cinematicketsandmoreallinoneplace
5.Facetimeonmobilenetworkaswifi
6.changedPhoneapp*remindmelater,*replywithmessage.
7.Mailredesignedmorestreamlineinterface.
Ca
8.Camerawithpanorama.
7.WhoinventedObjectivec?
BroadcoxandTomLove
8.WhatisCococaandcocoatouch?
CocoaisforMacAppdevelopmentandcocoatouchisforapplestouchdevicesthatprovideall
developmentenvironment
9.WhatisObjectivec?
*ObjectiveCisareflective,objectorientedprogramminglanguagewhichaddsSmalltalkstyle
messagingtotheCprogramminglanguage.strictlysupersetofc.
10.howdeclaremethodsinObjectivec?andhowtocallthem?
m
(return_type)methodName:(data_type)parameter_name:(data_type)parameter_name
11.WhatispropertyinObjectivec?
Propertyallowdeclaredvariableswithspecificationlikeatomic/nonatmic,orretain/assign
.co
12.Whatismeaningof"copy"keyword?
copyobjectduringassignmentandincreasesretaincountby1
13.Whatismeaningof"readOnly"keyword?
Declarereadonlyobject/declareonlygettermethod
14.Whatismeaningof"retain"keyword?
Specifiesthatretainshouldbeinvokedontheobjectuponassignment.takesownershipofanobject
15.Whatismeaningof"assign"keyword?
16.Whatismeaningof"atomic"keyword?
m
Specifiesthatthesetterusessimpleassignment.Usesonattributeofscalartypelikefloat,int.
"atomic",thesynthesizedsetter/getterwillensurethatawholevalueisalwaysreturnedfromthe
getterorsetbythesetter,onlysinglethreadcanaccessvariabletogetorsetvalueatatime
ar
17.Whatismeaningof"nonatomic"keyword?
Innonatomicnosuchguarantythatvalueisreturnedfromvariableissamethatsettersets.atsame
time
18.Whatisdifferencebetween"assign"and"retain"keyword?
er
RetainSpecifiesthatretainshouldbeinvokedontheobjectuponassignment.takesownershipofan
object
AssignSpecifiesthatthesetterusessimpleassignment.Usesonattributeofscalartypelikefloat,int.
19.Whatismeaningof"synthesize"keyword?
re
askthecompilertogeneratethesetterandgettermethodsaccordingtothespecificationinthe
declaration
20.Whatis"Protocol"onobjectivec?
Aprotocoldeclaresmethodsthatcanbeimplementedbyanyclass.Protocolsarenotclasses
themselves.Theysimplydefineaninterfacethatotherobjectsareresponsiblefor
Ca
implementing.Protocolshavemanyadvantages.Theideaistoprovideawayforclassestosharethe
samemethodandpropertydeclarationswithoutinheritingthemfromacommonancestor
21.WhatisuseofUIApplicationclass?
TheUIApplicationclassimplementstherequiredbehaviorofanapplication.
22.Whatcompilersappleusing?
TheApplecompilersarebasedonthecompilersoftheGNUCompilerCollection.
23.Whatissynchronized()blockinobjectivec?whatistheuseofthat?
The@synchronized()directivelocksasectionofcodeforusebyasinglethread.Otherthreadsare
blockeduntilthethreadexitstheprotectedcode.
24.Whatisthe"interface"and"implementation"?
interfacedeclaresthebehaviorofclassandimplementationdefinesthebehaviorofclass.
m
25.Whatis"private","Protected"and"Public"?
privatelimitsthescopeclassvariabletotheclassthatdeclaresit.
protectedLimitsinstancevariablescopetodeclaringandinheritingclasses.
publicRemovesrestrictionsonthescopeofinstancevariables
26.Whatistheuseof"dynamic"keyword?
.co
Instructsthecompilernottogenerateawarningifitcannotfindimplementationsofaccessormethods
associatedwiththepropertieswhosenamesfollow.
27.Whatis"Delegate"?
Adelegateisanobjectthatwillrespondtoprechosenselectors(functioncalls)atsomepointinthe
future.,needtoimplementtheprotocolmethodbythedelegateobject.
28.Whatis"notification"?
providesamechanismforbroadcastinginformationwithinaprogram,usingnotificationwecansend
m
messagetootherobjectbyaddingobserver.
29.Whatisdifferencebetween"protocol"and"delegate"?
protocolisusedthedeclareasetofmethodsthataclassthat"adopts"(declaresthatitwillusethis
protocol)willimplement.
ar
Delegatesareauseofthelanguagefeatureofprotocols.Thedelegationdesignpatternisawayof
designingyourcodetouseprotocolswherenecessary.
30.Whatis"PushNotification"?
togettheanyupdate/alertfromserver.
er
31.HowtodealwithSQLitedatabase?
DealingwithsqlitedatabaseiniOS:
1.Createdatabase:sqlite3AnimalDatabase.sql
2.Createtableandinsertdataintotable:
re
CREATETABLEanimals(idINTEGERPRIMARYKEY,nameVARCHAR(50),description
TEXT,imageVARCHAR(255))
INSERTINTOanimals(name,description,image)VALUES('Elephant','Theelephantisaverylarge
animalthatlivesinAfricaandAsia','http://dblog.com.au/wpcontent/elephant.jpg')
Ca
3.Createnewapp>AddSQLiteframeworkanddatabasefiletoproject
4.Readthedatabaseandcloseitonceworkdonewithdatabase:
//Setupthedatabaseobject
sqlite3*database
//InittheanimalsArray
animals=[[NSMutableArrayalloc]init]
//Openthedatabasefromtheusersfilessytem
if(sqlite3_open([databasePathUTF8String],&database)==SQLITE_OK){
//SetuptheSQLStatementandcompileitforfasteraccess
constchar*sqlStatement="select*fromanimals"
sqlite3_stmt*compiledStatement
m
if(sqlite3_prepare_v2(database,sqlStatement,1,&compiledStatement,NULL)==SQLITE_OK){
//Loopthroughtheresultsandaddthemtothefeedsarray
while(sqlite3_step(compiledStatement)==SQLITE_ROW){
//Readthedatafromtheresultrow
NSString*aName=[NSStringstringWithUTF8String:(char
.co
*)sqlite3_column_text(compiledStatement,1)]
NSString*aDescription=[NSStringstringWithUTF8String:(char
*)sqlite3_column_text(compiledStatement,2)]
NSString*aImageUrl=[NSStringstringWithUTF8String:(char
*)sqlite3_column_text(compiledStatement,3)]
//Createanewanimalobjectwiththedatafromthedatabase
Animal*animal=[[Animalalloc]initWithName:aNamedescription:aDescriptionurl:aImageUrl]
[animalrelease]
}
}
m
//AddtheanimalobjecttotheanimalsArray
[animalsaddObject:animal]
ar
//Releasethecompiledstatementfrommemory
sqlite3_finalize(compiledStatement)
}
sqlite3_close(database)
er
32.Whatisstoryboard?
WithStoryboards,allscreensarestoredinasinglefile.Thisgivesyouaconceptualoverviewofthe
visualrepresentationfortheappandshowsyouhowthescreensareconnected.Xcodeprovidesa
builtineditortolayouttheStoryboards.
re
1. .storyboardisessentiallyonesinglefileforallyourscreensintheappanditshowstheflowof
thescreens.Youcanaddsegues/transitionsbetweenscreens,thisway.So,thisminimizesthe
boilerplatecoderequiredtomanagemultiplescreens.
2. 2.Minimizestheoverallno.offilesinanapp.
Ca
33.WhatisCategoryinObjectivec?
Acategoryallowsyoutoaddmethodstoanexistingclasseventooneforwhichyoudonothave
thesource.
34.Whatisblockinobjectivec?
BlocksarealanguagelevelfeatureaddedtoC,ObjectiveCandC++,whichallowyoutocreate
distinctsegmentsofcodethatcanbepassedaroundtomethodsorfunctionsasiftheywerevalues.
BlocksareObjectiveCobjects,whichmeanstheycanbeaddedtocollections
likeNSArrayorNSDictionary.Theyalsohavetheabilitytocapturevaluesfromtheenclosingscope,
makingthemsimilartoclosuresorlambdasinotherprogramminglanguages.
35.Howtoparsexml?explainindeep.
UsingNSXMLParser.
Createxmlparserobjectwithxmldata,setitsdelegate,andcalltheparsemethodwithparserObject.
m
Delegatemethodsgettingcalled:
parserDidStartDocument:
parserDidEndDocument:
parser:didStartElement:namespaceURI:qualifiedName:attributes:
parser:didEndElement:namespaceURI:qualifiedName:
parser:didStartMappingPrefix:toURI:
.co
parser:didEndMappingPrefix:
parser:resolveExternalEntityName:systemID:
parser:parseErrorOccurred:
parser:validationErrorOccurred:
parser:foundCharacters:
parser:foundIgnorableWhitespace:
parser:foundProcessingInstructionWithTarget:data:
parser:foundComment:
parser:foundCDATA:
36.HowtoparseJSON?explainindeep.
ByusingNSJSONSerialization. m
Forexample:NSArray*jsonArray=[NSJSONSerializationJSONObjectWithData:dataoptions:
NSJSONReadingMutableContainerserror:&e]
ar
37.HowtousereusablecellinUITableview?
ByusingdequeReusableCellWithIdentifier
38.Whatisthemeaningof"strong"keyword?
*strongo"own"theobjectyouarereferencingwiththisproperty/variable.Thecompilerwilltake
carethatanyobjectthatyouassigntothispropertywillnotbedestroyedaslongasyou(oranyother
er
object)pointstoitwithastrongreference.
39.Whatisthemeaningof"weak"keyword?
*Weakweakreferenceyousignifythatyoudon'twanttohavecontrolovertheobject'slifetime.The
objectyouarereferencingweaklyonlylivesonbecauseatleastoneotherobjectholdsastrong
referencetoit.Oncethatisnolongerthecase,theobjectgetsdestroyedandyourweakpropertywill
re
automaticallygetsettonil.
40.Whatisdifferencestrongandweakreference?explain.
complierwithberesponsibleforlifetimeofobjectwhichisdeclaredasstrong.forweakobject
compilerwilldestroyobjectoncestrongreferencethatholdweakobjectgetdestroyed.
Ca
41.WhatisARC?Howitworks?explainindeep.
Automaticreferencecounting(ARC)Ifthecompilercanrecognizewhereyoushouldberetaining
andreleasingobjects,andputtheretainandreleasestatementincode.
42.Whatmanualmemorymanagement?howitwork?
InManualmemorymanagementdevelopersisresponsibleforlifecycleofobject.developerhasto
retain/allocandreleasetheobjectwhereverneeded.
43.HowtofindthememoryleaksinMRC?
Byusing
1.Staticanalyzer.
2.Instrument
44.whatisuseofNSOperation?howNSOperationqueworks?
Anoperationobjectisasingleshotobjectthatis,itexecutesitstaskonceandcannotbeusedto
m
executeitagain.YoutypicallyexecuteoperationsbyaddingthemtoanoperationqueueAn
NSOperationQueueobjectisaqueuethathandlesobjectsoftheNSOperationclasstype.An
NSOperationobject,simplyphrased,representsasingletask,includingboththedataandthecode
relatedtothetask.TheNSOperationQueuehandlesandmanagestheexecutionofalltheNSOperation
objects(thetasks)thathavebeenaddedtoit.
.co
45.Howtosendcrashreportfromdevice?
46.Whatisautorealeasepool?
Everytimeautoreleaseissenttoanobject,itisaddedtotheinnermostautoreleasepool.Whenthe
poolisdrained,itsimplysendsreleasetoalltheobjectsinthepool.
Autoreleasepoolsaresimplyaconveniencethatallowsyoutodefersendingreleaseuntil"later".
That"later"canhappeninseveralplaces,butthemostcommoninCocoaGUIappsisattheendofthe
currentrunloopcycle.
48.DifferencebetweennilandNil.
m
47.Whathappenswhenweinvokeamethodonanilpointer?
Nilismeantforclasspointers,andnilismeantforobjectpointers
49.Whatisfastenumeration?
ar
for(idobjectinobjets){
}
50.Howtostartathread?
(void)performSelectorInBackground:(SEL)aSelectorwithObject:(id)argonNSObject
NSThread*evtThread=[[NSThreadalloc]initWithTarget:self
er
selector:@selector(saySomething)
object:nil]
[evtThreadstart]
51.Howtodownloadsomethingfromtheinternet?
ByUsingNSURLConnection,bystartingconnectionorsendingsynchronousrequest.
re
52.whatissynchronouswebrequestandasynchronous?
Insynchronousrequestmainthreadgetsblockandcontrolwillnotgetbacktousertillthatrequest
getsexecute.
InAsynchronouscontrolgetsbacktouserevenifrequestisgettingexecute.
Ca
53.Differencebetweensaxparseranddomparser?
SAX(SimpleAPIforXML)
1. Parsesnodebynode
2. Doesn'tstoretheXMLinmemory
3. Wecannotinsertordeleteanode
4. Toptobottomtraversing
DOM(DocumentObjectModel)
1. StorestheentireXMLdocumentintomemorybeforeprocessing
2. Occupiesmorememory
3. Wecaninsertordeletenodes
4. Traverseinanydirection
m
54.Explainstackandheap?
55.WhataretheViewControllerlifecycleinios?
.co
loadViewviewDidLoadviewWillAppearviewDidAppearviewDisappearviewDidUnload
56.Differencebetweencoredata&sqlite?
Thereisahugedifferencebetweenthesetwo.SQLLiteisadatabaseitselflikewehaveMSSQL
Server.ButCoreDataisanORM(ObjectRelationalModel)whichcreatesalayerbetweenthe
databaseandtheUI.Itspeedsuptheprocessofinteractionaswedonthavetowritequeries,justwork
withtheORMandletORMhandlesthebackend.Forsaveorretrievaloflargedata,Irecommendto
useCoreDatabecauseofitsabilitiestohandlethelessprocessingspeedofIPhone.
57.Stepsforusingcoredata?
m
NSFetchedResultsControllerItisdesignedprimarilytofunctionasadatasourceforaUITableView
ar
58.ProceduretopushtheappinAppStore?
59.WhataretheApplicationlifecycleinios?
ApplicationDidFinishLaunchingWithOptionApplicationWillResignActive-
ApplicationDidBecomeActive-ApplicationWillTerminate
er
60.Differencebetweenreleaseandautorelease?
releasedestroytheobjectfrommemory,
autoreleasedestroytheobjectfrommemoryinfuturewhenitisnotinuse.
re
61.Howtostartaselectoronabackgroundthread
(void)performSelectorInBackground:(SEL)aSelectorwithObject:(id)argonNSObject
62.Whathappensifthemethodsdoesntexist
Appwillcrashwithexceptionunrecognizedselectorsenttoinstance.
Ca
63.HowPushnotificationworks?
ServerAppleserverdevicebyusingAPNs
Delegatemethods:
UITableView:
DataSource
ConfiguringaTableView
tableView:cellForRowAtIndexPath:requiredmethod
numberOfSectionsInTableView:
tableView:numberOfRowsInSection:requiredmethod
sectionIndexTitlesForTableView:
tableView:sectionForSectionIndexTitle:atIndex:
tableView:titleForHeaderInSection:
tableView:titleForFooterInSection:
m
InsertingorDeletingTableRows
tableView:commitEditingStyle:forRowAtIndexPath:
tableView:canEditRowAtIndexPath:
ReorderingTableRows
tableView:canMoveRowAtIndexPath:
tableView:moveRowAtIndexPath:toIndexPath:
.co
Delegate
ConfiguringRowsfortheTableView
tableView:heightForRowAtIndexPath:
tableView:indentationLevelForRowAtIndexPath:
tableView:willDisplayCell:forRowAtIndexPath:
ManagingAccessoryViews
tableView:accessoryButtonTappedForRowWithIndexPath:
ManagingSelections
m
tableView:willSelectRowAtIndexPath:
tableView:didSelectRowAtIndexPath:
tableView:willDeselectRowAtIndexPath:
tableView:didDeselectRowAtIndexPath:
ModifyingtheHeaderandFooterofSections
ar
tableView:viewForHeaderInSection:
tableView:viewForFooterInSection:
tableView:heightForHeaderInSection:
tableView:heightForFooterInSection:
EditingTableRows
tableView:willBeginEditingRowAtIndexPath:
er
tableView:didEndEditingRowAtIndexPath:
tableView:editingStyleForRowAtIndexPath:
tableView:titleForDeleteConfirmationButtonForRowAtIndexPath:
tableView:shouldIndentWhileEditingRowAtIndexPath:
ReorderingTableRows
tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:
re
CopyingandPastingRowContent
tableView:shouldShowMenuForRowAtIndexPath:
tableView:canPerformAction:forRowAtIndexPath:withSender:
tableView:performAction:forRowAtIndexPath:withSender:
UIPickerView
DataSource
Ca
ProvidingCountsforthePickerView
numberOfComponentsInPickerView:
pickerView:numberOfRowsInComponent:
Delegate
SettingtheDimensionsofthePickerView
pickerView:rowHeightForComponent:
pickerView:widthForComponent:
SettingtheContentofComponentRows
Themethodsinthisgrouparemarked@optional.However,touseapickerview,youmustimplement
eitherthepickerView:titleForRow:forComponent:or
thepickerView:viewForRow:forComponent:reusingView:methodtoprovidethecontentof
componentrows.
pickerView:titleForRow:forComponent:
pickerView:viewForRow:forComponent:reusingView:
RespondingtoRowSelection
m
pickerView:didSelectRow:inComponent:
UITextFeild-
Delegate
ManagingEditing
textFieldShouldBeginEditing:
.co
textFieldDidBeginEditing:
textFieldShouldEndEditing:
textFieldDidEndEditing:
EditingtheTextFieldsText
textField:shouldChangeCharactersInRange:replacementString:
textFieldShouldClear:
textFieldShouldReturn:
UItextView-
m
DelegateRespondingtoEditingNotifications
textViewShouldBeginEditing:
textViewDidBeginEditing:
textViewShouldEndEditing:
textViewDidEndEditing:
ar
RespondingtoTextChanges
textView:shouldChangeTextInRange:replacementText:
textViewDidChange:
RespondingtoSelectionChanges
textViewDidChangeSelection:
er
MKMapView
Delegate
RespondingtoMapPositionChanges
mapView:regionWillChangeAnimated:
mapView:regionDidChangeAnimated:
LoadingtheMapData
re
mapViewWillStartLoadingMap:
mapViewDidFinishLoadingMap:
mapViewDidFailLoadingMap:withError:
TrackingtheUserLocation
mapViewWillStartLocatingUser:
mapViewDidStopLocatingUser:
mapView:didUpdateUserLocation:
Ca
mapView:didFailToLocateUserWithError:
mapView:didChangeUserTrackingMode:animated:requiredmethod
ManagingAnnotationViews
mapView:viewForAnnotation:
mapView:didAddAnnotationViews:
mapView:annotationView:calloutAccessoryControlTapped:
DragginganAnnotationView
mapView:annotationView:didChangeDragState:fromOldState:
SelectingAnnotationViews
mapView:didSelectAnnotationView:
mapView:didDeselectAnnotationView:
ManagingOverlayViews
mapView:viewForOverlay:
mapView:didAddOverlayViews:
m
NSURLConnection-
Delegate
ConnectionAuthentication
connection:willSendRequestForAuthenticationChallenge:
connection:canAuthenticateAgainstProtectionSpace:
.co
connection:didCancelAuthenticationChallenge:
connection:didReceiveAuthenticationChallenge:
connectionShouldUseCredentialStorage:
ConnectionCompletion
connection:didFailWithError:
NSURLConnectionDownloadDelegate
connection:didWriteData:totalBytesWritten:expectedTotalBytes:
connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:
NSURLConnection
PreflightingaRequest
m
connectionDidFinishDownloading:destinationURL:
+canHandleRequest:
ar
LoadingDataSynchronously
+sendSynchronousRequest:returningResponse:error:
LoadingDataAsynchronously
+connectionWithRequest:delegate:
initWithRequest:delegate:
initWithRequest:delegate:startImmediately:
er
+sendAsynchronousRequest:queue:completionHandler:
start
StoppingaConnection
cancel
SchedulingDelegateMessages
scheduleInRunLoop:forMode:
re
setDelegateQueue:
unscheduleFromRunLoop:forMode:
NSXMLParser-
HandlingXML
parserDidStartDocument:
parserDidEndDocument:
Ca
parser:didStartElement:namespaceURI:qualifiedName:attributes:
parser:didEndElement:namespaceURI:qualifiedName:
parser:didStartMappingPrefix:toURI:
parser:didEndMappingPrefix:
parser:resolveExternalEntityName:systemID:
parser:parseErrorOccurred:
parser:validationErrorOccurred:
parser:foundCharacters:
parser:foundIgnorableWhitespace:
parser:foundProcessingInstructionWithTarget:data:
parser:foundComment:
parser:foundCDATA:
HandlingtheDTD
parser:foundAttributeDeclarationWithName:forElement:type:defaultValue:
parser:foundElementDeclarationWithName:model:
m
parser:foundExternalEntityDeclarationWithName:publicID:systemID:
parser:foundInternalEntityDeclarationWithName:value:
parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:
parser:foundNotationDeclarationWithName:publicID:systemID:
.co
7.NSURLConnection
ConnectionAuthentication
connection:willSendRequestForAuthenticationChallenge:
connection:canAuthenticateAgainstProtectionSpace:
connection:didCancelAuthenticationChallenge:
connection:didReceiveAuthenticationChallenge:
connectionShouldUseCredentialStorage:
ConnectionCompletion
connection:didFailWithError:
MethodGroup
connection:needNewBodyStream
m
ar
connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:required
method
connection:didReceiveData:requiredmethod
connection:didReceiveResponse:requiredmethod
connection:willCacheResponse:requiredmethod
connection:willSendRequest:redirectResponse:requiredmethod
er
connectionDidFinishLoading:requiredmethod
re
Ca