1. Continuing from where we left off from the
Hello foursquare
example, we add aUISearchBar
to our second View controller in the Interface Builder.2. In the
Hello_foursquareSecondViewController.h
file, we define a variable of the typeUISearchBar
in the class declarationUISearchBar *venuesSearchBar
;, and expose it as a property.@property(retain,nonatomic) IBOutlet UISearchBar *venuesSearchBar;
3. Connect the
venuesSearchBar
outlet to the Search bar in the Interface builder by Control+dragging the mouse pointer from the second View controller to the Search bar.4. Connect the Search bar to the delegate (UISearchBarDelegate), by Control+dragging the mouse pointer from the Search bar to the second View controller delegate.
5. Add the
UISearchBarDelegate
delegate to theHello_foursquareSecondViewController.h
class. We also declare a Boolean variable...
iPhone Location Aware Apps by Example - Beginner's Guide
By :
iPhone Location Aware Apps by Example - Beginner's Guide
By:
Overview of this book
<p>From weather apps which give you a forecast based on your current location to fitness apps which track your speed and distance travelled. From Google Maps to Foursquare. Increasing mobility and social networking has made location awareness an integral aspect of modern iPhone applications. <br /><br />This book will teach you everything you need to know about building iPhone location aware apps, from simple Google maps to complex region monitoring and augmented reality. Build five real world location aware apps and get a taste of HTML5-based mobile app development.<br /><br />The book begins by explaining behind-the-scenes working of location-based systems, including GPS. Explore in depth iOS Core Location and the MapKit Framework, using examples depicting each capability of the respective frameworks. Having learnt about location and maps, you will build five location-based apps using the APIs and SDKs publicly available. The book has everything for a beginner as well as advanced users, with chapters devoted to advanced topics such as push notifications, geo fencing and augmented reality.</p>
Table of Contents (17 chapters)
iPhone Location Aware Apps by Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
The Location-based World
The Xcoder's World
Using Location in your iOS Apps — Core Location
Using Maps in your iOS apps MapKit
Weather App WeatherPackt
Events App — PacktEvents
Advanced Topics
Local Search PacktLocal
Location Aware News — PacktNews
Social Governance — TweetGovern
Pop-Quiz Answers
Customer Reviews