开发者

Store CGImageRef in a NSDictionnary

开发者 https://www.devze.com 2023-02-02 17:30 出处:网络
My app is using a set of CGImageRef and I am wondering how to store them in an NSMutableDictionary in order to avoid memory leakes (How to transform them into NSObject and how to CFRelease properly)

My app is using a set of CGImageRef and I am wondering how to store them in an NSMutableDictionary in order to avoid memory leakes (How to transform them into NSObject and how to CFRelease properly)

Thanks in advanc开发者_JS百科e for your help,

Regards,


I believe something like this was answered here: How do I create a mutable array of CGImageRefs?

0

精彩评论

暂无评论...
验证码 换一张
取 消