Here is that part of my code:
//Filter photos
photoArray = [self getContentFrom:group withAssetFilter:[ALAssetsFilter allPhotos]];
//Enumerate through the group to get access to the photos.
[contentDictionary setObject:photoArray forKey:@"Photos"];
//Filter videos
videoArray = [self getContentFrom:group withAssetFilter:[ALAssetsFilter allVideos]];
[contentDictionary setObject:videoArray forKey:@"Videos"];
I assume its a simple solution. But i couldn't find the answer in Apple's objective-c handbook.
Some context info: I am adding a feature to my iPad program that lets users import media from the photos app. Here are the 4 errors below. Thanks
No visible @interface for 'ViewController' declares the selector 'getContentFrom:withAssetFilter:
No visible @interface for 'NSDictionary' declares the selector 'setObject:forKey:'
No visible @interface for 'ViewController' declares the selector 'getContentFrom:withAssetFilter:'
No visible @interface for 'NSDictionary' declares the selector 'setObject:forKey:'
And above each error it reads "ARC semantic issue".