Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • @AntonHolmquist imageData.destroy() Commented Feb 29, 2016 at 11:04
  • @AntonHolmquist The opposite of alloc() is dealloc(). The destroy() method is the counterpart of initialize(). Commented Apr 25, 2016 at 17:55
  • This answer is a better way to solve the OPs problem, but it does not answer the question asked in the title. Either the title should change, or someone should answer the question about type casting. Commented Jul 10, 2016 at 23:01
  • @Fooberman I'm not sure what you're after here, but feel free to supply your own answer to the original question. Commented Jul 10, 2016 at 23:09