• 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
can't cache image REPOST... Solution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't cache image REPOST... Solution


  • Subject: can't cache image REPOST... Solution
  • From: Ruben Westerberg <email@hidden>
  • Date: Sun, 11 Nov 2001 12:05:31 +1000

I figured it out, so please discard my previous post.

I used

[[NSImage allocWithZone:[self zone] initWithSize:[myView visbleRect].size],

but it just hit me.. my view was not loaded by the time this code executes.

I used a make shift size of 200,200 and it worked... well It loaded anyway.

Thank you all.

Ruben


  • Follow-Ups:
    • AltiVec on OSX in Cocoa
      • From: Jake <email@hidden>
  • Prev by Date: Re: Controlling selection in NSTextFields
  • Next by Date: AltiVec on OSX in Cocoa
  • Previous by thread: Can't cache image...
  • Next by thread: AltiVec on OSX in Cocoa
  • Index(es):
    • Date
    • Thread