Sagar R. Kothari
/home
/archive
/tags
/about
Swift
Swift - Resize UIImage - Code Snippet
Swift - Using UIImagePickerController
Swift - Form-Data Post Request
Swift - check or access Size classes via code
Swift - check - Dark mode or light mode
Swift - Date in dd-MMM or dd-MMM-yy format
Swift - Open Share sheet
Swift - Ask for AppStore Review from your app
Swift - Perform a task in background
Data Structure - Link List Swap nodes in pair
Data Structure - Recursion
Swift Equatable - supporting == operator on your data structure
Swift Functional Programming - Reduce
Swift - Font for Numbers and currency
Swift - stride - Array chunks into equal pieces
Swift - Rechability / Internet checker
Play video in a UIView as a layer
Property Wrappers Swift 5.1
Swift Relative Date
How to check if App running live from AppStore?
Hide SearchBar in UITableView
Swift Date Extension
Swift - Generate SHA256
Formatting double as currency
Using CocoaLumberjack
What's new in Swift 5?
Xcode
Xcode shortcuts which I use frequently
Date
Swift Relative Date
Swift Date Extension
How to extract timezone from ISO8601 Date?
TimeZone
How to extract timezone from ISO8601 Date?
macOS
Start a web server on macOS
Tools that I prefer to use on macOS
Script
Generating App Icons
Git
Pre-commit script
CI-CD
Github Actions with fastlane
Fastlane just compile or build for iOS Simulator
fastlane AppCenter
fastlane fabric
fastlane TestFlight
Fastlane
Github Actions with fastlane
Fastlane just compile or build for iOS Simulator
fastlane AppCenter
fastlane fabric
fastlane TestFlight
TestFlight
fastlane TestFlight
Fabric
fastlane fabric
AppCenter
fastlane AppCenter
XCode
XCode Folders
Mock
Mocking Data
Jekyll
Jekyll - Generate Categories Page
Date Time Formatter for Jekyll
Crypto
Swift - Generate SHA256
UIKit
Changing UIBarButtonItem Font
Hide SearchBar in UITableView
Pod
Adding acknowledgements for pods in your app
CocoaPod
Adding acknowledgements for pods in your app
Scripts
Convert SVG to png macOS command
Veu.js
Code Snips for Vue.js
zsh
git commands on zsh which I use Most commonly
Pods
Cocoapods which I use
iCloud
Swift - Check iCloud Availibility
iOS 13 iCloud Data Sync
apache
Start a web server on macOS
server
Start a web server on macOS
Video
Play video in a UIView as a layer
SinglyLinkList
Singly Link List - Remove those total is zero
Singly Link List - Remove Loop
Singly Link List - Delete Head
Singly Link List - Delete Last
Singly Link List - Delete Before
Singly Link List - Delete After
Singly Link List - Insert Before
Singly Link List - Insert After
Singly Link List - Insert at End
Singly Link List - Insert at begining
Singly Link List - Display Middle
Singly Link List - Inverse
Singly Link List - Display
DataStructure
Data Structure - Link List Swap nodes in pair
Data Structure - Recursion
Array Rotation
Binary Tree - Search
Binary Tree - Insert
Binary Tree - level order traversal
Binary Tree - Find height of a tree
Binary Tree - in order traversal
Binary Tree - post order traversal
Binary Tree - pre-order traversal
Singly Link List - Remove those total is zero
Singly Link List - Remove Loop
Singly Link List - Delete Head
Singly Link List - Delete Last
Singly Link List - Delete Before
Singly Link List - Delete After
Singly Link List - Insert Before
Singly Link List - Insert After
Singly Link List - Insert at End
Singly Link List - Insert at begining
Singly Link List - Display Middle
Singly Link List - Inverse
Singly Link List - Display
InAppPurchase
Swift - In App Purchase Receipt Validation
BinaryTree
Binary Tree - Search
Binary Tree - Insert
Binary Tree - level order traversal
Binary Tree - Find height of a tree
Binary Tree - in order traversal
Binary Tree - post order traversal
Binary Tree - pre-order traversal
Array
Array Rotation
SwiftUI
SwiftUI - ListView with Swipe Delete
SwiftUI - FAB Action Button
SwiftUI - List view with Elevated Cards
SwiftUI - Elevated Card View
SwiftUI - List / UITableView Remove Separator
SwiftUI - UIImagePickerView
SwiftUI - Pop a view from Navigation
Navigation
Android - Change Root of Navigation Stack
SwiftUI - Pop a view from Navigation
List
SwiftUI - List / UITableView Remove Separator
macOSCatalyst
Avoid installing Pods for macOS Catalyst
macOS Catalyst - Hide Title Bar
macOS Catalyst - Mouse Hover - hightlight
git
Git - Undo last commit
Android
Android - Read SMS
Android - Basic setup
Android - Full screen BottonSheetDialog
Android - Show MaterialDropdown
Android - Hide Show ActionBar Menu Item
Android - Regex
Android - Copy text to clipboard
Android - Set button icon
Android - Changing button background color
Android - Using Switch UI Component
Android - Strings - Hard Space
Android - Touch ID - Device Passcode
Android - Is internet connected?
Android - Secure Shared Preferences
Android - Change Root of Navigation Stack
Android - Kotlin - Retrofit
Android - Debug and Release config
Android - Get UDID Unique device identifier
Android - Animate Fragment on Navigation Graph
Android - Kotlin - Show hide password on input field
Android - Kotlin - Fragment Layout Binding
Android - Kotlin - Validate Email
Android - Kotlin - Dismiss Keyboard
Android - Kotlin - Share Intent - ImageView's Image
Android - Kotlin - Navigation drawer with navigation component
Android - Kotlin - Share Intent - text/plain
Android - Kotlin - Navigation Component - SafeArgs
Android - Kotlin - Navigation Component
Android - Kotlin - Navigation Drawer
Android - Firebase Push notifications - Foreground Snackbar, Background NotificationManager
Android - Kill App programmatically
Android - Kotlin - EventBus - Communication between two activities
Android - Kotlin - Check App is in background or foreground
Android - Kotlin - Show AlertDialog
Android - Root Check
Android - Kotlin - Options Menu
Android - Kotlin - FAB with options
Android - Kotlin - Room
Android - Kotlin - Showing Snackbar
Android - Kotlin - RecyclerView didScrollToEnd
Android - Kotlin - RetroFit, RecyclerView, Pull to load more, pull to refresh
Android - Kotlin - RecyclerView with Pull to refresh with Volley Example
Android - Kotlin - RecyclerView + Pull To Refresh
Android - Kotlin - RecyclerView Clickable
Android - Kotlin - RecyclerView Example
Android - Kotlin - Volley - basic get request
Android - Kotlin - Change Action bar title
Android - Kotlin - ListView - download image
Android - Kotlin - ListView with ArrayAdapter
Kotlin
Android - Changing button background color
Android - Using Switch UI Component
Android - Strings - Hard Space
Android - Touch ID - Device Passcode
Android - Is internet connected?
Android - Secure Shared Preferences
Android - Kotlin - Retrofit
Android - Kotlin - Show hide password on input field
Android - Kotlin - Fragment Layout Binding
Android - Kotlin - Validate Email
Android - Kotlin - Dismiss Keyboard
Android - Kotlin - Share Intent - ImageView's Image
Android - Kotlin - Navigation drawer with navigation component
Android - Kotlin - Share Intent - text/plain
Android - Kotlin - Navigation Component - SafeArgs
Android - Kotlin - Navigation Component
Android - Kotlin - Navigation Drawer
Android - Firebase Push notifications - Foreground Snackbar, Background NotificationManager
Android - Kill App programmatically
Android - Kotlin - EventBus - Communication between two activities
Android - Kotlin - Check App is in background or foreground
Android - Kotlin - Show AlertDialog
Android - Root Check
Android - Kotlin - Options Menu
Android - Kotlin - FAB with options
Android - Kotlin - Room
Android - Kotlin - Showing Snackbar
Android - Kotlin - RecyclerView didScrollToEnd
Android - Kotlin - RetroFit, RecyclerView, Pull to load more, pull to refresh
Android - Kotlin - RecyclerView with Pull to refresh with Volley Example
Android - Kotlin - RecyclerView + Pull To Refresh
Android - Kotlin - RecyclerView Clickable
Android - Kotlin - RecyclerView Example
Android - Kotlin - Volley - basic get request
Android - Kotlin - Change Action bar title
Android - Kotlin - ListView - download image
Android - Kotlin - ListView with ArrayAdapter
NodeJS
NodeJS - Mongoose - Pagination
NodeJS - Passport Local - Mongoose
Passport
NodeJS - Passport Local - Mongoose
Mongoose
NodeJS - Mongoose - Pagination
NodeJS - Passport Local - Mongoose
Pagination
NodeJS - Mongoose - Pagination
Layout
Android - Set button icon
Android - Kotlin - Fragment Layout Binding
Animate
Android - Animate Fragment on Navigation Graph
Retrofit
Android - Kotlin - Retrofit
Secure
Android - Secure Shared Preferences
Material
Android - Show MaterialDropdown
Dropdown
Android - Show MaterialDropdown
BottonSheetDialog
Android - Full screen BottonSheetDialog
NavigationUI
Android - Basic setup
Fragments
Android - Read SMS
Android - Basic setup
SMS
Android - Read SMS
Recent Posts
Android - Read SMS
Android - Basic setup
Android - Full screen BottonSheetDialog
Android - Show MaterialDropdown
Android - Hide Show ActionBar Menu Item
Tags