On Apple's documentation of the Contacts Framework for iOS and Swift on their developer website, there is a section called Change History Data.
It consists of a list of classes and one protocol. The protocol seems to be the most important item of the list - the CNChangeHistoryEventVisitor protocol. The protocol apparently has instance methods each of which use one of those classes listed.
Where do I find documentation to use this protocol and these classes?
Anyone ever use these before?
Here's the list:
class CNChangeHistoryAddContactEvent
class CNChangeHistoryAddGroupEvent
class CNChangeHistoryAddMemberToGroupEvent
class CNChangeHistoryAddSubgroupToGroupEvent
class CNChangeHistoryDeleteContactEvent
class CNChangeHistoryDeleteGroupEvent
class CNChangeHistoryDropEverythingEvent
class CNChangeHistoryEvent
class CNChangeHistoryFetchRequest
class CNChangeHistoryRemoveMemberFromGroupEvent
class CNChangeHistoryRemoveSubgroupFromGroupEvent
class CNChangeHistoryUpdateContactEvent
class CNChangeHistoryUpdateGroupEvent
protocol CNChangeHistoryEventVisitor
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
For some reason, when I set UITableViewController navigationItem.searchController with a UISearchController, it doesn't take it.
Here is my code:
let searchController = UISearchController(searchResultsController: nil)
if #available(iOS 11.0, *) {
print("?", navigationItem.searchController)
print("!", searchController)
navigationItem.searchController? = searchController
print("?", navigationItem.searchController)
} else {
tableView.tableHeaderView = searchController.searchBar
}
Here is the debug window:
? nil
! <UISearchController: 0x105077600>
? nil
For some reason, my Xcode project won't run. I tried clicking on the run button, and I tried clicking on the Run option in the Product Menu. I also clicked on the Clean build folder under the Product menu.
Recently, the items in Project navigator of all my projects show as black instead of in color like before.
What's causing this. I also noticed other changes when I create a new iOS app project.
My DerivedData folder is supposed to be in Library/Developer/Xcode/DerivedData. Why is it not there. Is there a setting in Finder that is hiding files from me? Did my Xcode get installed with folders in a different location than usual?
How do I turn on that setting in Xcode that allows me to see how the beginning of a loop or if statement lines up with the ending of the loop as far as the number of tabs or the distance from the left border of the code editor. I have seen this on by default before. I don't know what it's called, so I don't know hot to search for it in Xcode help or on the internet or on forums.
In the context of OperationQueue, specifically in the documentation for the waitUntilAllOperationsAreFinished(), addOperation(Operation), and addOperation(()-Void) functions, what does "receiver" refer to? Does it refer to the instance of OperationQueue that calls the function?
I'm looking at this Swift documentation on Literal Expression, particularly the #dsohandle literal. It's the last line in the table.
I can't find any documentation by Apple for "dynamic shared object (DSO) handle", as it says in the very right-most column. When I do a search for "dynamic shared object", I find information for technology by other companies.
Anyone have anything you can tell me about this?
Would someone explain something about this content I got from this URL to Apple documentation?
Logging
”You view log messages using the Console app, log command-line tool, or Xcode debug console. You can also access log messages programmatically using the OSLogframework.”
I’m not sure what Console app runs on. Is that an app on macOS? I’m not really sure what to ask really. I’m looking for a way to get debug data from people using my app who download it from the App Store, so they won’t be using TestFlight.
I did a search on Google but didn’t find what I needed to know. I’m trying to connect to the App Store on my iPhone, but it’s not able to connect. That seems to happen often for some reason.
I wonder if this is talking about the Console app that I’m wondering about? https://help.dayoneapp.com/en/articles/470117-using-ios-console
What is that feature called that shows a picture of the entire contents of the file on the right-hand side of the editor and shows it very small like it's zoomed out and shows the part of the file that is currently showing in the editor in a different shade in the picture? I am describing this to the best of my ability. I hope it comes across clearly.
Am I able to see what Logger logs from my app when it's running on a device belonging to an external tester if my app doesn't crash? Am I able to see the logs if my app does crash?
I am using Swift with Xcode for iOS.
If Apple Documentation does not say whether a certain method is allowed to be run on a background thread other than the main UI thread, does that mean it can or cannot be run on a background thread?
Is there a way to use CallKit on the current service the device is subscribing to, such as ATT? I want to create an app that will block all emergency bypass, since I can’t programmatically turn emergency bypass off.
Apple Documentation says that there is only one CNContainer in an iOS device of type local. Creating a container of type exchange requires using Exchange, and creating a container of type cardDAV requires a server also. Is there any way to create a container of type unassigned? I would need to do this programmatically in Swift to use in my iOS app.
This question and the posts it mentions give no answer.
Hi. Is there a way to programmatically allow my iOS app to prevent all calls from making a sound or causing the iPhone to vibrate, other than unselecting Emergency Bypass from each contact? If not, is there any way to temporarily or permanently unselect Emergency Bypass on any given Contact? If not, is there any way of programmatically shutting off the iPhone?