How to show or list simulators in Xcode Project!
How to show or list simulators in Xcode Project! For new users Option-1 For existing or upgrading the Xcode You can download each simulator by visiting Xcode->Preference->Download When I try to run the project, the button is grayed out. When…
Exporting and Importing Certificates and Profiles
After Xcode creates your certificates and profiles for you, export them to create a backup of all your assets. You do this to, for example, transfer your assets to another Mac you use for development or repair a certificate if the private key is missing.…
Overview of the Project Navigator in Xcode
Overview of the Project Navigator in Xcode You have to work within the context of an Xcode project to develop an iOS app. After you have created your project in Xcode, the Xcode workspace displays the Project navigator. The Navigator area is an optional…
How to create login screen with alert view Controller using UIAlertController in SWIFT
How to create login screen with alert view Controller using UIAlertController in SWIFT Alert views can also be used with text field. You can use it to quickly get some input text to image or table.How to take text input with alert view. 1. First lets set…
Swift Sets and their Methods in IOS !
In Objective-C there were three basic types of Data Structures, NSArray, NSDictionary, and NSSet. In Objective-C, the immutable and mutable forms were separate, so you also had NSMutableArray, NSMutableDictionary, and NSMutableSet. In Swift we were…
Naming conventions in IOS !
Naming constants When talking about constant, there is a distinction worth making: public string IDs that identify a specific class of objects by being unique such as NSNotification names, NSError domains, etc. private IDs which are variables aimed at…
ERROR Handling in swift !
ERROR Handling in swift Ideally, errors should never occur. File we need should always be available and networks should always be present and reliable. Unfortunately this reality is not ideal and we have to deal with the consequences. Thankfully the…
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…