Cocoa Touch and Swift tutorials

In Swift you can load HTML files into your WKWebView from an file which is part of your App Bundle. Before you use the below code snippet, please make sure that the HTML file you want to display in WKWebView is added to your project. Load Local HTML File to a WKWebView let myUrl = myProjectBundle.url(forResource: “my-html-file”,…

Read More WKWebView. Load HTML File from App Bundle.

This blog post is more of a cheat sheet type on how to use UIImagePickerController in Swift with Firebase to upload a user profile image to Google cloud. I am also going to include here a video demonstration taken from my video course “Firebase and Swift: Practical examples“. This video will demonstrate the use of the below code…

Read More UIImagePickerController in Swift with Firebase. Cheat Sheet.

Hi! With this short blog post I wanted to share with you three more very useful Xcode Tips and Trips from a collection recorded by Dee Aliyu Odumosu. The entire collection of 80+ Xcode tips can be found here and if you have not come across it earlier then I encourage you to do so. It…

Read More Xcode Tips and Tricks. Refactoring and Debugging.

With this video tutorial I would like to share with you how to fix the “this class is not key value coding-compliant for the key” error message. Apparently this error message is one of the most common for developers learning to work with Xcode and building their first mobile app user interfaces. It happens when…

Read More How to Fix the “Class is not key value coding-compliant for the key” Error

I was chatting with one of my Youtube channel followers the other day and he asked me to publish a very simple example of how to prompt a user with a dialog message and a question “Are you sure you want to delete this?“. This dialog window should be presented when user taps on Delete button.…

Read More UIAlertController – Confirmation Dialog in Swift

Earlier, I have created a short video tutorial on how to use UIPageViewController to create the “App Tutorial Page” which will start up as soon as your mobile app launches. You can use this app tutorial to introduce your app to the user who starts your app for the very first time and then let…

Read More UIPageViewController. Create and Skip App Tutorial Pages.

With this video tutorial I am going to share with you how to create and use the iOS Settings bundle to let users of our mobile app be able to specify their user preferences via the iOS Settings app. Settings App Screenshot The video tutorial below will cover: Create and add the iOS Settings bundle…

Read More iOS Settings Bundle – Let Users Save Their Preferences via the iOS Settings App

Xcode Code Snippets Library is a very useful feature of Xcode that can greatly simplify your app development process and make it easier and even more enjoyable. It already has some useful pre defined code snippets which you can drag and drop into your source code, edit a little bit and you are done.  Xcode Code Snippets…

Read More Xcode Code Snippets Library. Creating and Customizing Xcode Snippets.

With this blog post I am going to share with you how to add inline UIDatePicker or DateCell into your UITableView. Originally the DateCell example was implemented by Apple as an Objective C project and is available for download here: Apple DateCell. I googled around to see if there is already an implementation of DateCell in…

Read More Inline UIDatePicker or DateCell Example in Swift