Hi Uli,I tried but getting the following error -
"Stub implementation of -setTarget by NSCell does nothing."

tell me summaries what I have done just to see if the NSMatrix
is behaving properly -

1>. I created an 2x2 NSMatrix. Set the mode as "Highlight". Even I tried all
modes.
2>. From IB dragged and dropped the NSImageCell on each NSMatrix cell.
3>. Then in Xcode I added AppController.m and AppController.h two files.
4>. I declared and defined 4 IBAction.
5>. From IB I used NSObject and this object is linked with AppController.
All IBActions are binded with NSIMageCell.
6>. I put some NSLog messages in the definition of IBActions and then built
and ran the application. Now on my app is not coming up. With above error.

I know the reason of error. As I am using the NSImageCell that's why I am
getting this exception.

Am I doing something wrong in my process to achieve System Preference like
application. Please help me.

Regards,
Cocoa.learner



On Tue, May 19, 2009 at 12:33 AM, cocoa learner <cocoa.lear...@gmail.com>wrote:

> Thanx for your correction. Let me try this.
> Regards
> Cocoa.learner
>
>
> On Sun, May 17, 2009 at 10:34 PM, Uli Kusterer <
> witness.of.teacht...@gmx.net> wrote:
>
>> On 17.05.2009, at 18:15, cocoa learner wrote:
>>
>>> 1>. Attach the NSToolBar with the main menu window.
>>> 2>. Create NSTab (tabless) on mail menu window.
>>> 3>. On the first NSTabViewItem get the NSTableView with NSImageCell.
>>> 4>. On selection of a particular cell display the respective
>>> NSTabViewItem.
>>>
>>
>>  Sounds good. Though I'd say you may want to try using NSMatrix instead of
>> NSTableView. NSTableView is for list-like tables, where you can select an
>> item and then operate on it. In the case of something like System
>> Preferences, a regular grid like NSMatrix sounds like the more natural idea.
>>
>>  That said, just try it out.
>>
>>
>> Cheers,
>> -- Uli Kusterer
>> "The Witnesses of TeachText are everywhere..."
>> http://www.zathras.de
>>
>>
>>
>>
>>
>>
>
_______________________________________________

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

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

Reply via email to