• 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: Bindings Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings Question


  • Subject: Re: Bindings Question
  • From: Chris Idou <email@hidden>
  • Date: Thu, 25 Sep 2008 17:39:39 -0700 (PDT)

Normally you would have the table controlled by a NSArrayController. You would bind the button to an action method which would take the value from the text field and pass it to addObject: method of the array controller.


--- On Thu, 9/25/08, Eric Lee <email@hidden> wrote:

> From: Eric Lee <email@hidden>
> Subject: Bindings Question
> To: email@hidden
> Date: Thursday, September 25, 2008, 5:34 PM
> I have an app that I'm making for practice that has a
> tableview, and a
> text field (and many other things, but the ones that are
> the problem
> are these two)
>
> I just successfully changed my app to use bindings.
> However, whenever
> I pressed a button before, something would be added into a
>
> NSMutableArray, and then the string would show up in the
> table view.
>
> Now, something IS added into the NSmutableArray, and will
> show up, but
> not the string. The thing that's added is just this
> blank.
>
> How do you solves these so that when I press the button,
> the string in
> the text field will actually be added and shown in the
> table view?
>
> Thanks!
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to
> the list.
> Contact the moderators at
> cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bindings Question
      • From: Eric Lee <email@hidden>
References: 
 >Bindings Question (From: Eric Lee <email@hidden>)

  • Prev by Date: Bindings Question
  • Next by Date: Re: popup button wierdness
  • Previous by thread: Bindings Question
  • Next by thread: Re: Bindings Question
  • Index(es):
    • Date
    • Thread