This tutorial will show you how to get the value for a key defined in a plist file.
This tutorial will show you how to convert JSON string from a local JSON file into a NSDictionary (key value pairs). I have also added catch blocks validation if something goes wrong.
This tutorial will cover how to make a phone call directly from your mobile app by deep linking to the native phone app. It will also contain a validation for removing special characters, because this approach allows only numbers to be […]
This Swift tutorial will show you how to work with Contacts framework and import contacts in your app. Contacts framework is working from iOS 9 and above. I have created a separate class to handle the contacts, so i will explain it here step by […]
In this tutorial, I will show you how to open a native photo library controller and also intercept the selected image. Lets start by adding the protocols we would need UINavigationControllerDelegate and UIImagePickerControllerDelegate… Open UIImagePickerController: Then you can intercept the selected image, by using this delegate […]
I will give you short and clear explanation of what is the meaning of “!” and “?” in the Swift syntax. ! – This is called forced unwrap. That means you can use this sign ONLY if you are 100% sure […]
Introducing you DAImagePreview, a Twitter-like image preview done in Swift. Just download and import the file to your project and i will show you how to use it. My example will show you how to use it inside UICollectionView. Enjoy!
When it comes to having a cached content in the app i use a 3rd party library named TMCache for the last few years, and I can say that I am really satisfied from it. TMCache is a key/value store designed for persisting temporary objects that are […]
The for statement which was used in Swift 2 is now deprecated and there is a new approach for Swift 3 which is much more simplified than the previous one. Introducing the for statement in Swift 3: