I saw a custom asset bundle in an iOS project I evaluated, so at least I know it\'s possible.
My issue is that I\'m using a CATiledLayer with about 22,000 tiles for
My notes on bundling and reading files in an Xcode project
print(Bundle.main.resourcePath!+"/temp.bundle/test.txt")
Output: /Users/James/Library/Developer/Xcode/DerivedData/GitSyncMac-heiwpdjbtaxzhiclikjotucjguqu/Build/Products/Debug/GitSyncMacApp.app/Contents/Resources/temp.bundle/test.txtprint(content(Bundle.main.resourcePath!+"/temp.bundle/test.txt")) // testing
static func content(_ path:String)->String?{
do {
let content = try String(contentsOfFile:path, encoding:String.Encoding.utf8) as String//encoding: NSUTF8StringEncoding
return content
} catch {
return nil
}
}