
Featured
- 
            
              How Regression Testing Detects Integral Errors In Business ProcessesHumans are forever changing and evolving and so to by kristina.rigina
- 
            
              Get Display Banner Advertising Opportunity on FindNerd Platform“Do you have a product or service that nee by manoj.rawat
- 
            
              Android O Released with Top 7 New Features for App DevelopersAndroid was founded by Andy Rubin, Rich Miner, Nic by sudhanshu.tripathi
- 
            
              Top 5 Features That Make Laravel the Best PHP Framework for DevelopmentLaravel is a free open source Web Framework of PHP by abhishek.tiwari.458
- 
            
              Objective C or Swift - Which Technology to Learn for iOS Development?Swift programming language is completely based on by siddharth.sindhi
Tags
History of Objective-C
                      History of Objective C
Brad Cox and Tom Love are  those famous personalities who invented Objective C in 1980 for their company Step stone. They introduced Smalltalk at ITT corporation's programming technology centre in 1981.
Brad ... 
                      UIAlertController in iOS
                      For iOS 8 and above Apple have introduced UIAlertController to present action Sheet and alerts. 
In order to present alert set preferredStyle to UIAlertControllerStyleAlert and for actionSheet preferredStyle to UIAlertControllerStyleActionShee... 
                      Auto Layout Using Visual Format Language In Swift
                      Hi All,
You can add auto layout constraints by using Storyboard Interface OR by adding constraints dynamically. There are three ways to add constraint dynamically (as per Apple Inc.)
Visual Format Language is one of the way is used to a... 
                      Auto Layout Using NSLayoutConstraint In Swift
                      Hi All,
You can add auto layout constraints by using Storyboard Interface OR by adding constraints dynamically. There are three ways to add constraint dynamically (as per Apple Inc.)
NSLayoutConstraint is one of the way is used to add autol... 
                      Adding auto layout constraint dynamically in swift
                      Hi All,
You can add auto layout constraints by using Storyboard Interface OR by adding constraints dynamically. There are three ways to add constraint dynamically (as per Apple Inc.)
Layout Anchor is one of the way is used to add autolayout... 
                      NSTimer In Swift
                      Hi all,
You can use the NSTimer class to create timer objects or, more simply, timers. A timer can wait and call a method or selector after defined period of time. for example :- if you want show a seconds clock and stop when it completed 60 s... 
                      Zoom mapview to show all annotaions
                      Hi all,
If you are adding multiple annotation in your amp and you want to show all annotations initially. then just call this method after adding all annotation to your mapview.
There are some globally declare variable such as :- 
#defin... 
                      Display Splash Screen for longer Time in iOS
                      Splash Screen is the first screen which appear when we launch an application and disappear when the main screen get loaded. It appear for a few second to show that our app is fast and responsive .
In order to display  your splash screen more t... 
                      Error Handling in Swift 2
                      SWIFT 
Swift is a very powerful and simple programming language which is used for creating the iOS applications.Swift is a language which is designed to work with Apple's Cococa and Objective-C. The advantage of this language is that it is one... 
                      How to print without newline in swift 2.0
                      Hi Readers!
In swift 2.0, print() statement adds a new line character automatically, where as in swift 1.2, println() and print() were 2 separate functions.
Apple in 2.0 has given only 1 statement for print() with different parameters.
T... 
                      How to declare Sets in Swift
                      Hi Readers!
Let us first understand what Sets means. 
Sets
A set stores unique values of same type in a collection with no ordering. Sets should be used when there is no defined order, such as in Array. Secondly Array can store multiple ... 
                      How to play a video file ios
                      Hello Friends,
Create an object of MPMoviePlayerController:
MPMoviePlayerViewController *moviePlayerController;
        NSURL *videoUrl=[NSURL URLWithString:@"String value of your url"];
Initialize the instance of MPmoviePlayerViewControl... 
                      Deleting Cells of tableview ios
                      Hello friends,
