• 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: MVC and thread-safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MVC and thread-safety


  • Subject: Re: MVC and thread-safety
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 3 Nov 2002 17:56:00 -0500

although, this isn't the best way to do this... you could make a simple TextField subclass that draws the text properly..

why they aren't synced, I don't know. and when you say out of sync.. how out of sync are they?


On Sunday, November 3, 2002, at 05:50 PM, Steve Klingsporn wrote:


Exactly.

And my two NSTextFields that are overlapped don't ever respond to any user input at all. They're not even selectable. It's simply not an issue here.

On Sunday, November 3, 2002, at 04:43 PM, Scott Anguish wrote:


On Sunday, November 3, 2002, at 05:16 PM, Mike Shields wrote:

Updating the score NSTextFields, of which there are 2 for each player, overlaid atop each other to provide the "etched" look atop my brushed metal textured window...[snip]...sometimes for some reason, they get a little visually out of sync, and the illusion is blown.

This isn't supported since overlapping NSViews isn't supported in Cocoa. Doesn't matter whether or not your threading, it's just not supported.


I'm curious what you mean by "overlapping NSViews isn't supported in Cocoa".


There are loads of cases where views are overlapped..
_______________________________________________
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: MVC and thread-safety
      • From: Steve Klingsporn <email@hidden>
References: 
 >Re: MVC and thread-safety (From: Steve Klingsporn <email@hidden>)

  • Prev by Date: Re: MVC and thread-safety
  • Next by Date: Re: MVC and thread-safety
  • Previous by thread: Re: MVC and thread-safety
  • Next by thread: Re: MVC and thread-safety
  • Index(es):
    • Date
    • Thread