• 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: Dynamic User Interface with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic User Interface with Cocoa


  • Subject: Re: Dynamic User Interface with Cocoa
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 22 Jun 2004 16:13:37 -0700

On Jun 22, 2004, at 1:53 PM, Alexander F. Hartner wrote:
You wouldn't perhaps have some sample code illustrating the add to the subview and the subsequent event handling ? That would be really helpful to me.

You can just instantiate a control with +alloc/-initWithFrame:, set its bindings with -bind:... or set its target & action with -setTarget:/-setAction:, and add it to another view with -addSubview:. It's up to you to size, position, and fully configure the control when you do this rather than use Interface Builder.

What do you mean by "subsequent event handling"?

-- Chris

--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
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.


  • Follow-Ups:
    • Re: Dynamic User Interface with Cocoa
      • From: "Alexander F. Hartner" <email@hidden>
    • Re: Dynamic User Interface with Cocoa
      • From: Georg Tuparev <email@hidden>
References: 
 >Dynamic User Interface with Cocoa (From: "Alexander F. Hartner" <email@hidden>)
 >Re: Dynamic User Interface with Cocoa (From: Chris Hanson <email@hidden>)
 >Re: Dynamic User Interface with Cocoa (From: "Alexander F. Hartner" <email@hidden>)

  • Prev by Date: Re: mouseDragged event
  • Next by Date: Re: Natural language date DISPLAY
  • Previous by thread: Re: Dynamic User Interface with Cocoa
  • Next by thread: Re: Dynamic User Interface with Cocoa
  • Index(es):
    • Date
    • Thread