96A71EDE1C6FFF7300C0C4AE/* Base */={isa=PBXFileReference;lastKnownFileType=file.storyboard;name=Base;path=Base.lproj/LaunchScreen.storyboard;sourceTree="<group>";};
96A71EDE1C6FFF7300C0C4AE/* Base */={isa=PBXFileReference;lastKnownFileType=file.storyboard;name=Base;path=Base.lproj/LaunchScreen.storyboard;sourceTree="<group>";};
96A71FCB1C765FDF00C0C4AE/* Assets.xcassets in Resources */={isa=PBXBuildFile;fileRef=96A71FCA1C765FDF00C0C4AE/* Assets.xcassets */;};
96A71FCB1C765FDF00C0C4AE/* Assets.xcassets in Resources */={isa=PBXBuildFile;fileRef=96A71FCA1C765FDF00C0C4AE/* Assets.xcassets */;};
96A71FCE1C765FDF00C0C4AE/* LaunchScreen.storyboard in Resources */={isa=PBXBuildFile;fileRef=96A71FCC1C765FDF00C0C4AE/* LaunchScreen.storyboard */;};
96A71FCE1C765FDF00C0C4AE/* LaunchScreen.storyboard in Resources */={isa=PBXBuildFile;fileRef=96A71FCC1C765FDF00C0C4AE/* LaunchScreen.storyboard */;};
96A71FD61C76618D00C0C4AE/* MainViewController.swift in Sources */={isa=PBXBuildFile;fileRef=96A71FD51C76618D00C0C4AE/* MainViewController.swift */;};
96A71FD61C76618D00C0C4AE/* MainViewController.swift in Sources */={isa=PBXBuildFile;fileRef=96A71FD51C76618D00C0C4AE/* MainViewController.swift */;};
96A71FD81C7661D200C0C4AE/* Material.framework in Frameworks */={isa=PBXBuildFile;fileRef=96A71FD71C7661D200C0C4AE/* Material.framework */;};
96A7200C1C76E53A00C0C4AE/* Material.framework in Frameworks */={isa=PBXBuildFile;fileRef=96A7200B1C76E53A00C0C4AE/* Material.framework */;};
96A71FD91C7661D200C0C4AE/* Material.framework in Embed Frameworks */={isa=PBXBuildFile;fileRef=96A71FD71C7661D200C0C4AE/* Material.framework */;settings={ATTRIBUTES=(CodeSignOnCopy,RemoveHeadersOnCopy,);};};
96A7200D1C76E53A00C0C4AE/* Material.framework in Embed Frameworks */={isa=PBXBuildFile;fileRef=96A7200B1C76E53A00C0C4AE/* Material.framework */;settings={ATTRIBUTES=(CodeSignOnCopy,RemoveHeadersOnCopy,);};};
/* End PBXBuildFile section */
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
/* Begin PBXCopyFilesBuildPhase section */
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
dstPath="";
dstPath="";
dstSubfolderSpec=10;
dstSubfolderSpec=10;
files=(
files=(
96A71FD91C7661D200C0C4AE/* Material.framework in Embed Frameworks */,
96A7200D1C76E53A00C0C4AE/* Material.framework in Embed Frameworks */,
);
);
name="Embed Frameworks";
name="Embed Frameworks";
runOnlyForDeploymentPostprocessing=0;
runOnlyForDeploymentPostprocessing=0;
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
96A71FCD1C765FDF00C0C4AE/* Base */={isa=PBXFileReference;lastKnownFileType=file.storyboard;name=Base;path=Base.lproj/LaunchScreen.storyboard;sourceTree="<group>";};
96A71FCD1C765FDF00C0C4AE/* Base */={isa=PBXFileReference;lastKnownFileType=file.storyboard;name=Base;path=Base.lproj/LaunchScreen.storyboard;sourceTree="<group>";};
* Copyright (C) 2015 - 2016, Daniel Dahan and CosmicMind, Inc. <http://cosmicmind.io>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of GraphKit nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
importUIKit
importMaterial
privatestructItem{
vartext:String
vardetail:String
varimage:UIImage?
}
classNoteViewController:UIViewController{
/// A tableView used to display Bond entries.
privatelettableView:UITableView=UITableView()
/// A list of all the Author Bond types.
privatevaritems:Array<Item>=Array<Item>()
overridefuncviewDidLoad(){
super.viewDidLoad()
prepareView()
prepareItems()
prepareTableView()
}
/**
Handles the search button click, which opens the
SideNavigationBarViewController.
*/
funchandleSearchButton(){
sideNavigationBarViewController?.openRightView()
}
/// Prepares view.
privatefuncprepareView(){
view.backgroundColor=MaterialColor.grey.darken4
}
/// Prepares the items Array.
privatefuncprepareItems(){
items.append(Item(text:"Giants game",detail:"Are we on this weekend for the game?",image:UIImage(named:"Profile4")))
// items.append(Item(text: "Recipe to try", detail: "We should eat this: Squash, Corn and tomatillo Tacos.", image: UIImage(named: "Profile5")))
// items.append(Item(text: "Interview", detail: "The candidate will be arriving at 11:30, are you free?", image: UIImage(named: "Profile6")))
// items.append(Item(text: "Book recommendation", detail: "I found the book title, Surely You’re Joking, Mr. Feynman!", image: UIImage(named: "Profile7")))
// items.append(Item(text: "Oui oui", detail: "Do you have Paris recommendations? Have you ever been?", image: UIImage(named: "Profile8")))