Reputation: 77661
I have added an image set to the asset catalog (in Xcode) and then intended to access this in code.
The code I am using (in AppCode) is...
UIImage *image = [UIImage imageNamed:@"Photo_Placeholder"];
I know this works and is correct. However, AppCode is telling me "Resource Not Found".
I know that this is only a warning and the build works anyway but I wondered if there is a way to get AppCode to recognise the names of the image sets in an Asset Catalog? At the moment it auto completes the image name based on the files not the image set name.
Upvotes: 2
Views: 462
Reputation: 752
Sorry for the inconvenience, it's a known problem in current AppCode version. Please, follow this issue in our tracker to receive updates.
Upvotes: 2