NSController and NSRect help
NSController and NSRect help
- Subject: NSController and NSRect help
- From: Freddie Tilley <email@hidden>
- Date: Sat, 18 Dec 2004 10:06:11 +0100
Howdy, I've got a problem
Is there a way to access specific elements of let's say an NSRect struct
with NSController without having to write wrapper functions in the object
or Subclassing NSController, so I can put the x, y, width and the height
in a text field
so I can have keep my object clean like:
-(NSRect)frame
-(void)setFrame:(NSRect)frame;
instead of adding this just to use NSController:
-(float)frameOriginX;
-(void)setFrameOriginX:(float)x;
-(float)frameOriginY;
-(void)setFrameOriginY:(float)y;
-(float)frameWidth;
-(void)setFrameWidth:(float)width;
-(float)frameHeight;
-(void)setFrameHeight:(float)height;
Thanks in Advance
Freddie Tilley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden