<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>iOS App Code</title><description></description><managingEditor>noreply@blogger.com (Nilesh Prajapati)</managingEditor><pubDate>Wed, 1 Jan 2025 00:42:41 +0530</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">78</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://iphoneappcode.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><copyright>Copyright@iphoneappcode.blogspot.com 2015</copyright><itunes:image href="http://faxsolutionsblog.opentext.com/wp-content/uploads/2012/05/Podcast.png"/><itunes:keywords>iPhone,iPad,iPod,touch,iPhone,programming,iPhone,SDK,iPhone,Sample,Code,iOS,Sample,Code,iphoneappcode,Swift,Objective,C,iPhone,Programming,iOS,Programming,iWatch</itunes:keywords><itunes:subtitle>iOS Application Development Guideline.</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:author>Nilesh M. Prajapati | Sr. Software Engineer (iOS)</itunes:author><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>Nilesh M. Prajapati | Sr. Software Engineer (iOS)</itunes:name></itunes:owner><item><title>Mobile/Cross Platform App Development with Flutter</title><link>http://iphoneappcode.blogspot.com/2023/08/mobilecross-platform-app-development.html</link><category>android studio</category><category>apple</category><category>cocoapods</category><category>dart</category><category>flutter</category><category>git</category><category>google</category><category>Homebrew</category><category>jetbrain</category><category>material design</category><category>microsoft</category><category>mobile app development</category><category>visual studio code</category><category>xcode</category><pubDate>Fri, 4 Aug 2023 00:20:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-376428607946465615</guid><description>Hello everyone,Once again, after a long long time, I thought to write this article on my new journey with Flutter development. I have just recently started to work as Flutter developer and for that, currently, I'm deep diving with some fresh materials &amp;amp; courses.Just to give a little bit overview on Flutter for mobile &amp;amp; Mac &amp;amp; web app development, please kindly have a look at below </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to record/capture screen in iOS with the help of Swift programming?</title><link>http://iphoneappcode.blogspot.com/2019/05/how-to-recordcapture-screen-in-ios-with.html</link><category>Apple Sample Code</category><category>AVAssetWriter</category><category>AVAssetWriterInput</category><category>AVKit</category><category>FileManager</category><category>Foundation</category><category>iOS</category><category>iOS Programming</category><category>iOS SDK</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone SDK</category><category>Recording</category><category>ReplayKit</category><category>RPScreenRecorder</category><category>Swift</category><pubDate>Fri, 3 May 2019 13:05:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-3477803324181195761</guid><description>
Hello everyone,
- Nowadays, I'm working for screen recording operation in my one of the projects and it's really an interesting one which I want to share with my blog's followers.
- Please check below code lines for detailed information about implementation with Swift.




