On Nov 9, 2008, at 3:07 PM, Graham Cox wrote:
+(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p degrees:(CGFloat) deg;

A handy method, but I wonder if it could be named to be more readable with respect to its actual function, for example:

+ transformWithPoint:rotatedByDegrees:

I would highly recommend that you prefix your category methods with some kind of a unique identifier.

I.e.

TN_transformWithPoint:rotatedByDegrees:

Objective-C does not have namespaces, not for classes and not for methods.

Much confusion and lost time has been caused by a software update adding a method that a developer already has in a category somewhere....

b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to