In my previous blog post comments Chris asked for some Source Code so I’ve put together a sample using the UISearchBar. The App has 2 View Controllers and 2 zibs. HomeScreen.cs | HomeScreen.xib SearchResults.cs | SearchResults.xib You can download the entire MonoDevelop Solution here: UISearchBarSample MonoDevelop Solution What Does It Do? UISearchBarSample accepts a zip code,… Continue reading Post UISearchBar Values to RESTful API from MonoTouch
Tag: UISearchBar
UISearchBar BackButton Adventures
In my previous post I wrote about persisting a UISearchBar value so it would be available when pushing the user a new View Controller to display the Search Results. My app has a simple SearchResults UIViewController where some UILabels are populated with various result attributes. Interestingly, the UILabel(s) and other controls maintain their original result… Continue reading UISearchBar BackButton Adventures
Passing UISearchBar Values To Another ViewController in MonoTouch
If you’re migrating your skills from web to mobile development it’s really easy to think in terms of passing user defined values from page to page when entering into a mobile environment. UIViewControllers aren’t web pages though, in the UIViewController world the ViewController is an object so no need to pass anything. Here’s a UISearchBar… Continue reading Passing UISearchBar Values To Another ViewController in MonoTouch
Dismiss the Keyboard When Clicking the UISearchBar Search Button in MonoTouch
Like me, if you’re new to MonoTouch and iOS and you’re coming from a long period in Visual Studio then things are different. If you’ve found this blog post then you know what I mean. If you’re implementing a simple search pattern where ViewController A contains UISearchBar and pushes to ViewController B to display search results… Continue reading Dismiss the Keyboard When Clicking the UISearchBar Search Button in MonoTouch