On Fri, Jan 7, 2011 at 6:09 AM, eveningnick eveningnick
<eveningn...@gmail.com> 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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to