Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Singleton Problem

itouchitouch Posts: 21Registered Users
How to create a sigleton class (called DGMediaLibrary) that has a mutable array as a property, which can be use like this:
if(assetURL && [[DGMediaLibrary sharedMediaLibrary]isAssetURLSelectd:assetURL]){
[[DGMediaLibrary sharedMediaLibrary]removeAssetURL:assetURL];
Really confused with this. Hope someone help me. Cant find an example in the net that has NSMutableArray as its property.


Sign In or Register to comment.