You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift reserves the description property for something like Java's toString() function. So we should make the description property descriptive of the object, so that when we call print(myObject), a string describing the object is printed.
The text was updated successfully, but these errors were encountered:
Swift reserves the
description
property for something like Java'stoString()
function. So we should make the description property descriptive of the object, so that when we callprint(myObject)
, a string describing the object is printed.The text was updated successfully, but these errors were encountered: