Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spreadsheets-NSTableView-JTable???




On Sep 30, 2004, at 10:26 AM, email@hidden wrote:

email@hidden wrote:
| This may be off-topic. If it is direct me to the correct list.

It's fine here, so long as you're writing in Java. However, since your questions seem to be more about Cocoa than Java, you might do better to post to cocoa-dev.

Agreed on both counts. The Cocoa-dev folks probably have a better handle on NSTableView than most of the Java developers here. Cocoa-java developers are rare, while pure Java and ObjC cocoa developers are more common.


| I need to build [a spreadsheet]. I wanted to write it all in Cocoa. I
| thought that NEXT, and then OSX, were firmly established and matured frameworks.


They're probably as mature as anything out there.

That matches my feeling.

| I planned on using NSTableView.
|
| Then I read a MacTech article on NSTableView (MacTech - v.18-no.9,
| Sept.2002) and my impression from that article is that NSTableView is
| NOT applicable for "cell-based display and selection like you would
| find in a spreadsheet." [MacTech, v.18, no.9, page 8, column 1,
| Introduction, paragraph 2, line 8] The article then said it would be
| wise to roll your own classes if you want to use Cocoa.

As I've no idea what the author said, nor what the context was, it's hard to comment. It would have been helpful had you quoted the relevant text. (The article in question isn't available on mactech.com, and I don't have any paper back issues handy.)

I seem to recall that two of the MacTech authors went to the Big Nerd Ranch cocoa class within the last year. They may have different opinions after that experience.


Having looked at the API, I see no reason why you could not use an NSTableView for a spreadsheet. About the only real problem that leaps to my mind is the "in cell and toolbar" editing feature, as I seem to recall that keeping two edit fields with cursors in them was not a built in API feature.

Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >spreadsheets-NSTableView-JTable??? (From: email@hidden)
 >Re: spreadsheets-NSTableView-JTable??? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.