Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/overall project structure #22

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 268 additions & 4 deletions bike-ios.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions bike-ios/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
return true
Expand Down Expand Up @@ -41,6 +40,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}


}

12 changes: 8 additions & 4 deletions bike-ios/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<!--Main Map View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="BYZ-38-t0r" customClass="MainMapViewController" customModule="bike_ios" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down
13 changes: 13 additions & 0 deletions bike-ios/End/Model/Result.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Result.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct Result {

}
13 changes: 13 additions & 0 deletions bike-ios/End/Model/ResultService.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// ResultService.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class ResultService {

}
13 changes: 13 additions & 0 deletions bike-ios/End/Presenter/ResultPresenter.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// ResultPresenter.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class ResultPresenter {

}
13 changes: 13 additions & 0 deletions bike-ios/End/Presenter/ResultViewData.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// ResultViewData.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct ResultViewData {

}
13 changes: 13 additions & 0 deletions bike-ios/End/Presenter/ResultViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// ResultViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

protocol ResultViewProtocol {

}
13 changes: 13 additions & 0 deletions bike-ios/End/View/ResultViewController+ViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// ResultViewController+ViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import UIKit

extension ResultViewController: ResultViewProtocol {

}
29 changes: 29 additions & 0 deletions bike-ios/End/View/ResultViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// ResultViewController.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import UIKit

class ResultViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}

/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/

}
53 changes: 53 additions & 0 deletions bike-ios/Extension/UIColor+.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// UIColor+.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import UIKit

extension UIColor {

@nonobjc class var darkMint: UIColor {
return UIColor(red: 78.0 / 255.0, green: 184.0 / 255.0, blue: 138.0 / 255.0, alpha: 1.0)
}

@nonobjc class var paleTurquoise: UIColor {
return UIColor(red: 191.0 / 255.0, green: 226.0 / 255.0, blue: 210.0 / 255.0, alpha: 1.0)
}

@nonobjc class var brownishGrey: UIColor {
return UIColor(white: 112.0 / 255.0, alpha: 1.0)
}

@nonobjc class var white: UIColor {
return UIColor(white: 1.0, alpha: 1.0)
}

@nonobjc class var oceanGreen: UIColor {
return UIColor(red: 50.0 / 255.0, green: 128.0 / 255.0, blue: 94.0 / 255.0, alpha: 1.0)
}

@nonobjc class var brownGrey: UIColor {
return UIColor(white: 172.0 / 255.0, alpha: 1.0)
}

@nonobjc class var brownGreyTwo: UIColor {
return UIColor(white: 140.0 / 255.0, alpha: 1.0)
}

@nonobjc class var lightTeal: UIColor {
return UIColor(red: 142.0 / 255.0, green: 213.0 / 255.0, blue: 182.0 / 255.0, alpha: 1.0)
}

@nonobjc class var duckEggBlue: UIColor {
return UIColor(red: 214.0 / 255.0, green: 229.0 / 255.0, blue: 222.0 / 255.0, alpha: 1.0)
}

@nonobjc class var silver: UIColor {
return UIColor(red: 172.0 / 255.0, green: 213.0 / 255.0, blue: 195.0 / 255.0, alpha: 1.0)
}

}
13 changes: 13 additions & 0 deletions bike-ios/Main/Model/MapLocation.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MapLocation.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct MapLocation {

}
13 changes: 13 additions & 0 deletions bike-ios/Main/Model/MapLocationService.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MapLocationService.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class MapLocationService {

}
13 changes: 13 additions & 0 deletions bike-ios/Main/Presenter/MainMapPresenter.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MainMapPresenter.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class MainMapPresenter {

}
13 changes: 13 additions & 0 deletions bike-ios/Main/Presenter/MainMapViewData.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MainMapViewData.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct MainMapViewData {

}
13 changes: 13 additions & 0 deletions bike-ios/Main/Presenter/MainMapViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MainMapViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

protocol MainMapViewProtocol {

}
13 changes: 13 additions & 0 deletions bike-ios/Main/View/MainMapViewController+ViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// MainMapViewController+ViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import UIKit

extension MainMapViewController: MainMapViewProtocol {

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// ViewController.swift
// MainMapViewController.swift
// bike-ios
//
// Created by JunHui Kim on 19/07/2019.
Expand All @@ -8,13 +8,11 @@

import UIKit

class ViewController: UIViewController {
class MainMapViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}


}

13 changes: 13 additions & 0 deletions bike-ios/Setting/Model/History.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// History.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct History {

}
13 changes: 13 additions & 0 deletions bike-ios/Setting/Model/HistoryService.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// HistoryService.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class HistoryService {

}
13 changes: 13 additions & 0 deletions bike-ios/Setting/Presenter/HistoryPresenter.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// HistoryPresenter.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

class HistoryPresenter {

}
13 changes: 13 additions & 0 deletions bike-ios/Setting/Presenter/HistoryViewData.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// HistoryViewData.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

struct HistoryViewData {

}
13 changes: 13 additions & 0 deletions bike-ios/Setting/Presenter/HistoryViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// HistoryViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import Foundation

protocol HistoryViewProtocol {

}
13 changes: 13 additions & 0 deletions bike-ios/Setting/View/HistoryViewController+ViewProtocol.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// HistoryViewController+ViewProtocol.swift
// bike-ios
//
// Created by JunHui Kim on 08/09/2019.
// Copyright © 2019 gitturami. All rights reserved.
//

import UIKit

extension HistoryViewController: HistoryViewProtocol {

}
Loading