We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have been trying add Images.xcassets of my project. But I can not found solution. Which method I use it. Please help
Thanks...
The text was updated successfully, but these errors were encountered:
It looks like we need to modify XcodeSourceFileType to include a new type 'AssetCatalog' and then add to the following:
XcodeSourceFileType
static NSDictionary* NSDictionaryWithXCFileReferenceTypes() { static NSDictionary* dictionary; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^ { dictionary = @{ @"sourcecode.c.h" : @(SourceCodeHeader), @"sourcecode.c.objc" : @(SourceCodeObjC), @"wrapper.framework" : @(Framework), @"text.plist.strings" : @(PropertyList), @"sourcecode.cpp.objcpp" : @(SourceCodeObjCPlusPlus), @"sourcecode.cpp.cpp" : @(SourceCodeCPlusPlus), @"file.xib" : @(XibFile), @"image.png" : @(ImageResourcePNG), @"wrapper.cfbundle" : @(Bundle), @"archive.ar" : @(Archive), @"text.html" : @(HTML), @"text" : @(TEXT), @"wrapper.pb-project" : @(XcodeProject), @"folder" : @(Folder) }; }); return dictionary; }
so that it maps the new type to "folder.assetcatalog"
Having done this, we'd be able to follow the same process as adding an image, but specify the type as AssetCatalog instead.
AssetCatalog
Sorry, something went wrong.
No branches or pull requests
Hi, I have been trying add Images.xcassets of my project. But I can not found solution. Which method I use it. Please help
Thanks...
The text was updated successfully, but these errors were encountered: