
Featured
- 
            
              Swift Programming Basics for Beginner - A 10 Min Video TutorialAs we all are aware that Swift is new programming by sandeep.rawat
Tags
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 ... 
                      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... 
                      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... 
                      Show The Contact List in iOS
                      To show the list of contact in iPhone use the code Below:
1- import the ContactsUI framwork in viewController
2- Confrom the ViewController to the CNContactPickerDelegate 
3- call the delegate method func contactPicker(picker: CNContactPicke... 
                       
        
        
