3 ms·
No, that is the old Objective-C style. It is definitely not idiomatic.
by user-the-name 6y ago
No, that is the old Objective-C style. It is definitely not idiomatic.
- ChrisMarshallNY 6y agoIn the more recent Swift and library releases, I have had to change my code to fit the above pattern, as I get deprecation errors all the time. But you are correct that it started with ObjC. That doesn't make it a bad thing. It seems that Apple is starting to circle back. I prefer the initial one that you posited. I'm pretty sure the Swift style guide suggests the way you mentioned, and not the ObjC way. BTW: I deleted the post where I talk about where I saw this. It seems folks just want to argue, and that's not why I come here.
- user-the-name 6y agoI've not seen any of these in years now. Where have they been popping up?
- deleted 6y ago[deleted]