• 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
How do I get the (int)Value of an NSStepperCell in an NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I get the (int)Value of an NSStepperCell in an NSTableView?


  • Subject: How do I get the (int)Value of an NSStepperCell in an NSTableView?
  • From: Judith Maria Nefertari Dohmann <email@hidden>
  • Date: Tue, 20 Apr 2004 07:56:21 +0200

Dear listmembers,

I still have trouble with cells in NSTableView s.
I want to have a NSTableView with two columns, in the first one
are numbers in the second are NSStepperCells which I want to
use to change the numbers. I put this together in InterfaceBuilder.

In my datasource-object I have an NSMutableArray which contains
the entries of the first column.

But now I am stuck, I have no idea how to get/set the values of the
steppers and the corresponding numbers.

I have also tried to connect my two steppercell to an action which
only prints the intValues of the steppercell via NSLog, but there
I get only the values 1 and 2, 1 usually in the first row, 2 in the
second (but after a second click), independent of the arrow
I click (up or down).

Any help or links to tutorials where this is described would be really
appreciated.

Thanks,

Judith Dohmann
_______________________________________________
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: How do I get the (int)Value of an NSStepperCell in an NSTableView?
      • From: James Chen <email@hidden>
  • Prev by Date: Re: Receiving modifer-clicks on open menus
  • Next by Date: Re: [Q] Why unsolicited dealloc in NSKeyedUnarchiver?
  • Previous by thread: Re: cocoa-dev digest, Vol 2 #4042 - 4 msgs
  • Next by thread: Re: How do I get the (int)Value of an NSStepperCell in an NSTableView?
  • Index(es):
    • Date
    • Thread