Hello, I am new using NSCoding protocol. I understand how it works, but I don’t know how to save and load the data. I’ve tried with NSKeyedArchiver.archiveRootObject(_:toFile:) and NSKeyedUnarchiver.unarchiveObject(withFile:), but I get a warning saying that they were deprecated. What method should I use? Thank…

Hello, i just started lern the Swift4 and have this trouble, i try use SerchBar and have error (2019-09-07 15:28:18.604943+0300 Todoey[2177:112494] [Common] _BSMachError: port 7403; (os/kern) invalid capability (0x14) “Unable to insert COPY_SEND”) How i can fix it?   import UIKit import CoreData class TodoListViewControllerist:…

ello, i’m running a query to Firebase and i need to get the document ID of the collection. This is the code to run the query:   Variable   private var ptListInCell = [PTList]()     @IBAction func getDataTapped(_ sender: Any) {         SVProgressHUD.show()        …