Re: NSRulerView
Re: NSRulerView
- Subject: Re: NSRulerView
- From: Dave Keck <email@hidden>
- Date: Tue, 28 Jul 2009 16:09:50 -1000
Hmm, us Americans spell it 'centimeter,' and according to the
mentioned docs, NSRulerView does too. The docs also say it supports
four different units by default (in, cm, pt, pc). Not sure what
'default' means in this case, but I'd assume it means calling
+registerUnitWithName:... is redundant for these four units. I've
never used NSRulerView, but the docs seem to imply that your code
should work. (Although it's certainly a strange style to avoid setting
the new instance of NSRulerView to a variable before
-setMeasurementUnits: on it, even if that's the only message you send
to it; but I'm guessing that was just for brevity.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden