On Fri, Jan 7, 2011 at 6:09 AM, eveningnick eveningnick
<[email protected]> wrote:
> I was thinking that my pane is operating in the address space of
> System Preferences, which means i can send messages to objects of this
> application. Can i somehow retrieve the object of main window and send
> it something like "-setFrame" ?

Don't ever do that. There's no guarantee of this. Your preference pane
can be loaded by any application, and there's nothing keeping a future
version of System Preferences from loading your pane in a sandbox.

Objects outside your own preference pane are not yours to touch.

--Kyle Sluder
_______________________________________________

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