This tag refer to apple documentation, it's helpful to add it to the questions related with iOS development or any Frameworks/Service/API of Apple platforms documentation.
I am currently working on building iOS SDK, written in Objective-C.
Now that I have SDK tested and ready, would wanted to add Documentation to it combining Swift and Objective-C.
I have worked on following Doc generator tools
a. Doxygen
b.…
Xcode (I'm on v13.1) warns me, that quantityType(forIdentifier:) will be deprecated in a future version of iOS.
I thus checked in Apple's developer documentation for a hint what else to use. Surprisingly, on the documentation it is not labeled as…
I am using DocC for the first time, and after reading your docs, there are 4 things I don't know how to do it, can you help me?
How can I mark public methods to tell DocC that I don't want to generate documentation for a specific method?
For…
I want to get the Mouse Tracking Speed on OSX all the methods I've found on the documentation, like IOHIDGetAccelerationWithKey have been deprecated. Is there any way to do this? I haven't found an example that doesn't use the deprecated methods and…
I attempted to add a device UDID to the Apple Developer Portal(copy-pasted from iTunes device summary), but I received this error:
"The following devices are either already present and were not modified or contain invalid identifiers"
The UDID has…
I tried looking for the ternary operator in the NSExpression documentation, but I couldn't find anything. I ended up finding an obscure reference in a 3rd party website to a TERNARY function, so I tried it out and sure enough, it worked.
Had I not…
I need to check if the app exist on system disk. And it works fine if I don't have connected external hard drive. But it also returns me the path to apps on external hard drive sometimes.
I use absolutePathForAppBundleWithIdentifier method of…
Looking at Apple documentation, I see that they are recommending removing Core Data initialization code out of AppDelegate. Their approach is below.
What I don't understand are the following
The sentence below in the documentation. How is there…
I'm using an NSExpression to evaluate simple strings such as:
NSExpression(format: "1 + 1").expressionValue(with: nil, context: nil) as? Int == 2
Some of my strings have more complex logic, and I'd like to use a ternary operator. I tried using the…
I am working on changing the types of notifications in my app to time-sensitive and active on iOS 15+. I noticed that if I go to iPhone settings -> Notifications -> and open apps like Uber or FB Messenger I see that they have a separate flag that…
Question:
What is the correct format to add documentation (using built in functionality not 3rd party) to a custom Swift closure in Xcode 8 ?
Could you provide the Apple documentation link to refer ?
How to specify the closure parameters ?
How to…
According to Apple Docs here, you are allowed to create sandbox users with an email sub-address of your base email address Apple ID.
For example, if my Apple ID email address is user@email.com, I could create a sandbox user with…
I'm fairly new to programming and I'm reading the Start Developing iOS Apps (Swift) programming guide. I understand that optionals have a question mark suffix which means the value could be nil or some other value. Apple's guide is walking us…
In Apple's documentation there are "Subclassing Notes" which sometimes may say to not subclass a specific class. For example HKHealthStore has this verbiage in its documentation: "Like many classes in HealthKit, the HKHealthStore class should not…
I'm trying to use the moveItemAtPath method, but I am getting an error about using an interface.
> #import
>
> int main(int argc, const char * argv[]) {
> @autoreleasepool {
> NSFileManager *manage = [NSFileManager…