Whatever you do to an app that isn't yours:
use the APIs supplied for Interapplication Communication, as there
are (among others):
AppleEvents, AppleScript, Accessibility...
These ensure sufficient isolation between the objects involved, and
they are (to a certain extend) likely to survive t
On Fri, Jan 7, 2011 at 10:42 AM, eveningnick eveningnick
wrote:
> Kyle,
> thanks for the warning, i understand the problems it may cause.
> but what if i was doing that, how should have i sent a message to an
> object of the host application?
Quite simple: you don't. Ever. If your host object doe
Kyle,
thanks for the warning, i understand the problems it may cause.
but what if i was doing that, how should have i sent a message to an
object of the host application?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
On Fri, Jan 7, 2011 at 6:09 AM, eveningnick eveningnick
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 "-
Hello
is it possible to set up the System Preferences height programmatically?
I have 3 possible NSViews of different height (but the same width),
which are displayed depending on what current settings does the user
have.
I am aware that System Preferences automatically changes the size of
its win