<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/ios</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 23:16:15 GMT</pubDate>
<item>
<title>(JavaScript) Detect iOS devices and redirect - vaughanj</title>
<link>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</link>
<description><![CDATA[ <p>Detect if iPad / iPhone / iPod via the user agent and redirect to another page.</p> ]]></description>
<pubDate>Sat, 06 Apr 2013 01:01:17 GMT</pubDate>
<guid>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</guid>
</item>
<item>
<title>(jQuery) Javascript touch events from click - bitsculptor</title>
<link>http://snipplr.com/view/70525/javascript-touch-events-from-click/</link>
<description><![CDATA[ <p>Add the init() function to your document.ready call. This allows touch events to be handled like click events.</p> ]]></description>
<pubDate>Sat, 23 Mar 2013 05:42:58 GMT</pubDate>
<guid>http://snipplr.com/view/70525/javascript-touch-events-from-click/</guid>
</item>
<item>
<title>(HTML) iOS Meta-Tag um das skalieren des Contents zu sperren! - dejot</title>
<link>http://snipplr.com/view/68721/ios-metatag-um-das-skalieren-des-contents-zu-sperren/</link>
<description><![CDATA[ <p>iOS Meta-Tag um das skalieren des Contents zu sperren!</p> ]]></description>
<pubDate>Fri, 23 Nov 2012 04:44:41 GMT</pubDate>
<guid>http://snipplr.com/view/68721/ios-metatag-um-das-skalieren-des-contents-zu-sperren/</guid>
</item>
<item>
<title>(Objective C) pass variable from web site to iOS app - code4mac</title>
<link>http://snipplr.com/view/68639/pass-variable-from-web-site-to-ios-app/</link>
<description><![CDATA[ <p>pass a variable from  web site (in php, in this case) to iOS app.</p> ]]></description>
<pubDate>Mon, 19 Nov 2012 04:11:47 GMT</pubDate>
<guid>http://snipplr.com/view/68639/pass-variable-from-web-site-to-ios-app/</guid>
</item>
<item>
<title>(Objective C) Alloc Method to Choose Between Regular and Phone - yar</title>
<link>http://snipplr.com/view/66823/alloc-method-to-choose-between-regular-and-phone/</link>
<description><![CDATA[ <p>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."</p> ]]></description>
<pubDate>Tue, 21 Aug 2012 04:34:31 GMT</pubDate>
<guid>http://snipplr.com/view/66823/alloc-method-to-choose-between-regular-and-phone/</guid>
</item>
<item>
<title>(Objective C) Categories - zopebie</title>
<link>http://snipplr.com/view/66714/categories/</link>
<description><![CDATA[ <p>A category in Objective-C allows you to add methods to an existing class without the need to subclass it. You can also use a category to override the implementation of an existing class.</p> ]]></description>
<pubDate>Tue, 14 Aug 2012 05:23:07 GMT</pubDate>
<guid>http://snipplr.com/view/66714/categories/</guid>
</item>
<item>
<title>(Objective C) Create a UIButton programatically - zopebie</title>
<link>http://snipplr.com/view/66630/create-a-uibutton-programatically/</link>
<description><![CDATA[ <p>Create a UIButton programatically</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 04:47:39 GMT</pubDate>
<guid>http://snipplr.com/view/66630/create-a-uibutton-programatically/</guid>
</item>
<item>
<title>(Objective C) Picking a choice from a group or set of values using UISegmentedControl - zopebie</title>
<link>http://snipplr.com/view/66627/picking-a-choice-from-a-group-or-set-of-values-using-uisegmentedcontrol/</link>
<description><![CDATA[ <p>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 deselect the others in the control (much as a radio button does in HTML). You can alter this behavior by setting the "momentary" property.</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 04:18:55 GMT</pubDate>
<guid>http://snipplr.com/view/66627/picking-a-choice-from-a-group-or-set-of-values-using-uisegmentedcontrol/</guid>
</item>
<item>
<title>(Objective C) Progress and Activity Indicators - zopebie</title>
<link>http://snipplr.com/view/66624/progress-and-activity-indicators/</link>
<description><![CDATA[ <p>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 performed and how much still has to run. If you are unable to determine the duration of the task, use a “busy” indicator (such as the beach ball or hourglass on OS X).

iOS provides classes for showing both progress and activity.</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 03:02:56 GMT</pubDate>
<guid>http://snipplr.com/view/66624/progress-and-activity-indicators/</guid>
</item>
<item>
<title>(Objective C) Creating UILabel programmatically - zopebie</title>
<link>http://snipplr.com/view/66621/creating-uilabel-programmatically/</link>
<description><![CDATA[ <p>Reference: http://iosfonts.com/</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 02:39:01 GMT</pubDate>
<guid>http://snipplr.com/view/66621/creating-uilabel-programmatically/</guid>
</item>
<item>
<title>(Objective C) Scrolling, Panning, Zooming with UIScrollView - zopebie</title>
<link>http://snipplr.com/view/66620/scrolling-panning-zooming-with-uiscrollview/</link>
<description><![CDATA[ <p>A sample code to show the scrolling, panning and zooming with UIScrollView</p> ]]></description>
<pubDate>Fri, 10 Aug 2012 02:31:58 GMT</pubDate>
<guid>http://snipplr.com/view/66620/scrolling-panning-zooming-with-uiscrollview/</guid>
</item>
<item>
<title>(HTML) iOS and Android Touch Icon Rules - luizlopes</title>
<link>http://snipplr.com/view/63364/ios-and-android-touch-icon-rules/</link>
<description><![CDATA[ <p>HTML Snippet for apple-touch-icon for all of the different iOS devices, and Android 2.0 supported Icon.</p> ]]></description>
<pubDate>Thu, 16 Feb 2012 07:08:23 GMT</pubDate>
<guid>http://snipplr.com/view/63364/ios-and-android-touch-icon-rules/</guid>
</item>
<item>
<title>(Objective C) iOS / iPhone: Extract groups from a Regular Expression (NSRegularExpression) - BenClayton</title>
<link>http://snipplr.com/view/63340/ios--iphone-extract-groups-from-a-regular-expression-nsregularexpression/</link>
<description><![CDATA[ <p>Extract groups from a Regular Expression</p> ]]></description>
<pubDate>Wed, 15 Feb 2012 04:34:25 GMT</pubDate>
<guid>http://snipplr.com/view/63340/ios--iphone-extract-groups-from-a-regular-expression-nsregularexpression/</guid>
</item>
<item>
<title>(Objective C) Force NSLocalizedString to use a specific language - kajinka13</title>
<link>http://snipplr.com/view/63040/force-nslocalizedstring-to-use-a-specific-language/</link>
<description><![CDATA[ <p>Force NSLocalizedString to use a specific language</p> ]]></description>
<pubDate>Sat, 04 Feb 2012 00:55:52 GMT</pubDate>
<guid>http://snipplr.com/view/63040/force-nslocalizedstring-to-use-a-specific-language/</guid>
</item>
<item>
<title>(Objective C) Mantenere in background (musica, location) - kajinka13</title>
<link>http://snipplr.com/view/63003/mantenere-in-background-musica-location/</link>
<description><![CDATA[ <p>Mantenere in background (musica, location)</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 19:27:38 GMT</pubDate>
<guid>http://snipplr.com/view/63003/mantenere-in-background-musica-location/</guid>
</item>
<item>
<title>(HTML) iOS Safari web clip icons. Home screen - beneberle</title>
<link>http://snipplr.com/view/62337/ios-safari-web-clip-icons-home-screen/</link>
<description><![CDATA[ <p>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  in the same place you call your normal browser favicons.</p> ]]></description>
<pubDate>Fri, 06 Jan 2012 06:19:18 GMT</pubDate>
<guid>http://snipplr.com/view/62337/ios-safari-web-clip-icons-home-screen/</guid>
</item>
<item>
<title>(jQuery) iPad/iPhone Orientation Body Class - iridium</title>
<link>http://snipplr.com/view/61898/ipadiphone-orientation-body-class/</link>
<description><![CDATA[ <p>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 body tag, simply alter the code to use jQuery's addClass() and removeClass() functions.</p> ]]></description>
<pubDate>Thu, 15 Dec 2011 03:33:05 GMT</pubDate>
<guid>http://snipplr.com/view/61898/ipadiphone-orientation-body-class/</guid>
</item>
<item>
<title>(iPhone) New iOS 5 API: Customize UINavigationBar Background Property with EASY function!!! - codeRefiner</title>
<link>http://snipplr.com/view/61401/new-ios-5-api-customize-uinavigationbar-background-property-with-easy-function/</link>
<description><![CDATA[ <p>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 dropping them from the desktop or another directory. 

If need be check the Copy Group Destination files in folder line to add the two image files to your project. 

Make sure you replace the two lines that create the UIImages with your image names


Copy And paste the function into your app delegate right above applicationDidFinishLaunchingWithOptions: 

then simply call 

[self customizeAppearance]; inside your app delegate and...

voila, enjoy :)</p> ]]></description>
<pubDate>Thu, 01 Dec 2011 12:28:55 GMT</pubDate>
<guid>http://snipplr.com/view/61401/new-ios-5-api-customize-uinavigationbar-background-property-with-easy-function/</guid>
</item>
<item>
<title>(Objective C) Objective C iOS simple image Carousel Class - jurajhilje</title>
<link>http://snipplr.com/view/60971/objective-c-ios-simple-image-carousel-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Nov 2011 19:20:45 GMT</pubDate>
<guid>http://snipplr.com/view/60971/objective-c-ios-simple-image-carousel-class/</guid>
</item>
<item>
<title>(Other) Shell Script for packaging AIR applications for iOS - weidel</title>
<link>http://snipplr.com/view/60950/shell-script-for-packaging-air-applications-for-ios/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Nov 2011 06:07:53 GMT</pubDate>
<guid>http://snipplr.com/view/60950/shell-script-for-packaging-air-applications-for-ios/</guid>
</item>
</channel>
</rss>