To delete a cell at a particular indexpath you may use the following code:
-(void)removeItemAtIndexPath:(NSIndexPath *)indexPath{
    [(name of table) beginUpdates];
// I am assuming that you're just using a plain NSMut... 
                      Change color of polyline
                      Hi all,
If you want to change  the color of a polyline or route on map just change the color in this delegate of map.
- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay
{
    MKPolylineRen... 
                      Adding card with braintree
                      Hi All ,
These are simple steps to add card to braintree account in iOS.
1.Initialize braintree object with valid client token.
    BTAPIClient *token = [[BTAPIClient alloc] initWithAuthorization:@"cleintToken received from tree"];
    ... 
                      Unwind segue in iOS
                      To Use Unwind Segues in iOS. 
1- Create three controller using storyBoard
2- Push from FirstViewControleller to SecondViewController 
3- Push From SecondViewController to Third
Write a function in FirstViewController like this
-(IBAction... 
                      Crop Image in iOS
                      To crop image in iOS use the following method.
it will crop the image from the visible frame of the imageView.
-(UIImage *)imageFromImageView:(UIImageView *)imageView rectFrame:(CGRect)frame{
    UIGraphicsBeginImageContextWithOptions(frame.... 
                      Merge images to make a single image
                      It is easy to merge different images to make a single image. It is like pasting images to a canvas and taking picture of that canvas. Below I have explained how to do it.
-(UIImage*)combineImages:(NSMutableArray *)images{
    CGRect frame =... 
                      Slide menu application in iOS.
                      Hi Friends,
I know there are several applications which are using Slide Menu option. You can find several libraries or classes in Objc to build an app like that.
Here is the most easy and customizable class to get it. Its name is SKSlideVie... 
                      Fetch the user detail from facebook in iOS 9.0
                      To fetcht the user detail from facebook like name,first_name,last_name,middle_name,gender etc use the code below :
func fetchUserDetails(useid: String,accessToken:String)
    {
        let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest... 
                      login to facebook in ios 9.0
                      to login using facebook in iPhone sdk please use the code below.
install the pods for facebook using 
pod "FBSDKCoreKit"; 
pod "FBSDKLoginKit";  
pod "FBSDKShareKit";
pod "FBSDKMessengerShareKit"
       import FBSDKLoginKit
     ... 
                      Send a request using Alamofire in swift
                      Use the alamofire in swift first install the pod file in your project using below steps:
1- open the terminal and run following commands
sudo gem update --system
sudo gem install cocoapods
pod setup
change folder  to the current proejct ... 
                      Listing the videos stored in gallery
                      Hello friends,
The following code can be used to show the videos stored in gallery:
 UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
    imagePicker.delegate = self;
    imagePicker.sourceType = UIImagePicke... 
                      Sending notification to IOS device using C# code
                      In one of my current project, I had to develop and integrate the IOS notification functionality in my server side C# code. I did some RnD for this and found below mentioned code to serve this purpose.
public void SendNotification(string device... 
                      Change UISearchBar Field Text Color in iOS
                      You can change UISearchField text color in iOS. Use single line of code to do it.
 [[UILabel appearanceWhenContainedIn:[UISearchBar class], nil] setTextColor:[UIColor whiteColor]];
Happy Coding!!!
                      How to use completion handler in swift
                      The code below will help you in declaration of completion handler  and how to call the completion handler in swift.
To declare a completion handler in swift use the line   :
 typealias completionHander = (sucess: Bool)->Void 
//decalrat... 
                      Compare two dates in iOS
                      To compare two dates we can use the following code :
NSComparisonResult result = [mydate1 compare:mydate2]; 
//where mydate1 and mydate2 are two dates we want to compare.
if (result == NSOrderedDescending) {
//mydate1 is later than myda... 
                      Detect if an Internet Connection exists in iPhone using (ARC and GCD compatible) class
                      Hi Readers,
Below are steps you need to follow when you are checking if their is an Active Internet connection in an Iphone using (ARC and GCD compatible) class.
1) Add SystemConfiguration framework to the project but dont worry about inclu... 
                      How to change the font of SearchBar's Placeholder and TextField
                      To change placeholder font add the following code:
[[UILabel appearanceWhenContainedIn:[UISearchBar class], nil] setFont:[UIFont fontWithName:@"Helvetica" size:12.0]];
and,to change the font for the SearchBar textField add the following lin... 
                      Change the button background color when highlighted in swift
                      To create a button at run time in swift please use the followin code: 
this code will help you in creating a button at run time. and also change the background color of the button in highlihted State..
To change the button background at the tim... 
                      Changing TextField Placeholder Color
                      Hello friends,
We may change the text field placeholder color using either storyboard or using code.
Using Storyboard:
Choose the text field and under textfield runtime attributes click on the '+' button and add a key:
_placeholderLab... 
                      How to display annotation on any Location in MKMapView
                      If we want to display the annotation point on any coordinates in MKMapView use the following functions-
By using the annotation anyone can easily recognize the location.We can also set the Title here which will show when user click on that... 
                      How to set placeholder text in uitextview
                      If we want to set the placehoder text in uitextview then we have to use the delegates methods of textview because there is not an option to set the placeholder directly in xcode.
Here is the methods--
-
 (void)viewDidLoad {
   [super vi... 
                      How to Show a pdf File from URL in a UIWebview in iOS
                      when we want to open the pdf file from a URL string then we use the UIWebView. In webview we can directly open the file by loading the url request.use the following function--
-(void)addWebViewOverLay:(UIWebView *)webView {
    webView = [[UI... 
                      How to create first iOS application in Xcode?
                      How to create first iOS application in Xcode for iPhone with no programming experience  where Ill help even the non-programmer to enjoy coding as an iOS developer.
This is an XCode tutorial for beginners so Ill be going through where to downlo... 
                      How to show a overlay view in ios
                      Sometimes we need to show a overlay view over the main view so that user not able to click on the background view assets like button click.
in order to display the overlay view use the following function--
- (void)getOverlayView{
    overlay... 
                      Seat Selector For iOS
                      Hi All,
Now days , we start booking seats online so if you also want to implement seat selection functionality than follow these steps .
Download ZSeatSelector from this link https://github.com/richzertuche/ZSeatSelector
Now drag two fil... 
                      Show a route between two coordinates using MKMap view in iOS
                      In ios when we want to show a route or poly line between two coordinate then we use the following function.
most of time we use this when we want to dislplay the route from current location to destination address.
Here mapView is the property... 
                      How to change default search bar text and icon
                      Hello Friends,
Changing the default text of search bar:
Using storyboard:
The search bar has a placeholder property, you may give it any text value as per your requirement.
Using code:
ObjectofSearchBar.placeholder = @"Your Value";
... 
                      Get contact name and phone number
                      Hi all,
If you want to get contact name and contact number from your iphone contact list then below two methods can help you to get contact name and contact phone number . 
Note: In this you will only get those contacts,which contain phone ... 
                      Sorting an array containing mantle model as object
                      Hi all,
To  sort an mantle array containing mantle model as object ,You can easily sort by multiple keys by adding more than one to the array. Using custom comparator-methods is possible as well.
    NSSortDescriptor *sortDescriptor;
    s... 
                      Bounds and Frames in iOS
                      Hi Readers,
This Post is to tell about the BOUND and FRAME in ios.
BOUND:
The bounds property of a view defines the size of the view and its position in the view's own coordinate system. This means that in most cases the origin of... 
                      Save and retreive text from text file
                      Hi all,
If you want to save anything in text file or any kind of file than you can follow this code. This code will save text to textfile in your application directory.You can retrieve text from save file later on .
NSError *error;
NSStrin... 
                      Chaneg Textview height according to text
                      Hi All,
If you want to change height of textView according to content height than you can follow this code.
Use auto layout to set view in story board and make IBOutlet for textview . Assign delegate to textview and dont give height constra... 
                      MFMessageCompose ViewController in swift
                      Step1:  Import the MessageUI using :- import MessageUI
Step 2: class ViewController: UIViewController, MFMessageComposeViewControllerDelegate
Step 3: when you tap on the button the list of contact will appear and you can choose the contact ... 
                      Show flags using Unicode
                      Hi All,
If you want to show flags in using unicode hex coding (U+XXXX) than you can follow this code .
UNICODE:- Unicode is a computing industry standard for the consistent encoding, representation, and handling of text expressed in most of... 
                      How to get data from dictionary and add them into an array in ios
                      If you want to get data from dictionary and add them into an array below code will help you, In this blog firstly i have created a NSMutableAarray and after that created a NSArray which contain the value like ram,13 etc then i created a NSMutable... 
                      add touch event to UIView
                      To provide some action on touch of any view ,UITapGestureRecognizer is used.
Write this code in viewDidLoad
- (void)viewDidLoad {
  [super viewDidLoad];
 myView.userInteractionEnabled = YES;
UITapGestureRecognizer *singleFingerTap = 
... 
                      Caputre Screen Shot in IPhone
                      if you want to capture the screen shot of the screen in swift use the code below. this function will return an image that can be used as background image of a view
The size of the captured image is same as the size of device.
func caputreSc... 
                       
        
        
 
        
         
        
         
        
         
        
         
        
         
        
         
        
         
        
         
        
         
        
         
        
         
        
        