mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-29 08:20:24 +01:00
20 lines
428 B
Swift
20 lines
428 B
Swift
|
//
|
||
|
// Symbols.swift
|
||
|
// IceCubesApp
|
||
|
//
|
||
|
// Created by Alejandro Martinez on 18/7/23.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
|
||
|
let allSymbols: [String] = {
|
||
|
if let bundle = Bundle(identifier: "com.apple.CoreGlyphs"),
|
||
|
let resourcePath = bundle.path(forResource: "symbol_search", ofType: "plist"),
|
||
|
let plist = NSDictionary(contentsOfFile: resourcePath) {
|
||
|
|
||
|
return plist.allKeys as? [String] ?? []
|
||
|
}
|
||
|
return []
|
||
|
}()
|