• 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
Re: System Preference like App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Preference like App


  • Subject: Re: System Preference like App
  • From: cocoa learner <email@hidden>
  • Date: Sun, 24 May 2009 20:22:10 +0600

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 <email@hidden>wrote:

> Thanx for your correction. Let me try this.
> Regards
> Cocoa.learner
>
>
> On Sun, May 17, 2009 at 10:34 PM, Uli Kusterer <
> email@hidden> 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 (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

  • Follow-Ups:
    • Re: System Preference like App
      • From: Uli Kusterer <email@hidden>
    • Re: System Preference like App
      • From: cocoa learner <email@hidden>
References: 
 >System Preference like App (From: cocoa learner <email@hidden>)
 >Re: System Preference like App (From: Uli Kusterer <email@hidden>)

  • Prev by Date: RE: NSScrollView, NSTableView and NSSplitView Glitch
  • Next by Date: Re: System Preference like App
  • Previous by thread: Re: System Preference like App
  • Next by thread: Re: System Preference like App
  • Index(es):
    • Date
    • Thread