0
私はUISplitViewController
とたくさんの情報を持っている別のクラスからこのデータを読み込む方法を見つけようとしています。1クラスの2つの異なるクラスからThetaを読み込もうとします。お願い助けて ?1スウィフトのより多くのクラスから読み込み
searchController.searchBar.scopeButtonTitles = ["All", "Chocolate", "Hard", "Other"]
tableView.tableHeaderView = searchController.searchBar
candies = [
//I want to load the first2 candy from another Swift class
Candy(category:"go", name:"slow"),
Candy(category:"run", name:"feast"),
//and the least 2 Candy to load from another Swift class
Candy(category:"deanc", name:"good"),
Candy(category:"fly", name:"whery feast"),
は、私はこの せキャンディー= [クラス1とクラス2からHIRデータ]キャンディ(..)のような私が持っている ビコス程度のようにロードするためにトレイあまり良くないと思うものを知って てみよう3000の例と私は1つのファイルのデータの1つの迅速な1つの仕事をしています – d00nn123