mikeash / MAZeroingWeakRef

Zeroing weak references for retain/release Objective-C
Other
361 stars 57 forks source link

Ignore Constant Objects #5

Closed jdewind closed 13 years ago

jdewind commented 13 years ago

This pull request ensures that constant objects are ignored by ZWR. I used the retainCount method to determine whether object is "constant". See apple docs

jdewind commented 13 years ago

Er, it appears iOS returns MAX_INT instead of MAX_UINT. Frustrating.