> On Jun 24, 2015, at 14:53 , Greg Parker <gpar...@apple.com> wrote: > > Swift 2 established a single default naming rule for all methods and global > functions. Swift 1 had two different rules which was confusing. The naming > rule (first parameter un-named, additional parameters named) was chosen > because it is the best fit with Cocoa methods and most one-argument > functions.
Is there a difference between init() and func...? I'm getting a warning for a func I wrote: Extraneous '_' in parameter: 'inX' has no keyword argument name But not for the init() method with the same signature. -- Rick Mann rm...@latencyzero.com _______________________________________________ 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