Objective-C
@objectivec_
Beginners tidbits on Objective-C (mostly from Big Nerd Ranch & other resources)
Vous pourriez aimer
Foundation vs Core Foundation. E.g.: NSArray vs CFArrayRef Foundation: Objective-C Core Foundation: C
device orientation : as name suggests is the orientation of the physical device. interface orientation: is the property of running app.
There are 2 distinct orientations in iOS, 1. device orientation 2. interface orientation
UILongPressGestureRecognizer: a touch must be held 0.5 seconds (default value) to become a long press. You can override this.
UINavigationItem has 3 customizable areas 1. leftBarButtonItem (a UIBarButtonItem) 2. rightBarButtonItem(a UIBarButtonItem) 3. titleView
UINavigationItem has 3 customizable areas 1. leftBarButtonItem 2. rightBarButtonItem 3. titleView
UIViewController sets the UINavigationItem. UINavigationController's UINavigationBar uses the UINavigationItem to show the title.
UINavigationItem is not a subclass of UIView, so it cannot appear on the screen by itself.
UIViewController has a navigationItem property of type UINavigationItem.
UITableViewCell's contentView has 3 subviews. 1. UILabel textLabel 2. UILabel detailTextLabel 3. UIImageView imageView
Each row in a UITableView view is a UITableViewCell view. And UITableViewCell has a subview called contentView.
when UITableViewController create its view, the dataSource, delegate ivars of the UITableView are automatically set to UITableViewController
UITableViewController is a subclass of UIViewController, so a UITableViewController has a view, which is instance of UITableView.
UITableViewController is subclass of UIViewController UITableViewController : UIViewController<UITableViewDelegate, UITableViewDataSource>
Instance of UITableViewController can fill all 3 roles: 1. view controller 2. data source 3. delegate
UITableView needs a 1. view controller 2. data source 3. delegate
United States Tendances
- 1. Cuomo 106K posts
 - 2. Walt Weiss 2,460 posts
 - 3. #OlandriaxCFDAAwards 2,834 posts
 - 4. Caleb Wilson N/A
 - 5. Braves 11.4K posts
 - 6. Harvey Weinstein 6,874 posts
 - 7. Cardinals 14.5K posts
 - 8. Snit N/A
 - 9. Diane Ladd 5,992 posts
 - 10. Teen Vogue 3,443 posts
 - 11. Hamburger Helper 2,502 posts
 - 12. Schwab 5,075 posts
 - 13. Monday Night Football 6,596 posts
 - 14. #warmertogether N/A
 - 15. Ben Shapiro 36.9K posts
 - 16. $PLTR 19.6K posts
 - 17. McBride 4,131 posts
 - 18. Gold's Gym 62K posts
 - 19. Michael Burry 2,241 posts
 - 20. #sjubb N/A
 
Something went wrong.
Something went wrong.