Welcome To Snipplr


Everyone's Recent Snippets Tagged ios



« Prev 1 2 3
  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

    Simple GET Request

    A simple GET request using Swift
    Objective C 7 views posted 4 years ago by chrisaiv
  4. FAV

    Display date as Today, Tomorrow, 2 Days ago etc

    This snippet is used to covert any date to days like today, tomorrow, 2 days ago, 2 weeks ago or even 1 years ago.
    Objective C 5 views posted 4 years ago by dipenpatel
  5. FAV

    Get Documents directory path in Swift

    Get Documents directory path in Swift
    Other 7 views posted 4 years ago by ryantxr
  6. FAV

    Creating a Mobile App with PhoneGap and Webix

    This step-by-step tutorial describes how to build an HTML5-based mobile web app by means of Webix library (open source, GPL) and PhoneGap framework. As a result you’ll get an awesome native app for Android devices with rich UI and high performance.
    JavaScript 9 views posted 5 years ago by kengajunior
  7. FAV

    Set iPhone Bookmark Icon

    Place this in your <head> section, and set the href attribute to an image to a 57px x 57px PNG file.
    HTML 4 views posted 5 years ago by ajarkovsky
  8. FAV

    Refresh UIAppearance after application loaded

    This snippet shows you how to reload the UIAppearance of an application after changes made on the proxies. This is required because iOS nativaly only load appearance proxies on "applicationDidFinishLaunching".
    Objective C 5 views posted 5 years ago by Nibli
  9. FAV

    Titanium Mobile: Circular Progress Bar

    - I have not tested on android - This is not animated as I did not need it for my needs. To make it animated, look at the second to last line in the function `layer3.transform = Ti.UI.create2DMatrix().rotate(angle);` You should be able to animate th...
    JavaScript 3 views posted 6 years ago by rondog
  10. FAV

    Execute a block after some delay

    enqueue a block at a certain time
    Objective C 10 views posted 6 years ago by yannxou
  11. FAV

    Label with Owner Text

    Insert our text in IOS UIView with UILabel on screen
    Objective C 6 views posted 6 years ago by ferlom
  12. FAV

    Set Intervals for sliders

    Call this method to set the intervals for a UISlider in Monotouch. You can remove the textbox parameter if you don't have them linked to sliders.
    C# 2 views posted 6 years ago by negzero7
  13. FAV

    Objective-C String Concatenation

    This is all about appending strings.
    Objective C 11 views posted 6 years ago by ryantxr
  14. FAV

    iOS orientation change zoom bug fix

    This is a simple fix for the iOS zoom bug that happens when changing screen orientations.
    JavaScript 3 views posted 6 years ago by bitsculptor
  15. FAV

    Javascript touch events from click

    Add the init() function to your document.ready call. This allows touch events to be handled like click events.
    jQuery 7 views posted 6 years ago by bitsculptor
  16. FAV

    iOS Meta-Tag um das skalieren des Contents zu sperren!

    iOS Meta-Tag um das skalieren des Contents zu sperren!
    HTML 2 views posted 7 years ago by dejot
  17. FAV

    pass variable from web site to iOS app

    pass a variable from web site (in php, in this case) to iOS app.
    Objective C 10 views posted 7 years ago by code4mac
  18. FAV

    Alloc Method to Choose Between Regular and Phone

    This method will alloc the current class unless the device is a phone (also defined here). Then it will try to alloc the class with the suffix "Phone."
    Objective C 5 views posted 7 years ago by yar
  19. FAV

    Create a UIButton programatically

    Create a UIButton programatically
    Objective C saved by 1 person 9 views posted 7 years ago by zopebie
  20. FAV

    Picking a choice from a group or set of values using UISegmentedControl

    The UISegmentedControl consists of a horizontal control divided into segments. Segmented controls are useful for allowing users to pick from a group or set of values. Each segment functions as its own button. By default, selecting a segment will d...
    Objective C saved by 1 person 4 views posted 7 years ago by zopebie
  21. FAV

    Progress and Activity Indicators

    When performing tasks that may take some time, you often need to provide some kind of visual feedback to your users. If you know how long the task will take to complete, you can use a progress indicator to show the user how much of the task has been...
    Objective C saved by 1 person 3 views posted 7 years ago by zopebie
  22. FAV

    Creating UILabel programmatically

    Reference: http://iosfonts.com/
    Objective C saved by 1 person 7 views posted 7 years ago by zopebie
  23. FAV

    Scrolling, Panning, Zooming with UIScrollView

    A sample code to show the scrolling, panning and zooming with UIScrollView
    Objective C saved by 1 person 7 views posted 7 years ago by zopebie
  24. FAV

    iOS and Android Touch Icon Rules

    HTML Snippet for apple-touch-icon for all of the different iOS devices, and Android 2.0 supported Icon.
    HTML 9 views posted 8 years ago by luizlopes
  25. FAV

    iOS / iPhone: Extract groups from a Regular Expression (NSRegularExpression)

    Extract groups from a Regular Expression
    Objective C 5 views posted 8 years ago by BenClayton
  26. FAV

    Force NSLocalizedString to use a specific language

    Force NSLocalizedString to use a specific language
    Objective C saved by 2 people 7 views posted 8 years ago by kajinka13
  27. FAV

    Mantenere in background (musica, location)

    Mantenere in background (musica, location)
    Objective C 5 views posted 8 years ago by kajinka13
  28. FAV

    iOS Safari web clip icons. Home screen

    Create custom web clip icons or "app logos" in various sizes to be displayed (instead of the default site snapshot) when users save your site to their Home screens. Across Safari iOS devices. Add in the <head> in the same place you call your norm...
    HTML 4 views posted 8 years ago by beneberle
  29. FAV

    iPad/iPhone Orientation Body Class

    This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS. If you require multiple classes on your bo...
    jQuery saved by 15 people 7 views posted 8 years ago by iridium
  30. 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 2 people 18 views posted 8 years ago by codeRefiner
« Prev 1 2 3