3 ms·
Yeah, and Objective-C and now Swift inherited that same convention. Objective-C: [self frob:param1 withObject:param2]; Swift: self.frob(param1, with
by jurip 11y ago
Yeah, and Objective-C and now Swift inherited that same convention.
Objective-C:
[self frob:param1 withObject:param2];
Swift:
self.frob(param1, withObject:param2)
- protomyth 11y agoafter going through and starting to learn Swift, I really wish self.frob(param1, withObject:param2) could be written as self.[frob:param1 withObject:param2]