• 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: Multiple Windows and Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Windows and Cocoa


  • Subject: Re: Multiple Windows and Cocoa
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 10 Sep 2003 22:25:39 +0200

At 14:22 Uhr +0000 10.09.2003, email@hidden wrote:
> probably have to send "makeKeyAndOrderFront:". The data for the window can
be set up in the window's controller class before sending he "isVisible:YES".

Actually, I just took a look at the Apple developer site and the "isVisible:"
message should not be necessary; the "makeKeyAndOrderFront:" message should
also make the window visible.

Uh ... folks? isVisible is a "get"-accessor. It doesn't have a colon behind it, no parameters. Here's the definition from NSWindow.h:

- (BOOL)isVisible;

and no, there's no setIsVisible: method. There's only orderOut:.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: Multiple Windows and Cocoa
      • From: Alan Somers <email@hidden>
References: 
 >Re: Multiple Windows and Cocoa (From: email@hidden)

  • Prev by Date: Re: Encodings problem
  • Next by Date: Re: Encodings problem
  • Previous by thread: Re: Multiple Windows and Cocoa
  • Next by thread: Re: Multiple Windows and Cocoa
  • Index(es):
    • Date
    • Thread