Questions tagged [apple-documentation]

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.

Links iOS apple documentations may helpful :

29 questions
0
votes
1 answer

Where to find the official list with data that is not available for being used inside the application?

I'm looking for an official Apple documentation where I can see what data I can't or can use/access from inside my application. Spend a couple of days on a different resources, but didn't find any valuable information directly from Apple. Usually…
0
votes
0 answers

Error: “xcrun: error: unable to find utility ”docsetutil“, not a developer tool or in PATH” while creating documentation

I am using appledoc to generate Apple documentation for my framework. It seems that after upgrading to Xcode 11.2.1 it has stopped working, giving me the following error: xcrun: error: unable to find utility "docsetutil", not a developer tool or in…
athira
  • 31
  • 5
0
votes
2 answers

Why variadic parameters cannot be marked as inout in swift?

Apple documentation says, "In-out parameters cannot have default values and variadic parameters cannot be marked as inout". Why we are restricted from doing so?
rishu1992
  • 1,414
  • 3
  • 14
  • 33
0
votes
0 answers

How to Subclass NSWindowController

I was replacing the deprecated +(BOOL)loadNibNamed:owner: method in our macOS app with a more standard initWithWindowNib approach and came across the Apple guide about Document-Based App Programming Guide for Mac. One section particularly drew my…
Shebuka
  • 3,148
  • 1
  • 26
  • 43
0
votes
1 answer

How do I find the available choices for anchorType in swift?

As a beginner I'm trying to learn to properly navigate Apple's API documentation while studying a tutorial book as assistance. While following an example on programmatic constraints, I came across the following method: let leadingConstraint =…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
0
votes
2 answers

CABasicAnimation Property Listings

I'm following a Core Animation tutorial and the narrator created a CABasicAnimation object and began using all these different properties of the object such as duration, repeatCount, and autoReverse. The problem I'm experiencing is that when I…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
0
votes
0 answers

Understanding How to Apply UItableview and UITableViewDataSource Methods Based on Apple's Documentation

I'm currently going through a tutorial on UITableView. While learning I'm attempting to understand how the UITableView should be constructed by following Apple's documentation and its programming guides. In the tutorial, the developer places the…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
0
votes
1 answer

UITouch class missing init function

As I've thoroughly enjoyed my novice tutorial today on creating my own classes in Swift that can spawn object instances. I'm hoping to get better by building on this knowledge to start using Apple's Cocoa Touch API's. However while reading through…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
0
votes
1 answer

How to find out why functions are deprecated in iOS?

While learning Cocoa Touch frameworks from the new Apple documentation I've noticed that over time some functions get deprecated which appears with a strike-through line in the documentation. As engineers or developers, how do you guys find out why…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
0
votes
1 answer

Where can I find in Apple's Documentation the options for Set?

In Xcode an error displays that reads "Cannot convert value of type 'NSCalendar.Unit' to expected argument type 'Set'". The line of code that presents this error is the following: let dateComponents =…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
-1
votes
1 answer

How to customize macOS print modal for an app?

Looking at an existing macOS app I see the print modal has an app specific option: Don't print bracketed chords (hide [C], [Dm], etc.) Toggling this option updates the preview instantly. Could someone point me in the direction for the…
Patrick
  • 2,035
  • 17
  • 27
-1
votes
2 answers

Apple iBeacon: are there any usage limitations imposed by Apple?

Are there any limitations imposed by Apple when using beacons APIs? For example can I design an App that uses iBeacons as part of a game and not for providing in-store marketing? Is the app likely to be rejected?
mm24
  • 9,280
  • 12
  • 75
  • 170
-2
votes
1 answer

How to fix the layout bug in the official iOS app development guide?

I'm following the official iOS app development guide. In "Implement a Custom Control" section, after completing "Add Support for Interface Builder" sub-section and re-building the project, I am still getting layout errors in the Interface…
Utku
  • 2,025
  • 22
  • 42
-3
votes
1 answer

Why does Apple's documentation only show the properties and method signatures but not the actual code?

I'm exploring Apple's documentation and would like to understand how classes such as UIApplication do what they do under the hood however if you command click "UIApplication", Xcode only shows UIApplication's properties and method signatures but not…
Laurence Wingo
  • 3,912
  • 7
  • 33
  • 61
1
2