If you want to change the presented view controller’s modelPresentationStyle according to size class, here ‘s a guideline for you. My setup is basic: I have a view controller and it has a button on it. When user taps on the button a new view controller is presented. First you need to set presented view…
Month: January 2021
iOS Custom UIPresentationController
The purpose of this story is to demonstrate the creation of a custom presentation controller. In my example, there will be a button on first view controller and when user taps on it, the detail view controller will be opened in a custom presentation controller. Here’s the first view controller: We need to create our…
iOS UserDefaults Best Practices
1- Extension: 2- Property Wrappers:
iOS Fastlane Setup
This is a guideline for installing fastlane on your mac. 1- Install Xcode command line tools: xcode-select — install 2- Install Homebrew: https://brew.sh/ 3- Install ruby. Ruby is already installed on Mac but I highly recommend to install a new version with brew. Check below links if you encounter any problem: brew install ruby https://stackoverflow.com/questions/39381360/how-do-i-install-ruby-gems-on-mac…
