You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A variety of properties in iMedia trigger warnings when the compiler detects that the property is implicitly atomic, but has been half-implemented (a getter or setter has been implemented), overriding the ability of the compiler to guarantee atomicity.
I think that for many of these, we probably could just change the atomicity of the property to "nonatomic" but I am not confident enough about the threading behavior of iMedia to make this change on my own. For each of the affected properties below, a decision should be made and a course of action followed:
If the property should be considered nonatomic, then the nonatomic value should be added to its declaration, quieting the warning.
If the property should be considered atomic, then the existing accessor method (setter or getter) should be revised to properly implement some kind of locking mechanism, and the missing accessor should be written from scratch complying with that same locking mechanism.
iMedia is chockablock full of atomic @properties where I'm fairly sure the reason is purely "it's the default" or "it's safer, even though of no benefit in practice". Trouble is @peterb180369 is pretty much the only person in a position to say for sure.
A variety of properties in iMedia trigger warnings when the compiler detects that the property is implicitly atomic, but has been half-implemented (a getter or setter has been implemented), overriding the ability of the compiler to guarantee atomicity.
I think that for many of these, we probably could just change the atomicity of the property to "nonatomic" but I am not confident enough about the threading behavior of iMedia to make this change on my own. For each of the affected properties below, a decision should be made and a course of action followed:
IMBNodeViewController.h
@Property (retain) IMBLibraryController* libraryController;
IMBObjectViewController.h
@Property (retain) IMBLibraryController* libraryController;
IMBApertureParser.h
@Property (assign) NSInteger version;
IMBiTunesParser.h
@Property (retain) NSDictionary* plist;
IMBSafariBookmarkParser.h
@Property (retain) NSDictionary* plist;
IMBAppleMediaParser.h
@Property (retain) NSDictionary* plist;
The text was updated successfully, but these errors were encountered: