In this post, I am going to explain how to parse an XML file for iOS 10.0 using Objective C. There are lots of XML parser available for iOS. Here I am using
Showing posts with label iOS. Show all posts
Showing posts with label iOS. Show all posts
Tuesday, November 6, 2018
Saturday, February 17, 2018
-[__NSSingleObjectArrayI dataUsingEncoding:] Objective C
Few days back, I was trying to parse a JSON string which I was getting from the server. Parsing
Sunday, August 27, 2017
How to Hide Status Bar in iOS Programmatically
In this tutorial, I am going to show how to hide status bar of iPhone from you iOS project.
Friday, August 11, 2017
Change The UITableViewCell Height According To Amount Of Text
In this post, I am going to explain how to change UITableViewCell height depending on the size of the text programmatically.
Wednesday, January 18, 2017
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
You will get this error if the Unit Test Target sets
code signing
Monday, January 9, 2017
How to install CocoaPods and Dependencies
If you need to add third party libraries in your XCode project, it will be very good decision to install Cocoapods because it is a dependency manager. It is built with Ruby. So it could be installed on any OS X, with default Ruby. The installation process is very easy. Just follow the given steps.
Thursday, November 10, 2016
Info.plist must contain an NSPhotoLibraryUsageDescription key Objective C
If you are using UIImagePickerController in your project and recently
Sunday, October 23, 2016
How to insert a character in a NSString Objective C
In Objective C, there are two types of objects one is mutable another one is immutable. If you have to change value of any object you need to declare it as mutable. According to the Apple document,
Sunday, October 9, 2016
How to check a valid JSON string Objective-C
Today I am going to discuss how to check a string is a valid JSON string.
Tuesday, October 4, 2016
Hide Keyboard tap on screen iOS
The easiest way to hide iOS keyboard by touching or tapping on screen
Tuesday, May 31, 2016
How to convert NSString to NSDate in Objective C
Sometimes you need to convert a date string to date (NSString to NSDate). Suppose from server you are getting a date string with its date format. But in your app you need to convert it in date to change the format or to
Thursday, April 21, 2016
Get Dynamic Label Size iOS
Sometimes we need to set the height or width of the text container (It could be a label, aletview or textbox) dynamically. That means it's size is depending on the text which we wanted to write/show in it.
Thursday, February 25, 2016
iOS UIWebView disable pinch zoom
In Objective C you can disable pinch zoom in/out option
Wednesday, December 9, 2015
How to call an AppDelegate Method from ViewController using Objective C
One of the problem I faced recently was, when I needed to call a user defined method of AppDelegate class from the ViewController where I was working on. I did not want to repeat the same method in my project.
It is a bit different process to call a user defined method from an AppDelegate class from another ViewController class. But it is easy to do and will reduce the redundancy of code. You just need to write one (maximum two) line(s) to call the method from Delegate class.
Subscribe to:
Posts (Atom)