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.
Make your mobile app remotely configurable with Firebase Remote Config and you will be able to remotely enable or disable app UI elements, images, texts, labels and even change app behavior when needed. And all of it without a need to release a new version of the app to the app store and wait for…Read More Firebase Remote Config with Swift
In this Swift programming tutorial we will learn how to implement Sign in with Twitter account button using Firebase Social Authentication and Swift. If you are interested in learning how to use Firebase Social Authentication to implement Sign-in with Google account or Facebook, please check the below two tutorials I have published earlier: Firebase Social Authentication.…Read More Firebase Social Authentication. Sign In with Twitter Account in Swift.
With this Swift programming tutorial I will continue working with Firebase Social Authentication and this time I will share with you how to implement Sign-in with Facebook account. If you are interested in learning how to use Firebase Social Authentication to implement Sign-in with Google account please check my previous tutorial. Create New or Open…Read More Firebase Social Authentication. SignIn with Facebook Account in Swift.
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 want to share with you a collection of more than 80 Xcode productivity tips that I recently discovered. Last night I went through 20 of them watching non stop, because I wanted to learn more and more. With this blog post I would like to share with you 3 very useful and easy to use Xcode Tips…Read More Xcode Tips and Tricks to Work with Images
In this blog post I am going to share with you how to create UIToolBar and UIBarButtonItem in Swift. I am going to use Xcode to create a Single View application and will position UIToolBar at the bottom of the view. I will then create three UIBarButtonItem(s) next to each other and will align first…Read More UIToolBar and UIBarButtonItem in Swift
Earlier I have shared a series of video tutorials on how to create user Login and Registration pages for your mobile application that communicates with a server side php scripts running on Apache Web Server. In this blog posts I am going to share with you a series of video tutorials that demonstrate how to…Read More User Registration, Sign in And Token Based Authentication
When user signs up for an account with our mobile app, we invite them to come up with a secure password. It is user friendly, if our app can suggest them a secure password by generating one and placing next to a password text field, so that they can pick it and use. The code…Read More Generate User Password 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.
In this video tutorial I am going to share with you how to add Deep Linking support for your app using Custom URL Scheme. There is also another way of implementing deep linking for your app and it is called Universal Linking which I will also share with you in one of my next videos.…Read More Deep Linking Using Custom URL Scheme
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
With this blog post I am going to share with you how to do email address validation with a simple regular expression in Swift. The example is simplified and does not check for all possible variations of email addresses but you can improve it buy enhancing the regular expression used. Although, if used as is, it should…Read More Email Address Validation in Swift
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
In this blog post I am going to share with you how to use UITableViewRowAction to add two table view action buttons(Delete and Share) to your table view. Most of the code I have already available on my Swift Code Examples page and in this video I will make use of a ready to use…Read More UITableViewRowAction Example in Swift