• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing and setting pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: drawing and setting pixels
      • From: j o a r <email@hidden>
References: 
 >drawing and setting pixels (From: Robert Dell <email@hidden>)
 >Re: drawing and setting pixels (From: Uli Kusterer <email@hidden>)
 >Re: drawing and setting pixels (From: Robert Dell <email@hidden>)
 >Re: drawing and setting pixels (From: Cameron Hayne <email@hidden>)
 >Re: drawing and setting pixels (From: Robert Dell <email@hidden>)
 >Re: drawing and setting pixels (From: j o a r <email@hidden>)

  • Prev by Date: Re: anotherDockProgram-help
  • Next by Date: Re: anotherDockProgram-help
  • Previous by thread: Re: drawing and setting pixels
  • Next by thread: Re: drawing and setting pixels
  • Index(es):
    • Date
    • Thread