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.
This page lists down different Swift code snippets which demonstrate how to work with Firebase Realtime Database. I like to have this page handy when working a mobile app for iOS platform with Swift and Firebase. Set up Firebase Realtime Database Dependencies to install with Cocoapods pod ‘Firebase/Database’ Configure a FirebaseApp shared instance, in your application’s…Read More Firebase Realtime Database Cheat Sheet
Add Required Libraries to Xcode Project with Cocoapods pod ‘Firebase/Core’ pod ‘Firebase/Messaging’ Enable Push Notifications in Capabilities Tab Enable Background Modes in Capabilities Tab Note: Additionally to enabling the Background Modes, you also need to enable the Remote notifications mode by checking its checkbox as shown in the image below. AppDelegate.swift – Libraries to Import import…Read More Push Notifications with Firebase Cloud Messaging – Cheat Sheet
With this blog post, I wanted to share with you a few videos I have recorded for my video course Firebase and Swift: Practical examples. The videos in this blog post demonstrate how to add Facebook Login button to your mobile application built with Swift and how to authenticate the user with their Facebook credentials.…Read More Facebook Login Button with Firebase and Swift
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
I am becoming a big fun of Serverless architecture in the cloud and recently started reading a lot on how to build RESTful Web Services in the Cloud without starting your own server. Of course, I quickly came across Firebasebase Cloud Functions and I liked it a lot. Firebase Cloud Functions is one of those…Read More Firebase Cloud Functions 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.
This year was a record for me in the amount of programming tutorials I read and published and I feel so grateful that I have this opportunity to learn and share. I feel like I want to give back to the world more and since it is a Christmas and a New Year time and…Read More Winter Holiday Give Away – A Video Course of Your Choice
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.
With this Swift programming tutorial we will create a simple mobile app and will learn how to use Firebase Social Authentication to implement user to Login with Google account functionality. The app we are going to create will have only two views. One view with a login button and another view is protected page which will open once the…Read More Firebase Social Authentication. SignIn with Google 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
Hi! With this blog post I want to share with you some more video tutorials on Xcode Tips and Tricks! If you have not yet watched the videos in my previous blog post then I strongly encourage you to watch them as well: Xcode Tips and Tricks to work with Images and Properties. You will not find…Read More Xcode Tips and Tricks to Work with Layout Constraints and Views
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