Programmatic search in iOS

Code Sample: @interface MyViewController @property (strong, nonatomic) NSArray *venues; @property (strong, nonatomic) NSArray *searchResults; @end - (void)loadView { [super loadView]; UISearchBar *searchBar = [[UISearchBar alloc]init]; self. »

Placeholder in UITextView

Here's an implementation of an override for UITextView that includes a placeholder. It's pretty straight forward. We add an NSNotificaitonCenter observer for the UITextViewTextDidChangeNotification event. This »

Programmatic navigation with iOS

Navigation Controller Stack For programmatic navigation using the Navigation Controller methods below, you must be using a NavigationController. You can start a navigation stack by building »