mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-28 07:50:15 +01:00
19 lines
412 B
Swift
19 lines
412 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 []
|
|
}()
|