From 6b551672042d0d3aad91dcff671bc10ae0026cbb Mon Sep 17 00:00:00 2001 From: Vincent Mo Date: Tue, 16 Feb 2016 00:25:04 +0800 Subject: [PATCH] miss design --- FeelingClient/MVC/CenterViewController.swift | 6 +- FeelingClient/MVC/ChatViewController.swift | 1 + FeelingClient/MVC/center.storyboard | 354 ++++++++----------- Podfile | 3 +- 4 files changed, 157 insertions(+), 207 deletions(-) diff --git a/FeelingClient/MVC/CenterViewController.swift b/FeelingClient/MVC/CenterViewController.swift index 6637f0f..55a9ddb 100644 --- a/FeelingClient/MVC/CenterViewController.swift +++ b/FeelingClient/MVC/CenterViewController.swift @@ -26,7 +26,7 @@ class CenterViewController: DesignableViewController , MKMapViewDelegate, CLLoca //TODO //地址框放入地图, 图标颜色太黑,大小太大,缺少文本域 - let image = UIImage(named: "horse") + let image = UIImage(named: "lonely-children")//lonely-children let blurredImage = image!.imageByApplyingBlurWithRadius(3) self.view.layer.contents = blurredImage.CGImage //地图初始化 @@ -38,7 +38,9 @@ class CenterViewController: DesignableViewController , MKMapViewDelegate, CLLoca self.locationManager.startUpdatingLocation() self.mapView.showsUserLocation = true - + self.navigationController?.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default) + self.navigationController?.navigationBar.shadowImage = UIImage() + self.navigationController?.navigationBar.translucent = true // Do any additional setup after loading the view. } diff --git a/FeelingClient/MVC/ChatViewController.swift b/FeelingClient/MVC/ChatViewController.swift index dbd0ba4..381ecaa 100644 --- a/FeelingClient/MVC/ChatViewController.swift +++ b/FeelingClient/MVC/ChatViewController.swift @@ -13,6 +13,7 @@ class ChatViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() sleep(1) + // Do any additional setup after loading the view. } diff --git a/FeelingClient/MVC/center.storyboard b/FeelingClient/MVC/center.storyboard index 95ced7f..4489ee1 100644 --- a/FeelingClient/MVC/center.storyboard +++ b/FeelingClient/MVC/center.storyboard @@ -18,222 +18,174 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - + + + + + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - + - - - - + - @@ -248,7 +200,7 @@ - + @@ -272,12 +224,6 @@ - - - - - - diff --git a/Podfile b/Podfile index 429a83e..9f5da89 100644 --- a/Podfile +++ b/Podfile @@ -23,7 +23,8 @@ pod 'LTMorphingLabel', :git => 'https://github.com/lexrus/LTMorphingLabel.git' pod 'SQLite.swift', :git => 'https://github.com/stephencelis/SQLite.swift.git' #吐司 pod 'Whisper', :git => 'https://github.com/hyperoslo/Whisper' - +#表单 +#pod 'Former', :git => 'https://github.com/ra1028/Former' post_install do |installer| installer.pods_project.build_configuration_list.build_configurations.each do |configuration|