Login / Register


Share Snipplr


Welcome To Snipplr


Everyone's Recent iPhone Snippets



« Prev 1 Next »
  1. FAV

    Example of iOS Phone Sample SMS Code - Messaging API

    The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
    iPhone 8 views posted 2 years ago by Broadnet
  2. FAV

    Example of iOS Phone Sample SMS Code - Messaging API

    The following example of iOS Phone sample SMS code employs user-friendly object, with a basis on the HTTP API.
    iPhone 4 views posted 2 years ago by Broadnet
  3. FAV

    Swift: Load a Wav sound using AVFoundation

    I sometimes need to dynamically load a .wav file. Here's how I do it using AVFoundation
    iPhone 5 views posted 3 years ago by chrisaiv
  4. FAV

    fetch drop down values from API using ionic

    Cross platform development is usually an interesting puzzle to solve. Developers will have to concentrate on meeting the requirement and also focus on getting it done for multiple platforms. We would like to showcase a small html and control file tha...
    iPhone 9 views posted 4 years ago by w2ssolutions
  5. FAV

    simple ios url request

    Simple synchronous web request for ios. // Credit to the original authors: // Sam Walton // Ethan Irish // www.seven-labs.com // Be kind & share :)
    iPhone 7 views posted 7 years ago by ryantxr
  6. FAV

    New iOS 5 API: Customize UINavigationBar Background Property with EASY function!!!

    Here is a nice function you can use to implement a custom background for your UINavigation Bars Simply make two images in photoshop: 32 x 32 44 x 44 and name them whatever you want. put them in your iPhone project by dragging and dro...
    iPhone saved by 4 people 18 views posted 8 years ago by codeRefiner
  7. FAV

    A note about init methods

    Here is a breakdown of creating a custom initializer and or general rules of init
    iPhone 10 views posted 8 years ago by codeRefiner
  8. FAV

    Easy function to get the path to the documents directory for data persistance

    Here is a simple function that will return the path to the documents directory so you can store data in it later
    iPhone saved by 4 people 8 views posted 8 years ago by codeRefiner
  9. FAV

    Retrieve all Playlists iOS SDK

    First you need to create an MPMediaQuery using the playListsQuery. Then, you loop through each playlist and retrieve the valueForProperty.
    iPhone 6 views posted 8 years ago by nd6
  10. FAV

    Pixel perfect collision detection

    iPhone saved by 1 person 8 views posted 8 years ago by shalomfriss
  11. FAV

    IOS CorePlot Dock Vertical Axis

    Begin by making the class a CPPlotSpaceDelegate.
    iPhone 3 views posted 8 years ago by bethjt1220
  12. FAV

    IOS CorePlot Disable Vertical Scrolling

    iPhone 3 views posted 8 years ago by bethjt1220
  13. FAV

    IOS Get Current Weekday with NSDate

    iPhone 9 views posted 8 years ago by bethjt1220
  14. FAV

    IOS UITableView Check One Cell

    Only allows one table view cell to be checked.
    iPhone 0 views posted 8 years ago by bethjt1220
  15. FAV

    IOS Round the corners of a UITextView

    iPhone 5 views posted 8 years ago by bethjt1220
  16. FAV

    Landscape Orientation Transform

    In viewDidLoad
    iPhone 3 views posted 8 years ago by bethjt1220
  17. FAV

    Remove Keyboard

    background tap - background should have type UIControl and method should be connected to the "touch down" action textView - doesn't need to be connected to an action, but delegate needs to be connected to something that is a UITextViewDelegate text...
    iPhone saved by 1 person 3 views posted 8 years ago by bethjt1220
  18. FAV

    IOS TableViews in Navigation Controller

    Pulls data from a plist set up as a dictionary of arrays of strings. Creates multi-level TableView that can be nested inside a navigation controller. Snippet shows key methods for 2 nested levels. 2 levels --> 2 classes (both of which extend UIT...
    iPhone 10 views posted 9 years ago by bethjt1220
  19. FAV

    Detect back button touch on UINavigationController

    Code taken from comment by 'William Jockusch' in the URL.
    iPhone saved by 1 person 10 views posted 9 years ago by yannxou
  20. FAV

    Viewport for iPhone website

    iPhone 5 views posted 9 years ago by eisabai
  21. FAV

    UITableView delegates

    iPhone saved by 1 person 6 views posted 9 years ago by shimdh
  22. FAV

    在程序的ICON上显示数字

    iPhone 2 views posted 9 years ago by iswear_wxp
  23. FAV

    Start Safari from your code

    iPhone saved by 3 people 1 views posted 9 years ago by funkypanda
  24. FAV

    iPhone Debugging Alert Window

    iPhone saved by 2 people 3 views posted 10 years ago by unravelme1
  25. FAV

    Set a custom Section Header in a TableView on iPhone

    This sinpet is extracted from a post of "Undefined Value", Kris Johnson's Blog.
    iPhone saved by 2 people 6 views posted 10 years ago by funkypanda
  26. FAV

    Using the Retro Avatar API in iPhone

    How to dwonload and use a Retro Avatar image in a iPhone App. In this example: uid is a Facebook user id, optionally you can use any string, a name, a md5 hash of a email address and it is assumed you have an image view with tag id 1 you want to set...
    iPhone saved by 1 person 5 views posted 10 years ago by ollie
« Prev 1 Next »