p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Menlo; color: #ffffff; background-color: #000000}
p.p2 {margin: 0.0px </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to integrate "SwiftLint" library into XCode project ?</title><link>http://iphoneappcode.blogspot.com/2017/03/how-to-integrate-swiftlint-library-into.html</link><category>.swiftlint.yml</category><category>Coding rules</category><category>Homebrew</category><category>Objective C</category><category>Run Script</category><category>Swift</category><category>Swift style and conventions</category><category>SwiftLint</category><pubDate>Thu, 16 Mar 2017 15:21:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-1383596695953582425</guid><description>
Hi everyone,Now a days, I was looking for a tool which can assist the developers to write code with good quality by following some basic standards. A tool which can throws warnings/errors if developer is not following the code writing rules. I have found multiple tools for multiple platforms. But I have chosen "SwiftLint" for "SWIFT" language, which is the same as its prior version "OCLint" for </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Core data implementation in Swift 3.0 for iOS 8.0 and later versions.</title><link>http://iphoneappcode.blogspot.com/2017/01/core-data-implementation-in-swift-30.html</link><category>core data</category><category>coredata</category><category>database</category><category>iOS</category><category>iOS Programming</category><category>iOS Sample Code</category><category>NSFetchRequest</category><category>NSManagedObjectContext</category><category>NSManagedObjectModel</category><category>NSPersistentContainer</category><category>NSPersistentStoreCoordinator</category><category>saveContext</category><category>Swift</category><pubDate>Thu, 19 Jan 2017 11:32:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8991630995211375479</guid><description>

Hi Everyone,



After a long long time, I'm back along with some creative things not just in Objective C but from now onwards, I'll start to post the articles and queries for Swift language too. Here, I would like to share core data implementation for Swift Language by just creating a singleton. 
I've shared some examples for "Add, Update, Delete, Count" operations from my own experience and </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Attributed string for multi-purpose in iPhone SDK.</title><link>http://iphoneappcode.blogspot.com/2015/02/attributed-string-for-multi-purpose-in.html</link><category>iPad</category><category>iPhone SDK</category><category>NSBackgroundColorAttributeName</category><category>NSFontAttributeName</category><category>NSForegroundColorAttributeName</category><category>NSMakeRange</category><category>NSMutableAttributedString</category><category>NSUnderlineStyleAttributeName</category><category>NSUnderlineStyleSingle</category><category>Objective C</category><pubDate>Sat, 28 Feb 2015 11:24:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-7725405757644827361</guid><description>Hi,
This post is regarding the use of attributed string for multi-purpose. For more, please check below statements.


NSString *mainString = @"iphoneappcode.blogspot.com";

&amp;nbsp; &amp;nbsp; NSMutableAttributedString * attributedString;

&amp;nbsp; &amp;nbsp; UILabel *lbl;

&amp;nbsp;&amp;nbsp; &amp;nbsp;

&amp;nbsp; &amp;nbsp; //-- Attributed string with Multiple Colour Combinations. - (NSForegroundColorAttributeName)

&amp;nbsp;&amp;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Steps to regenerate libzbar library for 64-bit architecture support.</title><link>http://iphoneappcode.blogspot.com/2014/12/steps-to-regenerate-libzbar-library-for.html</link><category>64-bit architecture support</category><category>arm64</category><category>armv7</category><category>armv7s</category><category>iOS</category><category>iOS Programming</category><category>iPhone</category><category>iPhone 6</category><category>iPhone 6 plus</category><category>iPhone Developement</category><category>iPhone SDK</category><category>iphoneappcode</category><category>libzbar</category><category>Objective C</category><pubDate>Thu, 18 Dec 2014 12:32:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-658342149716064469</guid><description>

Hi everyone,

After a long time, I'm back to share some useful things with you. In now a days, I'm busy to make my application 64-bit architecture devices support as per apple's guide line which must be followed before 1st February 2015. So, I have started to make third party libraries compatible to 64-bit architecture. For that, I choose libZbar and steps are as defined below : (iPhone 6 &amp;amp;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to print log for debug mode only in iOS application?</title><link>http://iphoneappcode.blogspot.com/2014/05/how-to-print-log-for-debug-mode-only-in.html</link><category>DEBUG</category><category>iOS</category><category>iOS Programming</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone SDK</category><category>iphoneappcode</category><category>NSLog</category><pubDate>Wed, 14 May 2014 12:14:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8384608319314114596</guid><description>Hi,
Everyone,

Sometimes, we wish to print console in our code for DEBUG mode only. Somehow, We also forget to remove that line from our code too at the time of execution of our product.&amp;nbsp;

So, I found better solution which helps you to overcome this situation. Please keep below code in your common file and use it anywhere in your code or put it in .pch file of your project.



/******* Start</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to store event in native calendar of iPhone with EventKit?</title><link>http://iphoneappcode.blogspot.com/2014/03/how-to-store-event-in-native-calendar.html</link><category>EKCalendar</category><category>EKEvent</category><category>EKEventEditViewController</category><category>EKEventStore</category><category>EventKit</category><category>EventKitUI</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><pubDate>Wed, 26 Mar 2014 18:52:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-5668178057985254370</guid><description>
Hi,

Here, I'm going to share some lines of code by which you can add an event to native calendar of an iPhone/iPad/iPod touch. &amp;nbsp;So, please prefer below code to make this functionality visible to your project.



========================================================================



Step 1: Import these framework into your project.

#import &amp;lt;EventKit/EventKit.h&amp;gt;

#import &amp;lt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>UICollectionView with dynamic image height</title><link>http://iphoneappcode.blogspot.com/2014/03/uicollectionviewcell-with-dynamic-image.html</link><category>CGImageSourceCopyPropertiesAtIndex</category><category>CGImageSourceRef</category><category>ImageIO.framework iPhone</category><category>iOS</category><category>iPad</category><category>iphoneappcode</category><category>iPhoneProgramming</category><category>kCGImagePropertyPixelWidth</category><category>Objective-C</category><category>UICollectionView</category><category>UICollectionViewCell</category><pubDate>Mon, 10 Mar 2014 11:26:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-9135334032821257949</guid><description>Hi,
Dear readers,

I had successfully used UICollectionView with dynamic heights of images which fetches data from NSURL string. iOS 6.0 and later versions can use "UICollectionView" to make a model like "Water Flow" or "Pinterest Layout".

Please see below steps to have it in your application.






=======================================================================


*** STEP 1 :&amp;nbsp;

A. </description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF1WlwCm76AYJw_4XD8NWqpaFdM8NHWnPo5lrYPlruMfiILm_bj0LCKIMfOU9pPoblk8NldL5vZs9ODmavSTzopDY8PgRjTOeTR6Huos2LkJ14T16juUVu0AT7Tv8IgXjOjgD2XO79TZs6/s72-c/CustomCollectionView.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Asynchronous image downloading with dispatch_async queue</title><link>http://iphoneappcode.blogspot.com/2014/01/asynchronous-image-downloading-with.html</link><category>dispatch_async</category><category>dispatch_get_global_queue</category><category>dispatch_get_main_queue</category><category>iOS SDK</category><category>iPad</category><category>iPhone</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iphoneappcode</category><category>Lazy Loading</category><category>NSData</category><category>Objective C</category><category>UIImage</category><category>UIImageView</category><pubDate>Mon, 27 Jan 2014 12:36:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-2907277872658684087</guid><description>
Hi,

There's no need to implement any framework for LazyImage loading as of now. You can do it simply by writing few lines of code below.. Just take a look..


Example :&amp;nbsp;

UIActivityIndicatorView *activity = [[UIActivityIndicatorView alloc]init];
UIImageView * userImage = [[UIImageView alloc]init];


&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [activity startAnimating];

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to share information in iPhone?</title><link>http://iphoneappcode.blogspot.com/2014/01/how-to-share-information-in-iphone.html</link><category>Facebook API</category><category>iOS</category><category>iPad</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone SDK</category><category>iphoneappcode</category><category>MFMailComposeViewControllerDelegate</category><category>Objective C</category><category>Twitter API</category><category>UIActivityView</category><category>UIActivityViewController</category><pubDate>Mon, 13 Jan 2014 16:50:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-7358478260119906884</guid><description>
Hi,
Recently I have integrated UIActivityViewController in my one of the applications for iOS 6.0 and later versions. For iOS 5.1.1, I used default "twitter.framework". 
Please check below code to share information in your application through social media.

//******* Place below code into Implementation part *********//

UIPopoverController *popup;
UIActionSheet *actionSheet;

#define HTML_STR @</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to change image tint color in iphone sdk?</title><link>http://iphoneappcode.blogspot.com/2013/12/how-to-change-image-tint-color-in.html</link><category>iOS Programming</category><category>iPad</category><category>iPhone</category><category>iPhone Programming</category><category>iPhone SDK</category><category>Objective - C</category><category>UIGraphicsBeginImageContextWithOptions</category><category>UIGraphicsGetImageFromCurrentImageContext</category><category>UIImage</category><category>UIRectFillUsingBlendMode</category><pubDate>Fri, 6 Dec 2013 10:53:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-5445492134471923237</guid><description>
Hi all,


This category takes an image (presumably flat and solid-colored, like a toolbar icon), and fills its non-transparent pixels with a given color. You can optionally also specify a fractional opacity at which to composite the original image over the color-filled region, to give a tinting effect.

This is very useful for generating multiple different-colored versions of the same image, for</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How can we extract numbers from a string in iPhone?</title><link>http://iphoneappcode.blogspot.com/2013/10/how-can-we-extract-numbers-from-string.html</link><category>iOS SDK</category><category>iPad</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone SDK</category><category>iphoneappcode</category><category>NSScanner</category><category>Objective - C</category><category>scanCharactersFromSet</category><category>scannerWithString</category><pubDate>Tue, 22 Oct 2013 18:00:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-2477831655506274064</guid><description>
Hi,

Here is the way to separate numbers from a mixed character string. For this , anybody can use "NSScanner" in their own way. I use this one to filter numbers from the given input string. Please have look ...

For Example :&amp;nbsp;

NSString *string = @"45#%ds32(())_*x 34";NSMutableString *newStrStrip = [NSMutableString &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Custom switch in iPhone</title><link>http://iphoneappcode.blogspot.com/2013/07/custom-switch-in-iphone.html</link><category>Custom Switch</category><category>iOS</category><category>iOS Sample Code</category><category>iPad</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone SDK</category><category>iphoneappcode</category><category>Objective - C</category><category>UIControl</category><category>UIGestureRecognizerDelegate</category><pubDate>Sat, 20 Jul 2013 11:40:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-579844188776864525</guid><description>
Hi,
In my recent project, I need to make a custom switch having different colors depending upon theme selection.
Now , I have a solution for that... Make two class files with extension ".h" &amp;amp; ".m". Original Content is available at&amp;nbsp; HERE. I have made some modifications to the original contents as per my requirements. 

SECTION 1 : 
&amp;nbsp;-------------------------------------------------
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Custom refresh control in iPhone</title><link>http://iphoneappcode.blogspot.com/2013/07/custom-refresh-control-in-iphone.html</link><category>Custom Refresh Control</category><category>iOS</category><category>iOS Sample Code</category><category>iOS SDK</category><category>iPad</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone SDK</category><category>iphoneappcode</category><category>Objective - C</category><category>UIControl</category><pubDate>Mon, 1 Jul 2013 15:20:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-4291662833594265935</guid><description>
Hi,
Everyone,

Did you ever use "Custom Refresh Control" in your iOS application? I recently implemented this concept in my one of code. There's a ready-made control available called "ODRefreshControl".&amp;nbsp;

You just need to import to files into your project resource. "ODRefreshControl.h" &amp;amp; "ODRefreshControl.m". Please check below lines to use it in your code.

*******For Example :

1) </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to show direction inside a Mapview with iOS 6.0 in iphone?</title><link>http://iphoneappcode.blogspot.com/2013/06/how-to-show-direction-inside-mapview.html</link><category>CLLocationCoordinate2D</category><category>iOS</category><category>iPhone</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>MKLaunchOptionsDirectionsModeDriving</category><category>MKLaunchOptionsDirectionsModeKey</category><category>MKMapItem</category><category>MKMapView</category><category>MKPlacemark</category><category>Objective - C</category><pubDate>Sat, 1 Jun 2013 13:01:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8283377767793179700</guid><description>
Hey everyone,
&amp;nbsp; --- Now, with iOS 6.0 , To show direction from source - destination location in Apple's map application. Please check the below code to show the direction into MKMapView.

*** For Example : 

CLLocationCoordinate2D coordinate;
coordinate.latitude = 0.0f; // Latitude of your source location
coordinate.longitude = 0.0f;  // Longitude  of your source location
&amp;nbsp;&amp;nbsp;&amp;nbsp;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>What should be the alternative of horizontal scrolling table in iOS?</title><link>http://iphoneappcode.blogspot.com/2013/05/what-should-be-alternative-of.html</link><category>Horizontal scrolling table</category><category>iCarousel</category><category>iOS</category><category>iOS Programming</category><category>iOS Sample Code</category><category>iOS SDK</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><pubDate>Thu, 23 May 2013 16:11:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-3718716462359072810</guid><description>
Hi,
Dear readers,

Now a days, I came across a new requirement of horizontal scrolling table view. I made some research for it and I found a new library as a unique solution for this. The library is known as "iCarousel" library. You just need to add that 2 files into your project source and after then you can import ".h"(header) file in your class where-ever you want to make such view effect. 

</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1F01zj6h3yTQDf222PXxIOFdP0sz0ROys37h-7lsWJB0_0dK832Yv0tdYR5NPsWMD8raI2o5aUxj4zOo0BmGm1BoSrmlrIj_pTaoyQEYXfEh9igRe87mZmugHpgPgZ7gmzpyfLFPBtoUB/s72-c/Screen+Shot+2013-05-23+at+4.05.28+PM.png" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to resolve apple's UDID issue for Push Notification in iPhone?</title><link>http://iphoneappcode.blogspot.com/2013/05/how-to-resolve-apples-udid-issue-for.html</link><category>APNS</category><category>Apple Push Notification Service</category><category>iOS</category><category>iOS SDK</category><category>iPhone</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>Push Notification</category><pubDate>Thu, 23 May 2013 15:29:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8228732834913901747</guid><description>
Hi,
Everyone,

Rumors say that Apple starts to prohibit the use of UDID in iOS applications from iOS 6.0 and onwards. You can use below solution for&amp;nbsp; &amp;lt; &amp;amp; &amp;gt;=&amp;nbsp; iOS 6.0 .

- The device token (used by APNS) and the UDID are two different things. They have nothing to do with each other.
-
 You obtain the device token for push notifications in your app 
delegate's </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>How to capture snapshot of UIWebview in iPhone?</title><link>http://iphoneappcode.blogspot.com/2013/02/how-to-capture-snapshot-of-uiwebview-in.html</link><category>iOS Programming</category><category>iPad</category><category>iPhone Developement</category><category>iPhone SDK</category><category>renderInContext</category><category>UIGraphicsBeginImageContextWithOptions</category><category>UIGraphicsGetCurrentContext</category><category>UIGraphicsGetImageFromCurrentImageContext</category><category>UIWebView</category><pubDate>Thu, 21 Feb 2013 10:26:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-5200541098950161714</guid><description>

Hi everyone,
Have you ever tried to take a picture of "UIWebView" in any of your applications? Now, you can do it by following below code in your project. You can use scrollview property of UIWebView in iOS 5.0 and later SDK.

#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)&amp;nbsp; ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)

For example</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>Best printer sdk for iPhone</title><link>http://iphoneappcode.blogspot.com/2013/02/best-printer-sdk-for-iphone.html</link><category>Bluetooth Printer</category><category>iOS</category><category>iOS Programming</category><category>iPad</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>mobile printer</category><category>Objective C</category><category>portable printer</category><category>printer sdk</category><category>Wifi printers</category><category>WLAN printer</category><pubDate>Tue, 19 Feb 2013 15:34:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-1436235714128373011</guid><description>
Hey everyone,
Now I found one more good things regarding printing in iPhone SDK. I found "STAR MACRONICS" printers having their own SDKs for Both iOS and android devices. By using this SDK, You can easily integrate POS printers and as well as bluetooth, USB printers with your application.

Please take a look to below given link from where you can download SDK and its manual for integration.


</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to integrate barcode scanning in iphone?</title><link>http://iphoneappcode.blogspot.com/2013/01/hi-everyone-recently-i-have-worked-with.html</link><category>barcode</category><category>Barcode scanner</category><category>CoreGraphics</category><category>CoreVideo</category><category>ImageIO</category><category>iOS Programming</category><category>iOS SDK</category><category>iPad</category><category>iPhone</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>scanner</category><category>ZXingObjC</category><pubDate>Mon, 28 Jan 2013 10:19:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-4814619572672626530</guid><description>



Hi everyone,
Recently, I have worked with Barcode scanning project for iPhone/iPad development. It was good time for me to work on such project. So, I'm going to share information about that SDK.

SDK Name : ZXingObjC
SDK URL path : https://github.com/TheLevelUp/ZXingObjC

You need to add following frameworks in your projects to make it works.
For an iOS app: 

AVFoundation.framework
</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how create shadow image in iPhone?</title><link>http://iphoneappcode.blogspot.com/2013/01/how-create-shadow-image-in-iphone.html</link><category>CGImageRef</category><category>Image Crop</category><category>imageshadow</category><category>iOS Sample Code</category><category>iPhone Developement</category><category>iPhone Sample Code</category><category>LazyImageView</category><category>NSCache</category><category>NSOperationQueue</category><category>NSThread</category><category>Scale Image</category><category>setNeedsLayout</category><category>shadowOffset</category><category>UIImage</category><category>UIImageView</category><pubDate>Sat, 19 Jan 2013 11:47:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8744264622749943244</guid><description>


Hi all,
Follow below steps to create lazy image-view with image having shadow effect.

Step 1 : Create two files named as "NPImageView.h"&amp;nbsp; and "NPImageView.m"

#import &amp;lt;UIKit/UIKit.h&amp;gt;


@interface NPImageView : UIImageView

+ (NSOperationQueue *)processingQueue;
+ (NSCache *)processedImageCache;


@property (nonatomic, assign, getter = isAsynchronous) BOOL asynchronous;
@property (</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>NSPredicate to filter data in iPhone</title><link>http://iphoneappcode.blogspot.com/2013/01/nspredicate-to-filter-data-in-iphone.html</link><category>filteredArrayUsingPredicate</category><category>iOS Programming</category><category>iOS Sample Code</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>NSArray</category><category>NSPredicate</category><category>predicateWithFormat</category><pubDate>Mon, 7 Jan 2013 14:56:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8037888642856950008</guid><description>
Hi,
Please check the below lines for filtering a content of an array using "NSPredicate".

Example:

//For Boolean value checking in Array containing dictionaries.
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(isCheck == %@)",@"true"];
NSArray *filterArr = [tmpArray filteredArrayUsingPredicate:predicate];

NSPredicate *filter = [NSPredicate predicateWithFormat:[NSString </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to make a shadow around a view?</title><link>http://iphoneappcode.blogspot.com/2013/01/how-to-make-shadow-around-view.html</link><category>CGLayer</category><category>iOS Programming</category><category>iOS Sample Code</category><category>iPhone</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>shadowOffset</category><category>shadowOpacity</category><category>shadowRadius</category><pubDate>Mon, 7 Jan 2013 14:47:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-8978309677632307899</guid><description>
Hi,
Here, I found a something to give a shadow around a views/controls.&amp;nbsp; 

Example: 

&amp;nbsp;&amp;nbsp;&amp;nbsp; UIView *bottomDetailView = [[UIView alloc]init];
&amp;nbsp;&amp;nbsp;&amp;nbsp; bottomDetailView.layer.shadowColor = [UIColor blackColor].CGColor;&amp;nbsp;&amp;nbsp;&amp;nbsp; bottomDetailView.layer.shadowOffset = CGSizeMake(0, 1);&amp;nbsp;&amp;nbsp;&amp;nbsp; bottomDetailView.layer.shadowOpacity = 2;&amp;nbsp;&amp;nbsp;&amp;nbsp; </description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item><item><title>how to make custom segmented control?</title><link>http://iphoneappcode.blogspot.com/2012/12/how-to-make-custom-segmented-control.html</link><category>CustomSegmentedControl</category><category>iOS</category><category>iOS Programming</category><category>iPhone</category><category>iPhone Developement</category><category>iPhone Programming</category><category>iPhone Sample Code</category><category>iPhone SDK</category><category>iphoneappcode</category><category>Objective C</category><category>UISegmentedControl</category><pubDate>Fri, 7 Dec 2012 10:00:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-877978005670515223.post-7296356969296610193</guid><description>
Hi,
Many of you want to make custom controls in their own projects but sometime they need some guidance or the way to customize those controls. So, here is the way for everyone who wants to make his/her own custom segmented control in iPhone, iPad projects. Please follow the below steps :


Step 1 : Import these two files in your projects . ("CustomsegmentControl.h","CustomsegmentControl.m") 

#</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><author>noreply@blogger.com (Nilesh M. Prajapati | Sr. Software Engineer (iOS))</author></item></channel></rss>