您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 招聘面试 > 关于IOS面试题总结
201525OC-OC⾏行发感⽼老⾏行发感你空总了我⽼老只发感你(C++),发感开(),东回发感-Objective-C⽼老你:边Dynamictyping边Dynamicbinding边Dynamicloading也,天(runtime)-1已空来天⼰己⾏行已已你id已只已图只已已,已⼤大已天⼰己都-2空已⾼高⾏行已很⾏行⼤大候起-3空事在新⼈人iOS理Retina三道@2x题三道RetinaiPadRetinaMac你边回天⼼心头才动事⽇日花⼼心事,游花⼼心取回天已-OC信分条“样分”是样⾏行我不alloccopyretain起⾏行不release起⾏行为这0能全⾏行OC信分是iOS5.0OC上分是ARC(automaticreferencecounting)分是会分是retainreleaseautorelease我东你游ARC⾝身位releaseautorelease我strongweak度国strong经⻔门⾏行⻔门太,都⻔门信,两⾏行weak经⻔门⾏行⾏行都太都信weak经⻔门前⾝身nilARC分是-OC为这信分星条“样分”是对空ARC边信分MRC边信分-⾏行__strong已⻔门⾏行⻔门我nil⻔门nil我 1201525⾏行是我加⻔门nil空分加加__strong-加空⻔门⾝身nil-加空是加⾝身nil-样⾏行__autorelease-__weak-unsafe_unretainedassign-block他条__weak-⼤大newnew出⼤大国是get空@property(getter=theString)NSString*newString;-@autoreleasepool{}-ARC分Foundation回foundation是现CoreFoundation⽣生现分相-ARC回址ARC东⾼高已-fobjc-arc-ARC回址ARC东⾼高已-fno-fobjc-arcMVC-MVC法头对,M这头ModelVViewC是Controller-1Model信,,体这-2View这⽇日,⽇日体⽣生-3ControllerModelView都,ControllerModel这ViewControllerModelView,ViewControllerViewController对这,ModelController,notificationKVO对与,Model,Controller三⾝身量,这,ControllerModelView,MVC三为IOSIOSCoreDataSQLite-这信星以要么对空SQLiteCoreData 2201525-⼤大如⾏行如这信年住体-SQLiteCoreData这信年住体-plist以空NSStringNSArrayNSDictoryNSDatawriteToFile信变plistplist信7这已空arraydictorystringbooldatadatenumber-⾏行如空⾏行如如对度太能信是NSCoding空信plist这是这NSData信():是这已-SQLite3空性受这这-CoreData空我这SQLite这个要这对信这空XMLCoreDataAPICoreDataiOS于⻓长东以回CoreData这信部CoreData,CoreData要么这⼈人⼰己流,我要么这信⾏行上⾏行-能(object-relationalmapping)(,CoreDataObjective-c⾏行现这,个信SQL,个信这OC⾏行)-CoreData-1) CoreData分回这头每回 东以⼼心这-2) ⾏行这信SQLite这-3) 上NSFetchedResultsController已分这来CoreData要么信打这分空望-4) 分undo/redo体;-5) 年分⾏行⼤大太推-回回回回-回空事让回⼀一花回我⽉月能全事回⽼老让回⾼高这作天回能全事让-回空回真回CPU我回让天回能全事天 3201525事(回为这结信找)我⼤大回回回事-回东回关Apple上NSOperation已上超回东回NSOperationQueue体⽽而如回分回三⾝身回分天回这回第到回⼼心花iPhoneOS回问找1M回512KB把太东回API这回经UI-空花等们回-回空花Apple-三道 能全 题 这-iPhone-iPhone2GS IOS1 320*480 3.5 1x-iPhone3G IOS2 320*480 3.5 1x-iPhone3GS IOS3 320*480 3.5 1x-iPhone4 IOS4 320*480 3.5 2x-iPhone4s IOS5 320*480 3.5 2x-iPhone5 IOS6 320*568 4.0 2x-iPhone5s/c IOS7 320*568 4.0 2x-iPhone6 IOS8 375*667 4.7 2x-iPhone6plus IOS8 414*736 5.5 3x-IPodTouch-IPodTouch1G IOS1 320*480 3.5 1x-IPodTouch2G IOS2 320*480 3.5 1x-IPodTouch3G IOS3 320*480 3.5 1x-IPodTouch4G IOS4 320*480 3.5 2x 4201525-IPodTouch5G IOS6 320*568 4.0 2x-iPad-iPad IOS3 1024*768 9.7 1x-iPad2 IOS4 1024*768 9.7 1x-iPad3(NewiPad)IOS5 1024*768 9.7 2x-iPad4 IOS6 1024*768 9.7 2x-iPadAir IOS7 1024*768 9.7 2x-iPadAir2 IOS8 1024*768 9.7 2x-iPadmini-iPadmini IOS6 1024*768 7.9 1x-iPadmini2 IOS7 1024*768 7.9 2x-iPadmini3 IOS8 1024*768 7.9 2xHttpHttpGETPOSTHttps-Http有进做着⽇日正不⼜又候⼜又候同HTTP⼤大获⾏行HTTP已过空-HTTP过HTTP过⼩小边requestline边header这4-HTTP候过HTTP候⼩小空听起过候-GET空这这边这有进这边话是话是1024国-POST空这这更Get把这话是-1GET上⽣生这URL边这⾝身HTTPrequest-line?向URL有进这这&;空login.action?name=hyddd&password=idontknow&verify=%E4%BD%A0%E5%A5%BD这国/这国不现+/国前国BASE64安空%E4%BD%A0%E5%A5%BD常XXXX16是ASCII 5201525-POST上⽣生空上⽣生这⾝身HTTP好好request-body国觉有进这-GET上⽣生这打POST上⽣生-2有进这空没,HTTP有进这话是HTTP性URL话是信话是空GET:你⼏几再⼜又URL话是IEURL话是2083国(2K+35)⼏几再NetscapeFireFox说话是话是⼰己体能全真要GET上⽣生有进这URL话是POST:⼩小URL有太说这话多WEB⼜又性post上⽣生这话是ApacheIIS6多⾝身-3空POSTGET中空GET上“”快“”取错错这经取Security取空GET上⽣生这⽇日安⼼心URL(1)之⼏几再信(2)年⼏几再间世安⼼心-Https空Https边SecureHypertextTransferProtocol有进我我HTTP着⽇日为时⼜又⽣生现我国获边SSl⽣生现我HTTP的NSUserDefaults-NSUserDefaults空能全上信这对个信这等们信LibraryPreferences内-1能全已⼤大已国会能全已到-2从已:空+(NSIndexPath*)indexPathForRow:(NSInteger)rowinSection:(NSInteger)section⼤大NSIndexPath会能你安已对UITableView.h-3带⾼高带-已已⼤大property以setter过-1NSThread空体体回回最空回这NSLock回最才@synchronized边self{} 6201525-2NSOperationQueue边回最东⼼心main1NSInvocationOperationBSBlockOperation2Operation-样体体体⽽而如体花体体⽽而如等们main-3GCDGrandCentralDispatch合⽽而如⽽而如员回⽽而如-最⼊入最空最⼊入最果下⼜又感最下⼜又花⼊入最分花-空下⼜又感下⼜又花下⼜又-⼼心回花回⽽而如UISDWebImage-已空信边国理边回回边回回信信员信信信objective-C-这这可这-题⼯工题能全⽽而如题⼯工题⽽而如样-着⽇日正会⼜又这有着⽇日正⼜又不⼜又着⽇日正候2G3GAPI-没当已typedefenum{-NETWORK_TYPE_NONE=0-NETWORK_TYPE_WIFI=1-NETWORK_TYPE_3G=2 7201525-NETWORK_TYPE_2G=3-}NETWORK_TYPE;-已觉-+(int)dataNetworkTypeFromStatusBar{-UIApplication*app=[UIApplicationsharedApplication];-NSArray*subviews=[[[appvalueForKey:@statusBar]valueForKey:@foregroundView]subviews];-NSNumber*dataNetworkItemView=nil;-for(idsubviewinsubviews){-if([subviewisKindOfClass:[NSClassFromString(@UIStatusBarDataNetworkItemView)class]]){-dataNetworkItemView=subview;-break;-}-}-intnetType=NETWORK_TYPE_NONE;-NSNumber*num=[dataNetworkItemViewvalueForKey:@“dataNetworkType];-if(num==nil){-netType=NETWORK_TYPE_NONE;-}else{-
本文标题:关于IOS面试题总结
链接地址:https://www.777doc.com/doc-4614900 .html