background preloader

Place App

Facebook Twitter

Google Latitude API

Native iOS Map Kit vs. Google Map SDK. How to Create a Slide-Out Navigation Panel - Ray Wenderlich. Slide to the right! This tutorial will show you how to build a slide-out navigation mechanism similar to the ones available in the Facebook and Path iOS apps. The slide-out design pattern lets developers add permanent navigation to their apps without taking up valuable screen real estate. The user can choose to reveal the navigation at any time, while still seeing their current context. These days, there are many pre-built solutions out there you can use, such as John-Lluch’s excellent SWRevealViewController.

If you’re looking for the quickest and easiest way, using that library might be a good way to go. However, if you’re a DIY kind of programmer (like me), you might want to understand how you can implement this yourself. In this tutorial, you’ll see that it’s really not as complicated as you might think. So sit back, grab a Mac, and get ready to learn how to do the Slide-Out, complete with hand gestures! Getting Started So what exactly is this slide-out feature you’ll be creating? John-Lluch/SWRevealViewController. IIViewDeckController for iOS. This class largely implements the sliding views found in the Path 2.0 and Facebook apps. The ViewDeckController supports sideview in all directions (left, right, top, bottom), in any combination: you can leave any of them nil for example.

You can pan the center view to the side to reveal any side view. Provides a delegate to control panning, opening and closing side views. There's also a bunch of messages defined to open or close each side appropriately. Integrates nicely with UINavigationController. GitHub Last commit: 10 months ago Stars: 3825 Forks: 801 CocoaPods Requires ARC. MFMessageComposeViewController Class Reference. Overview The MFMessageComposeViewController class provides a standard system user interface for composing text messages. Use this class to configure the initial recipients and body of the message, if desired, and to configure a delegate object to respond to the final result of the user’s action—whether they chose to cancel or send the message.

After configuring initial values, present the view controller modally using the presentModalViewController:animated: method. When done, dismiss it using the dismissModalViewControllerAnimated: method. Before presenting a message composition view, call the canSendText class method to ensure that the user’s device is appropriately configured. You can register to be notified of changes to the availability of message sending by way of the MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification notification.

Properties attachments Returns an array of dictionaries that each describe the properties of an attachment. Availability Declared In. Ios - How to programmatically send SMS on the iPhone. Iphone - UIScrollView with pagination + showing part of the previous/following pages.