• 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: creating sth like "System Preferences"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating sth like "System Preferences"


  • Subject: Re: creating sth like "System Preferences"
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 12 Jul 2002 20:26:38 -0700

On Friday, July 12, 2002, at 07:54 PM, Hok Chun So wrote:

Dear all,

I am a newcomer to Cocoa.

In OS X application - System Preferences, users can choose the icons below the toolbar and the window redraws itself and resize itself nicely.

How can I create such an effect? I will be great if you can outline what APIs I should look for.

The method you want is -setFrame:display:animate: in the NSWindow class.

Is there any sample code?

I don't think so, but it's a pretty simple thing to use.

-jcr



John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.

  • Follow-Ups:
    • Re: creating sth like "System Preferences"
      • From: Thomas Harrington <email@hidden>
References: 
 >creating sth like "System Preferences" (From: Hok Chun So <email@hidden>)

  • Prev by Date: Re: NSCell subclass
  • Next by Date: Stupid question -- where is objc.h?
  • Previous by thread: creating sth like "System Preferences"
  • Next by thread: Re: creating sth like "System Preferences"
  • Index(es):
    • Date
    • Thread