On Jun 25, 2016, at 11:59 , William Squires <wsqui...@satx.rr.com> wrote: > > But would it make a difference if you have a getter named description that > has type String?
They’re not interchangeable in Swift. The semantics are not even the same: getters aren’t allowed to mutate instance variables, for example (enforced by the compiler). Getters also can’t throw (though they’re talking about adding this in a later version of Swift.) Also, the names are distinct. You won’t see that in non-mangled form, but if you think in terms of selectors, the Swift 3 selector for a function named “description" is #selector(description), while the selector a getter for a property named “description” is #selector(getter:description). _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com