• 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
tableviews, strings, columns, complicated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tableviews, strings, columns, complicated


  • Subject: tableviews, strings, columns, complicated
  • From: Francisco Tolmasky <email@hidden>
  • Date: Sat, 17 May 2003 13:05:06 -0700

I have a program in which I will display a sequence of characters, for example:

...
123456
123456789
82838347
...

These strings will be rows within a tableview. Now, I also want to be able to manipulate an entire column at once as well. For example, I would like to take the entire third column of the string and move it to be the first column through dragging and dropping:

...
312456
312456789
88238347
...

Or, possibly insert a new character, such as a space, in all of them:

...
31 2456
31 2456789
88 238347
...

My first inclination was to have a tableview with as many columns as characters in the biggest string. That way you can easily shift the columns around and rearrange the characters. Also, in this fashion you can also select a certain column, and after you type a character in, a new column can be generated with that character (such as a space).

Is this efficient? The strings will contain several hundred characters. So is it better to simulate this in some other fashion?

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.

  • Prev by Date: Re: Future Objective-C changes
  • Next by Date: Re: Multithreading Dilemma
  • Previous by thread: Fullscreen and events
  • Next by thread: Cocoa --> Java Interfaces?
  • Index(es):
    • Date
    • Thread