This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IBAction func tess(_ sender: Any) { | |
let storybord = UIStoryboard.init(name: "Main", bundle: nil) | |
let tabController = storybord.instantiateViewController(withIdentifier: "tab") as! UITabBarController | |
let vv = storybord.instantiateViewController(withIdentifier: "vc1") as! Vc1ViewController | |
vv.la = "ok" | |
let nav = tabController.viewControllers?.first as! UINavigationController | |
nav.pushViewController(vv, animated: true) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IBAction func tess(_ sender: Any) { | |
let storybord = UIStoryboard.init(name: "Main", bundle: nil) | |
let tabController = storybord.instantiateViewController(withIdentifier: "tab") as! UITabBarController | |
let nav = tabController.viewControllers?.first as! UINavigationController | |
let vc = nav.viewControllers.first as! Vc1ViewController | |
vc.la = "tab et nav" | |
present(vc, animated: true, completion: nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
visits: [ | |
{ | |
year: "2017", | |
visitsYear: { | |
"uuid": "4f31a703-ac8f-4d34-9ff1-cf756264adbc", | |
"motive": "Lorem, ipsum dolor sit amet consectetur adipisicing elit.", | |
"notes": "Magni quia necessitatibus nemo explicabo, numquam debitis rem veniam laborum voluptatem voluptates culpa ipsam doloribus veritatis a praesentium deleniti? A, necessitatibus impedit!", | |
"datedAt": "2018-11-08T19:28:16.000Z", | |
"animalUuid": "cfaf36e3-f1a1-4f18-822a-3c7724ccb6bb", | |
"createdAt": "2017-11-08T19:28:16.000Z", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entry: { | |
front:"./build/resources/src/front/.scss", | |
mobile:"./build/resources/src/mobile/.scss", | |
rwd: "./build/resources/src/rwd/*.scss" | |
}, | |
output: { | |
filename: '[name].css', | |
path: path.resolve(__dirname, './application/site/resources/', "src"), | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const entryPlus = require('webpack-entry-plus'); | |
const glob = require('glob'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const mode = process.env.NODE_ENV === 'production' ? 'production' : 'development'; | |
const extractSass = new ExtractTextPlugin({ | |
filename: '[name].css', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MapViewController.swift | |
// wherein | |
// | |
// Created by christophe milliere on 10/05/2018. | |
// Copyright © 2018 christophe milliere. All rights reserved. | |
// | |
import UIKit | |
import NMAKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MonumentCollectionCell.swift | |
// wherein | |
// | |
// Created by christophe milliere on 20/05/2018. | |
// Copyright © 2018 christophe milliere. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MonumentCollection.swift | |
// wherein | |
// | |
// Created by christophe milliere on 20/05/2018. | |
// Copyright © 2018 christophe milliere. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func toControllerView(id: Int) { | |
let detailController = self.storyboard?.instantiateViewController(withIdentifier: "DetailController") as! DetailController | |
detailController.id = id | |
self.present(detailController, animated: true, completion: nil) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func toControllerView(id: Int) { | |
guard let VC = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "DetailController") as? DetailController else { | |
print("View controller could not be instantiated") | |
return | |
} | |
VC.id = id | |
self.present(VC, animated: false, completion: nil) | |
} |