If getting error as Encountered an error communicating with IBAgent-iOS or you don’t have permission to save the file Open Terminal and type — sudo chmod 777… Read more “Don’t have permission or IBAgent-iOS issue”
Category: iOS (Swift)
Codable in Swift
Best Tutorial i Found for Codable: Coable is for converting JSON data to object (decodable) and object into JSON format (encodable) struct Loan: Codable { … Read more “Codable in Swift”
How set environment in iOS?
using config file https://blog.kiprosh.com/environment-setup-to-manage-different-app-name-icon-and-endpoint-using-xcode-configurations-in-ios-swift-language/ – Best one https://www.freecodecamp.org/news/managing-different-environments-and-configurations-for-ios-projects-7970327dd9c9/ using multiple target View at Medium.com https://www.appitventures.com/blog/setting-up-xcode-targets-how-to-create-multiple-ios-builds-with-different-api-environments
Display time as “Time Ago” in Swift
create Date extension like Date+Extension.swift and use it like If you have date in string convert that to Date using bellow code String to Date Date to… Read more “Display time as “Time Ago” in Swift”
LocalNotification with Time Schedule in Swift
use this AppDelegate.swift code