Re: Dynamic menu building
Re: Dynamic menu building
- Subject: Re: Dynamic menu building
- From: j o a r <email@hidden>
- Date: Fri, 15 Aug 2003 20:43:14 +0200
Right, the pointer variable is just a "handle" to the object, to let
you have some way of finding and interacting with the object.
In this example, once you've placed the menu item in the menu you no
longer need to have a variable for it - you can find it in the menu -
and can therefore at that point re-use the variable for some other
object.
j o a r
On den 15 augusti 2003, at 19:54:02PM, April Gendill wrote:
let me break this down then to the simplest question....
I think its getting clear but you'll see by the question I'm going to
ask, whether or not I understand.
the submenus I need to create, are treated by cocoa then exactly as
any of the items i would add to the mastermenu?
thusly the variable name in the loop means nothing outside the loop
and is only a reference used while actually creating that particular
submenu and adding items to it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.