Posts

Showing posts with the label xcode

How To Hide Keyboard In iOS Applications ?

Image
How To Hide Keyboard In iOS Hi, In this post, I'll show you how to hide keyboard in your iOS apps. So, lets get started and see how to do it. You can also watch this tutorial on my YouTube channel here:  How To Hide Keyboard in iOS using Swift ? First of all, open your Xcode and create a new Single View Application. Now, give some name to your product like "HideYourKeyboard", and make sure to choose Swift as the language. Now, Go to Main.storyboard and drag a text field on it. Add some constraints on this text field as shown in the image below: Now, open the Assistant Editor and make sure both storyboard and view controller files are visible as shown in the picture below: Now, ctrl-drag your text field to viewcontroller.swift file and create its outlet. Once done, then close this section and open your viewcontroller.swift file. Here, first of all add UITextFieldDelegate method as shown in the image below. Now, we'll add 2 funct...

How To Download The Xcode DMG File On Mac For iOS Development ?!!

Image
How To Download The Xcode DMG File Hi, In this post, I'll guide you how and from where you can download Xcode dmg file on your mac. So, to download the Xcode dmg file, you first need to go to Apple's Developer Website by clicking on this link  https://developer.apple.com/download/    and login with your Apple ID (You can create one, if you don't have any). After login, you'll get to the latest available Xcode versions download page.  Click on the Download button to download the available Xcode versions. You can download the Xcode's beta versions from here as well.  I am also providing some direct links below to download the recently released Xcode versions: Xcode 9.0 (Beta) 
https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_9_beta_5/Xcode_9_beta_5.xip Xcode 8.3.3 https://download.developer.apple.com/Developer_Tools/Xcode_8.3.3/Xcode8.3.3.xip Xcode 8.3.2 https://developer.apple.com/services-account/dow...

Facebook iOS Tutorial Using Swift 3 + Xcode 8

Image
Facebook iOS Tutorial Using Swift 3 + Xcode 8 Hi, In this post, I'll show you how to use Social Framework in iOS applications. Using the Social Framework, you can easily integrate the services of any supported social network in your iOS apps. Its very easy to implement and you can easily integrate social networks like Facebook, Twitter etc. in your iOS apps. In this tutorial, We'll use Social framework to create a post from our app and send it to Facebook feeds wall. So, let's start and see how to do it.. :) First of all, open your Xcode and create a Single View Application. Click Next. Give some name to your product and fill other details as shown in the image below. Make sure to choose swift as the language and click Next. Now, go to Main.storyboard and drag a button from object library and give it some title like "Post To Facebook".  Its time to add some constraints on the button. So, select your button and click on the Align Auto Layout...

UI Date Picker For UI Text Field With UI Tool Bar (Swift 3 + Xcode 8)

Image
UI Date Picker For UI Text Field With UI Tool Bar In iOS Hi, In this post, I'll show you how to use UI Date Picker for UI Text Field in iOS using Swift 3 and Xcode 8. During this, you'll also get to know about UI tab bar and how to use UITabBar to fetch the details from any picker and set them in desired textfields in your iOS application. FYI, You can also watch this tutorial on my YouTube Channel. You may get a better representation of this swift tutorial over there. Here's the video:                So, let's start and see how to do it.. :) First of all fire up your Xcode and create a new project. Select Single View Application and click Next.  Now, Give some name to your project and choose Swift as language, click Next. Go to Main.storyboard and drag a textfield on the storyboard. Add some constraints on this textfield as shown in the picture below.   After adding these constraints, our storybo...