iOS??ó????????????????(??)
???????????? ???????[ 2013/5/10 10:36:51 ] ????????
????11) ???????
???????????
??????iOS??????????????ж????????????????????????????????????????CALayer?? CoreGraphics?? ??????OpenGL??????????????????
???????????Щ?????????????????????????????????????????????????????????£?????iOS????ε??????????Andy Matuschak(???????????UIKitС??????)????????μ??????У????????????????????????з????????????
????????????????????????????????iOS?в??????????????????????????κ????????л???(?????????????!)??????????????????????????е????????????bundle?У???????????????С??????????????????????????ó???????????“???”??????——iOS??????????á???????????????(???簴?)??????????????????
?????????????????????????????????????????????????????????????????????????????????????????????????С???????????????????????????????????????????????????????????????????????(??????????????)??????????????м???????????????????????bundle???С??
???????????????????????????????????????????????????С??????????????????????????????У???????????????
????12) ??????澯??
?????????????????iOS?????????????е???????????????н???????δ??????澯?棺
????If your app receives this warning?? it must free up as much memory as possible. The best way to do this is to remove strong references to caches?? image objects?? and other data objects that can be recreated later.
???????????????????澯?棬??????б??????????檔?????????????????漰??????棬???????????????????????????????????′????????????
????UIKit??????????????????????????(low-memory)???棺
???????app delegate?е?applicationDidReceiveMemoryWarning: ??????
??????UIViewController????????д(Override)didReceiveMemoryWarning??????
???????????????????UIApplicationDidReceiveMemoryWarningNotificatio????
???????????????????????????????????κβ????????檔
???????磬UIViewController????????????????????????view;??UIViewController???????У?????????Щ???????????????в???????????????е????????release???
?????????????澯??????????????????????????????????е?????п??????????
?????????????????????????£??????????????????????????????????????????????????????iOS??????е??????澯?湦????????в???!
13) ??????????????
??????Щ??????????????——????NSDateFormatter??NSCalendar??????????????????????Щ?????????????JSON/XML?е????????
???????????Щ?????????????????????????????????????????Щ????——??????????????????????????????????
????????????t????????????????????????е????????????????????
????????????????????????????????????????????ε???????????????????μ??????????????????????????????????????????
????// in your .h or inside a class extension@property (nonatomic?? strong) NSDateFormatter *formatter; // inside the implementation (.m)// When you need?? just use self.formatter- (NSDateFormatter *)formatter { if (! _formatter) { _formatter = [[NSDateFormatter alloc] init]; _formatter.dateFormat = @"EEE MMM dd HH:mm:ss Z yyyy"; // twitter date format } return _formatter;}
??????????????????????????NSDateFormatter?????????????????????μ????NSDateFormatter?????????????!??????????????????????????????????????NSDateFormatter????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11