• 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: Finding windows made in Interface Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding windows made in Interface Builder?


  • Subject: Re: Finding windows made in Interface Builder?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 11 Jul 2007 11:49:38 -0400

On 7/11/07, Kai-Mikael Jää-Aro <email@hidden> wrote:
I have created a number of windows in Interface Builder, is there any
way of finding these windows programmatically?  I e, the windows
should pop up in response to clicks in various regions in a view, but
I'm not sure how to find the reference to a window so that I can tell
it to open.

You appear to have missed the basics and should read up on creating outlets. It's best to review the Currency Converter tutorial, which covers the basic workflow you lack:

 http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html

 In short, you need to create an outlet in your controller and
connect it to the window. From that point on, you can send messages to
the windows via their outlets (like "[windowOne
makeKeyAndOrderFront:someSender]" and "[fooWindow
orderOut:someSender]").

--
I.S.
_______________________________________________

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: Finding windows made in Interface Builder?
      • From: Kai-Mikael Jää-Aro <email@hidden>
References: 
 >Finding windows made in Interface Builder? (From: Kai-Mikael Jää-Aro <email@hidden>)

  • Prev by Date: Re: Tracking the amount of inbound/outbound network traffic
  • Next by Date: Re: Aggregations in a DAG with a Recursive Core Data Structure
  • Previous by thread: Finding windows made in Interface Builder?
  • Next by thread: Re: Finding windows made in Interface Builder?
  • Index(es):
    • Date
    • Thread