• 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
Threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Threads


  • Subject: Threads
  • From: koko <email@hidden>
  • Date: Fri, 19 Jul 2013 12:56:45 -0600

I have a NSMatrix into which I place NSImageCells.

I create a data source based on user input that specifies how many cells and what the cell content should be.

The NSMatrix row and columns are recalculated based on this data source.

Now I call -setNeedsDisplay:YES on the NSMatrix

The cells are custom drawn.

In -drawInteriorWithFrame I calculate if the cell is visible and if so generate its image.



The question:

How can, or can, the -setNeedsDispay:YES be run on a separate thread?


-koko

_______________________________________________

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: Threads
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: height of UITableView with exactly two rows
  • Next by Date: Re: height of UITableView with exactly two rows
  • Previous by thread: Re: NSUndoManager Won't Redo
  • Next by thread: Re: Threads
  • Index(es):
    • Date
    • Thread