Creating the Hello World iOS App using SWIFT !
Creating the Hello World iOS App using SWIFT ! So, when you first load Xcode, assuming you haven’t turned it off in the preferences, you will see the “Welcome to Xcode” screen. To start a new app, you click the appropriately titled “Create a new Xcode…
Operation and OperationQueue on SWIFT !
Operation and OperationQueue on SWIFT ! The solution is to move work off the main thread via concurrency. Concurrency means that your application executes multiple streams (or threads) of operations all at the same time. This way the user interface stays…
What is NSOperationQueue or NSOperation in SWIFT ?
What is NSOperationQueue or NSOperation in SWIFT ? NSOperation is an abstract class which can’t be used directly so you have to use NSOperation subclasses. In the iOS SDK, we are provided with two concrete subclasses of NSOperation. These classes can be…
Asynchronous Operations with Grand Central Dispatch in SWIFT !
Grand Central Dispatch We call them Global Dispatch queues. These queues are global to the application and are differentiated only by their priority level. To use one of the global concurrent queues, you have to get a reference of your preferred queue…
Why do We Need Concurrency in IOS ?
I know you’re a good developer with experience in iOS. No matter what kinds of apps you’re going to build, however, you will need to know concurrency to make your app more responsive and fast. Here I summarize in points the advantages of learning or…
Free from NS in Swift Programming
Many of the types are bridged to the Swift type like as (e.g., NSString being bridged to String). Other Objective-C types are bridged to Swift are as follows : Objective-C Swift NSString String NSArray Array NSDictionary Dictionary NSData…
New features for developers introduces in SWIFT
New features for developers introduces in SWIFT Error handling model. There are new routines to throw, catch and manage errors in Swift. These enable your code to deal with recovarable errors like “file-not-found” or network timeouts. Syntax…
How to disable ARC for a single or multiple files in a project?
How to disable ARC for a single or multiple files in a project? Note: if you want to disable ARC for many files, you have to: click on you project (Top Left of the project) Select ‘Targets’ from project pan open “Build phases” ->…
How to use Cocoapods in Swift Programming language
Cocoapods in Swift Cocoapods is a dependency manager for Swift projects. It simplifies importing third-party libraries to the project and it handles dependencies. In this tutorial we will import the FontBlaster library using cocoa pods. The FontBlaster…
How to create Simple Registration form in SWIFT !
Registration form in SWIFT A form which we may use in multiple applications but each time that is Sign up or Registration form. Below is the sample code of simple registration form Below form contains the fields like -First Name -Last Name -Email…