• 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: open Drawer on startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open Drawer on startup


  • Subject: Re: open Drawer on startup
  • From: Markus Hitter <email@hidden>
  • Date: Sat, 1 Dec 2001 12:44:49 +0100

Am Samstag den, 1. Dezember 2001, um 11:55, schrieb Jake:

Donald:

Thanks for the tip. I have a table in the drawer. While this did open the
drawer. The table however won't update until it is actually clicked.

I have tried

[[myDrawer contentView] display]
and
[myTable reloadData]

both before and after the performSelector still with a whitebox.

You draw your table while the drawer is closed.

-performSelector: will inject a method into the Run Loop to be executed at a later time. If you need to do more than just opening the drawer, create a method which does opening including all drawing. Then use -performSelector: not to inject -open: but your own method.

hmmm - maybe there is some design issue, too. Calling -display is quite unusual. Drawing contents should be independant from opening the drawer. I.e. your drawing code should be called automatically when the drawer is openend. Like when the drawer's contents is exposed some other way.


Hope that helps,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


  • Follow-Ups:
    • Scribble sample
      • From: "Eiji Ikeda" <email@hidden>
References: 
 >Re: open Drawer on startup (From: Jake <email@hidden>)

  • Prev by Date: Re: open Drawer on startup
  • Next by Date: Localization of nibs / nibtool
  • Previous by thread: Re: open Drawer on startup
  • Next by thread: Scribble sample
  • Index(es):
    • Date
    • Thread