MVVM stands for Model View ViewModel, and it’s a design pattern that facilitates a clear separation of concerns between user interface (View), data (Model), and the logic that bridges the two (ViewModel). Here’s a breakdown of what each component does: Model: This is a blueprint of the data the ViewModel process and pass to the […]
In this tutorial you learn step-by-step how to use the iOS keychain to authenticate the app user’s email and password. Code presented in this tutorial assume you are using Xcode 7.3 and Swift version 2.2. So if you are using a older or newer version of Swift, it may produce errors. Fix them by using Xcode’s Fix-it tool. […]
Today you will enter code in the Nifty-IAP project’s ProductViewController.swift file to implement tasks shown on this card. Before proceeding I assume you’ve read part 1, part 2, part 3, part 4, and part 5 of the tutorial. I also assume you created a branch called part6 from the branch called part5. Task 1 Here is a diagram and description […]
Today you will enter code in the Nifty-IAP app’s ProductViewController class to implement In-App Purchase task 4-7. They pretty much enable the app user to purchase Non-Consumable products (music videos) within the Nifty app store and watch them. Remember, the Nifty app store is the tableView that’s on the ProductView and it look like this now: Before, you get started, […]
Today you will enter code in the Nifty app’s ProductViewController.swift file to implement only the first three In-App Purchased tasks shown on this card. Before, you get started, I assume you read part 1, part 2, and part 3 of the tutorial. Also, I assume you created a new branch called part4 from the current branch; which is called part2. Task […]