Forums
Learn
Careers
Store
About
SUBSCRIBE
WWDC22 SALE: Save 50% on all my Swift books and bundles! >>
Question 1/12: Which of these statements are true?
Hint: If you're not sure, try looking at or running your code. Click to show.
Weak references must be unwrapped before use; unowned references can be used directly.
isEmpty
count == 0
isEmpty can return false as soon as it knows at least one item exists, where count == 0 has to count all the letters in a string.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.