Load from more 2 class in 1 swift UISPLITVIEWCONTROLLER
<p>I try to find information how to load this data from another class I have a <code>UISplitViewController</code> and a lot of information inside I try to load Theta from 2 different classes in the 1 class can somebody help me please ?</p>

<pre><code>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"),
</code></pre>