What control/view should i use for a very specific requirment
What control/view should i use for a very specific requirment
- Subject: What control/view should i use for a very specific requirment
- From: "Ankur Singhal" <email@hidden>
- Date: Thu, 26 Feb 2009 14:02:30 +0530
Hi All,
We need to show data of a file in 3 columns table as shown below:
Part1 Part2
Part3
----------------------------------------------------------------------------
-------------------------------------------------------
0000 | 3c 3f 77 70 6c 20 20 76 65 73 73 69 6f 6e 3d 22 31 2e 30 22 3f 0d
0a 3c 73 | <?wpl version="1.0"?>..<s |*|
0019 | 6d 69 6c 3e 0d 0a 20 20 20 3c 68 65 61 64 3e 0d 0a 20 20 20 20 20 20
20 20 | nil>.. <head>.. |*| <---Scroller
0032 | 20 3c 6d 65 74 61 20 6e 61 6d 65 3d 22 47 65 6e 65 72 61 74 6f 72 22
20 63 | <meta name="Generator" c |*|
Part1: It shows offset (in hex) from start of file
Part2: It shows hex contents of file (each row shows 16 bytes in hex)
Part3: Its shows text equivalent of what is shown in Part2. (each row shows
16 bytes in ASCII)
Requirements:
1. All 3 parts share single scroll bar.
2. User should be able to select indivisual or multiple hex values in
part 2, if user does so corresponding data should get selected in part 3.
3. If user selects one or more hex values in Part 2 I should be able
to calculate hex value of whole selection as if all selected hex values are
forming a single hex value.
What can I do:
1. I can use 3 NSTableViews one for each part, but that may not
fulfull requirment 1 as how can I make 3 three different tableviews scroll
at same time. Requiremnt 2 may not also be fullfilled as NSTableView does
not allow multiple selection.
Please suggest me what control/view should I use that can solve my purpose.
Thanks & Regards,
Ankur Singhal
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden