By Developers, For Developers

Historical errata for Build Location-Based Projects for iOS

PDF PgPaper PgTypeDescriptionFixed onComments
ixTYPO

Second paragraph starts with “Though out” instead of “Throughout”

2020-05-14
7TYPO

On the first line of the paragraph following the code sample, I believe it should say that we create an instance of LogViewController rather than LogStoreViewController to match the code.

Also, at the end of that paragraph, “on top of it” rather than “on top it”.

2020-05-14
7ERROR

viewDidLoad() should be declared as a public override to avoid a compiler error

2020-05-14
7ERROR

My mistake on errata #86678. It is correct as presented. The “public” declaration is not needed. I had stored the file in the wrong folder, causing the issue.

2020-05-14
13TYPO

Third paragraph in “Joe asks:” should “because ownership is managed internally” rather than ownership is manages internally"

2020-05-14
15TYPO

if let presentedViewController = viewController.presentingViewController {

should be
if let presentedViewController = viewController?.presentingViewController {

as viewController is an optional

2020-05-13
20TYPO

Last line of Pro Tip should be “can you decide what is best for the project at hand.”

2020-05-14
21TYPO

Last line of third paragraph should start with “a placeholder”

2020-05-14
24TYPO

Line 2: “user’s location”

2020-05-13
21TYPO

On page 21 the function is not declared as public but the source code. The func below fails to compile. error = use of unresolved identifier ‘printLog’. Change code to read public func printLog(_ string: String) {…

Bad Code…
func printLog(_ string: String) {

print(string)

LogStore.log.append(string)
}

2020-05-14

Categories: