I haven’t done this; I’m just wondering if it’s possible.

Imagine a NSTableView with an extra row at the bottom.  (If there are no 
records, the extra row would be the table’s sole row.)  One of the columns has 
a grey-out string of “Add new name…” or something similar.  If the user 
confirms new text in that cell, the row will become a real one in the table (in 
the last position) and a new extra row will appear below it ready for new 
input.  (If the row was at the bottom of the view, the view will scroll the new 
extra row up into visibility.)  It seems like a cooler alternative to having a 
“+” button lying around somewhere in the window.  But would implementing it 
require too many heroic measures over using a button?

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to