Re: drawing and setting pixels
Re: drawing and setting pixels
- Subject: Re: drawing and setting pixels
- From: Robert Dell <email@hidden>
- Date: Sat, 21 Jan 2006 06:10:41 -0500
j o a r wrote:
On 21 jan 2006, at 06.31, Robert Dell wrote:
The problem is i have those books and they ALL suggest me to use nib
files which as a plugin i can't do.
Sure you can. Why not?
ok, you run main and return nsapplication whatever. nsapplication is already running and when my nib file got loaded in my first version of the plugin, it overrode the main program's nib and the program crashed. so i have to hard code my stuff.
i need to change things myself rather than let the user change things
for me.
Huh? You are the programmer, you decide what the user can do. They can
only do a subset of what you can do, and you can do everything they can.
going by what Apple says, the user has to do all the work, not the program.
for example, i can't rely on a user to open a window with the file
menu or close it that way. scripts do that automatically already
now. can you imagine a game you like to play requiring a user to
file, new window when every game scene happens and requiring the user
to close the window every time as well? makes it an unplayable game.
Then, don't implement it that way. Where did you get the idea that the
only way to open a window is to use a menu item? You can load nib files
programmatically, just as you can create windows programmatically.
i was just giving you an example of how stupid it is to force the user to do certain things.
_______________________________________________
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