• 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: two things (newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two things (newbie)


  • Subject: Re: two things (newbie)
  • From: John Terranova <email@hidden>
  • Date: Wed, 9 Jun 2004 22:35:39 -0700

On Jun 9, 2004, at 9:34 PM, Rolando Abarca wrote:

1)
I'm implementing a CD+G (karaoke) viewer, and currently this is my approach:
In a window I have a custom view (NSView Subclass) that has a method (loadCDG) that instantiates a timer, wich calls readCDG.
readCDG fills a buffer from a file, and then it needs to update the content of the view, for that it calls [self display]. Apparently this is not the way to go, because it's not displaying all the changes... (I put my draw code in drawRect: and it's not called every time I call [self display]).

[self setNeedsDisplay:YES]; // ??

--
john terranova, email@hidden

"More than a quarter of journalists polled said they had avoided pursuing
newsworthy stories that might conflict with the financial interests of their
news organizations or advertisers."
-- Bill Moyers, on a study conducted by the Pew Research Center
for the Columbia Journalism Review, The Nation, May 7, 2001.
_______________________________________________
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: two things (newbie)
      • From: Rolando Abarca <email@hidden>
References: 
 >two things (newbie) (From: Rolando Abarca <email@hidden>)

  • Prev by Date: Re: NSOutlineView Problem
  • Next by Date: Re: Probably a silly question but...
  • Previous by thread: two things (newbie)
  • Next by thread: Re: two things (newbie)
  • Index(es):
    • Date
    • Thread