• 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: Challenge 2 in Chapter of A. Hillegass's Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Challenge 2 in Chapter of A. Hillegass's Book


  • Subject: Re: Challenge 2 in Chapter of A. Hillegass's Book
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 2 Nov 2005 08:27:17 -0500

George:

You may find this helpful: http://www.cocoadevcentral.com/articles/ 000064.php

--
I.S.


On Nov 2, 2005, at 5:44 AM, George Greene wrote:

hi,

i'm reading "Cocoa Programming For Mac OS X". in chapter 9, the author ask us to create another nib file for a custom "About" panel.

i need a little help. i created the nib fie, but i don't see how to connect it or how to have it display itself when the user clicks on the About Application.

i know i'm missing something.
does the AppController need a AboutController?
does the AppController need a method that would show the About panel?

i tried something like this:

#import <Cocoa/Cocoa.h>
@class PreferenceController;
@class AboutController;

@interface AppController : NSObject{
      PreferenceController   *preferenceController;
      AboutController           *aboutController;
}
     -(IBAction)showPreferencePanel:(id)sender;
     -(IBActon)showAboutPanel:(id)sender;

@end

i saved and then dragged the AppController.h into the MainMenu.nib. i thought at this point there would be some connection for me to make, but there was not.

ok, that thought was wrong.
using Interface Builder, i created the new nib, but i don't see any way to get the response i'm looking for, clicking the About Application in the Application menu and having it display the custom About panel.


does AppController need to know about the AboutPanel? i'm lost a bit, ok a lot.

thanks for any help you can give to get me on the right thought path.
if you can, please, point me to a reference that might help, another book, apple documentation page, etc.


g.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Challenge 2 in Chapter of A. Hillegass's Book (From: George Greene <email@hidden>)

  • Prev by Date: How to get the Image From QCView
  • Next by Date: Re: Changes in CoreData/10.4.3?
  • Previous by thread: Challenge 2 in Chapter of A. Hillegass's Book
  • Next by thread: Re: Challenge 2 in Chapter of A. Hillegass's Book
  • Index(es):
    • Date
    • Thread