• 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: NSTableView works in 10.5 but not in 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView works in 10.5 but not in 10.4


  • Subject: Re: NSTableView works in 10.5 but not in 10.4
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 08 Sep 2008 15:20:20 -0700


On Sep 8, 2008, at 2:36 PM, Ellen Chou wrote:

Hi Stephane,

Indeed, reloadData is not called at all.  But why can it work fine in
10.5.2?

When and where I should call reloadData?


That's easy; after you change your model. When do you initialize your arrays, etc? After that point, call reloadData. Possibly in - awakeFromNib.


If it is working by chance on Leopard, then it is probably because of some ordering issue that changed slightly.

corbin



Thanks,
Ellen

On Mon, Sep 8, 2008 at 9:52 AM, Stéphane Sudre <email@hidden> wrote:


On Sep 8, 2008, at 12:58 PM, Ellen Chou wrote:

I have a tree view window that uses NSTableView and NSOutlineView lists out
all the sub folders under user's home directory. For some reason, this
window shows the folder contents correctly in Mac OS 10.5.2, but not in
Mac
OS 10.4.x running on iMac which is PowerPC host running on Intel Duel Core
CPUs.


It seems to me the Notification/Event was not functioning properly in Mac
OS
10.4.x iMac. I don't get a chance to run on MacBook 10.4.x. If any one
has
MacBook Intel CPU running 10.4.x, please let me know.


Anyone run into the similar problem?


Are you referring to a specific sample code?

Which notification/event are you referring to?

When there's a display strangeness in NSTableView/NSOutlineView, the first
thing to check is that reloadData is called before at least once.



_______________________________________________

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: NSTableView works in 10.5 but not in 10.4
      • From: "Ellen Chou" <email@hidden>
References: 
 >NSTableView works in 10.5 but not in 10.4 (From: "Ellen Chou" <email@hidden>)
 >Re: NSTableView works in 10.5 but not in 10.4 (From: Stéphane Sudre <email@hidden>)
 >Re: NSTableView works in 10.5 but not in 10.4 (From: "Ellen Chou" <email@hidden>)

  • Prev by Date: Re: How do create a DMG with license agreement?
  • Next by Date: Re: NSSpellChecker (foundation) broken for custom NSSpellServer servers
  • Previous by thread: Re: NSTableView works in 10.5 but not in 10.4
  • Next by thread: Re: NSTableView works in 10.5 but not in 10.4
  • Index(es):
    • Date
    • Thread