??????iOS 6???????????????header??footer views?????UICollectionView??cell??supplementary views??

??????????reuseIdentifiers????table view????????μ?cell???????????е?????????????

????static NSString *CellIdentifier = @"Cell";UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

???????table view?????UITableViewCell???л??б????п????cell???????д???????????????cell???????е????????????nib????????д???????μ?cell???????п????????cell????????????nib???????tableview??dequeueReusableCellWithIdentifier:???????????nil??

????3) ???????View??????????(Opaque)

??????????view?????Opaque

???????view??????????????y???opaque?????????YES??

?????????????????????????????????????????????view??opaque?????????Interface Builder??????????á?

????????????????opaque??????????????

????This property provides a hint to the drawing system as to how it should treat the view. If set to YES?? the drawing system treats the view as fully opaque?? which allows the drawing system to optimize some drawing operations and improve performance. If set to NO?? the drawing system composites the view normally with other content. The default value of this property is YES.

????(opaque???????????????δ???view?????opaque?????YES?????????view??????????????????????????????Щ??????????????????????????NO???????????????????????????view?????????£??????????YES??)

???????????????????????opaque???????????????????????????????view?????scroll view?е???????????????????????????????????????????????????????!

??????????????????DebugColor Blended Layers?????????Щview???????????????????????????????????view??????????!

????4) ????????XIBs

????????????XIBs

??????iOS 5?п?????Storyboards??????????XIBs??????????Щ?????XIBs??????á??????????????????????iOS 5???汾???豸???????????????????view????????????????XIBs???

???????????????XIBs???????????XIBs??????????????view controller???????XIB?????????????????????view controller??view??????ε?????????XIBs????С?

??????????????XIB??????????????XIB????е???????????????????????У?????????????????view??????????????????????????????????storyboard???????????????storyboard?????????????????????view controller??

??????????XIB????????漰???????????????棬??????????????????????OS X?????????????????????????????????????

????When you load a nib file that contains references to image or sound resources?? the nib-loading code reads the actual image or sound file into memory and and caches it. In OS X?? image and sound resources are stored in named caches so that you can access them later if needed. In iOS?? only image resources are stored in named caches. To access images?? you use the imageNamed: method of NSImage or UIImage?? depending on your platform.

????(?????????nib?????????nib????漰????????????????????????У?nib-loading?????????????????????????????У??????????????OS X?У???????????????洢???????????У????????????????????????????з??????iOS?У????????????洢???????????С????????????????NSImage??UIImage(??????????)??imageNamed:???????ɡ?)

??????????????storyboard?????????????????;?????????????????????κ?????????????????????????????!

?????????storyboard?????????????????Matthijs Hollemansд??iOS 5?У?????Storyboard Part 1??Part2??

????5) ????????????

????????????????

?????????????????????????????????UIKit??????????????н??У???????????????????????????

??????????????????????????????????????????????????????????????????????????????App Store??????????!