• 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
Newbie needs help with tableview and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie needs help with tableview and bindings


  • Subject: Newbie needs help with tableview and bindings
  • From: Steve Gran <email@hidden>
  • Date: Wed, 23 Nov 2005 22:30:51 -0800

I'm very new to programming (just learning it in my retirement) and so far having taken one community college class on C++ (closest thing I could get to Obj C in my area), as well as reading the books by Kochan and Hillegass and now just trying to create little apps for myself. I just want to make sure you all understand you'll have to talk to me like a six year old.

:)

And please, if possible, don't suggest that I read the Apple documentation on the Apple Developer site. I'm sure it's very helpful for all you very bright engineers but for someone like me who is just learning how to program (much less learn cocoa) their wording is often very difficult to grasp.

Anyway, the issue I'm having is creating a very simple tableview using bindings and NSArrayController (like the example in Hillegass' book in Ch 6. I want the table to have a static number of rows (10). Most (actually all) of the examples in books and the web show a tableview whose rows are created with an action (like a "create" button by the user).

But what I would like is just a 3 column by 10 row table that the user (me) can enter text into. Think of it as a top ten list that should always have ten items (or rows at least). I don't want to have to click an "Add New Item" button 10 times every time I start the app. How do I get this done using bindings and the NSController? I've done a bunch of searching on the web and can't seem to find an answer.



_______________________________________________
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: Newbie needs help with tableview and bindings
      • From: mmalcolm crawford <email@hidden>
    • Re: Newbie needs help with tableview and bindings
      • From: Brian Smith <email@hidden>
  • Prev by Date: Re: NSArray to string and back problems
  • Next by Date: Re: Newbie needs help with tableview and bindings
  • Previous by thread: Re: NSArray to string and back problems
  • Next by thread: Re: Newbie needs help with tableview and bindings
  • Index(es):
    • Date
    • Thread