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

Re: NSSound


  • Subject: Re: NSSound
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 7 Nov 2002 23:06:56 +0000

On Thursday, November 7, 2002, at 02:32 am, Steve Mills wrote:

NSSound* snd = [[NSSound alloc] retain];

[snd initWithData: data];

NSSound *snd = [[NSSound alloc] initWithData:data];

you don't need to retain it, since you allocated it. Not sure if that will solve your problem, though.

-- Finlay
_______________________________________________
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.

References: 
 >NSSound (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Cocoa equivalent to Javadoc?
  • Next by Date: Cursor Appears and Then Disappears
  • Previous by thread: Re: NSSound
  • Next by thread: Re: NSSound
  • Index(es):
    • Date
    • Thread