• 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: NSImage, corrupt images and address faults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage, corrupt images and address faults


  • Subject: Re: NSImage, corrupt images and address faults
  • From: j o a r <email@hidden>
  • Date: Fri, 12 Dec 2003 21:51:25 +0100

On 2003-12-12, at 21.25, Dan Grassi wrote:

> mImage = [mImage initWithContentsOfFile:fileName];

This line should read:

mImage = [[NSImage alloc] initWithContentsOfFile: fileName];

..as you're not allowed to re-initialize objects.

j o a r

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: 
 >NSImage,NSImageView, display and address faults (From: Dan Grassi <email@hidden>)
 >NSImage, corrupt images and address faults (From: Dan Grassi <email@hidden>)
 >Re: NSImage, corrupt images and address faults (From: Dan Grassi <email@hidden>)

  • Prev by Date: Re: cString vs UTF8String (memory question)
  • Next by Date: NSImageView animation not working
  • Previous by thread: Re: NSImage, corrupt images and address faults
  • Next by thread: NSTextView to HTML
  • Index(es):
    • Date
    • Thread