Skip to content

Commit 4952bf9

Browse files
committed
24
更新代码
1 parent 9d16965 commit 4952bf9

File tree

341 files changed

+3798
-70
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+3798
-70
lines changed

MyFengXianSheng/MyFengXianSheng.xcodeproj/project.pbxproj

Lines changed: 128 additions & 4 deletions
Large diffs are not rendered by default.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
//
2+
// AppDelegate+RootController.swift
3+
// MyFengXianSheng
4+
//
5+
// Created by mac pro on 16/11/23.
6+
// Copyright © 2016年 mac pro. All rights reserved.
7+
//
8+
9+
import Foundation
10+
import UIKit
11+
12+
extension AppDelegate{
13+
/**
14+
* 首次启动轮播图
15+
*/
16+
public func createLoadingScrollView(){
17+
18+
}
19+
/**
20+
* tabbar实例
21+
*/
22+
public func setTabbarController(){
23+
24+
}
25+
/**
26+
* window实例
27+
*/
28+
public func setAppWindows(){
29+
30+
}
31+
/**
32+
* 设置根视图
33+
*/
34+
public func setRootViewController(){
35+
36+
window = UIWindow.init(frame: UIScreen.main.bounds)
37+
let WLTabBar = WLTabBarViewController()
38+
//避免受默认的半透明色影响,关闭
39+
WLTabBar.tabBar.isTranslucent = false
40+
//设置整体 tabBar 背景色
41+
WLTabBar.tabBar.barTintColor = UIColor.black
42+
//设置选中颜色
43+
WLTabBar.tabBar.tintColor = UIColor.red
44+
window?.rootViewController = WLTabBar
45+
window?.makeKeyAndVisible()
46+
47+
}
48+
49+
}
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+

MyFengXianSheng/MyFengXianSheng/AppDelegate.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1515

1616

1717
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18-
// Override point for customization after application launch.
18+
19+
self.setRootViewController()
20+
21+
#if DEBUG
22+
23+
#endif
24+
1925
return true
2026
}
2127

MyFengXianSheng/MyFengXianSheng/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,52 @@
11
{
22
"images" : [
33
{
4+
"size" : "20x20",
45
"idiom" : "iphone",
5-
"size" : "29x29",
6+
"filename" : "AppIcon20x20@2x.png",
67
"scale" : "2x"
78
},
89
{
10+
"size" : "20x20",
911
"idiom" : "iphone",
10-
"size" : "29x29",
12+
"filename" : "AppIcon20x20@3x.png",
1113
"scale" : "3x"
1214
},
1315
{
16+
"size" : "29x29",
1417
"idiom" : "iphone",
15-
"size" : "40x40",
18+
"filename" : "AppIcon29x29@2x.png",
1619
"scale" : "2x"
1720
},
1821
{
22+
"size" : "29x29",
1923
"idiom" : "iphone",
20-
"size" : "40x40",
24+
"filename" : "AppIcon29x29@3x.png",
2125
"scale" : "3x"
2226
},
2327
{
28+
"size" : "40x40",
2429
"idiom" : "iphone",
25-
"size" : "60x60",
30+
"filename" : "AppIcon40x40@2x.png",
2631
"scale" : "2x"
2732
},
2833
{
34+
"size" : "40x40",
2935
"idiom" : "iphone",
30-
"size" : "60x60",
36+
"filename" : "AppIcon40x40@3x.png",
3137
"scale" : "3x"
3238
},
3339
{
34-
"idiom" : "ipad",
35-
"size" : "29x29",
36-
"scale" : "1x"
37-
},
38-
{
39-
"idiom" : "ipad",
40-
"size" : "29x29",
41-
"scale" : "2x"
42-
},
43-
{
44-
"idiom" : "ipad",
45-
"size" : "40x40",
46-
"scale" : "1x"
47-
},
48-
{
49-
"idiom" : "ipad",
50-
"size" : "40x40",
40+
"size" : "60x60",
41+
"idiom" : "iphone",
42+
"filename" : "AppIcon60x60@2x.png",
5143
"scale" : "2x"
5244
},
5345
{
54-
"idiom" : "ipad",
55-
"size" : "76x76",
56-
"scale" : "1x"
57-
},
58-
{
59-
"idiom" : "ipad",
60-
"size" : "76x76",
61-
"scale" : "2x"
46+
"size" : "60x60",
47+
"idiom" : "iphone",
48+
"filename" : "AppIcon60x60@3x.png",
49+
"scale" : "3x"
6250
}
6351
],
6452
"info" : {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"images" : [
3+
{
4+
"orientation" : "portrait",
5+
"idiom" : "iphone",
6+
"filename" : "iOS5-6(320x480)@1x.png",
7+
"extent" : "full-screen",
8+
"scale" : "1x"
9+
},
10+
{
11+
"orientation" : "portrait",
12+
"idiom" : "iphone",
13+
"filename" : "iOS5-6(640x960)@2x.png",
14+
"extent" : "full-screen",
15+
"scale" : "2x"
16+
},
17+
{
18+
"orientation" : "portrait",
19+
"idiom" : "iphone",
20+
"filename" : "iOS5-6-Retina4(640x1136).png",
21+
"extent" : "full-screen",
22+
"subtype" : "retina4",
23+
"scale" : "2x"
24+
},
25+
{
26+
"extent" : "full-screen",
27+
"idiom" : "iphone",
28+
"subtype" : "736h",
29+
"filename" : "Brand Assets-1242x2208@3x.png",
30+
"minimum-system-version" : "8.0",
31+
"orientation" : "portrait",
32+
"scale" : "3x"
33+
},
34+
{
35+
"orientation" : "landscape",
36+
"idiom" : "iphone",
37+
"extent" : "full-screen",
38+
"minimum-system-version" : "8.0",
39+
"subtype" : "736h",
40+
"scale" : "3x"
41+
},
42+
{
43+
"extent" : "full-screen",
44+
"idiom" : "iphone",
45+
"subtype" : "667h",
46+
"filename" : "Brand Assets-750x1334@2x.png",
47+
"minimum-system-version" : "8.0",
48+
"orientation" : "portrait",
49+
"scale" : "2x"
50+
},
51+
{
52+
"orientation" : "portrait",
53+
"idiom" : "iphone",
54+
"filename" : "Brand Assets-640x960@2x.png",
55+
"extent" : "full-screen",
56+
"minimum-system-version" : "7.0",
57+
"scale" : "2x"
58+
},
59+
{
60+
"extent" : "full-screen",
61+
"idiom" : "iphone",
62+
"subtype" : "retina4",
63+
"filename" : "iOS7-9-Retina4(640x1136).png",
64+
"minimum-system-version" : "7.0",
65+
"orientation" : "portrait",
66+
"scale" : "2x"
67+
}
68+
],
69+
"info" : {
70+
"version" : 1,
71+
"author" : "xcode"
72+
}
73+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "AppIcon20x20@2x.png",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"filename" : "AppIcon20x20@3x.png",
15+
"scale" : "3x"
16+
}
17+
],
18+
"info" : {
19+
"version" : 1,
20+
"author" : "xcode"
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "AppIcon29x29@2x.png",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"filename" : "AppIcon29x29@3x.png",
15+
"scale" : "3x"
16+
}
17+
],
18+
"info" : {
19+
"version" : 1,
20+
"author" : "xcode"
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "AppIcon40x40@2x.png",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"filename" : "AppIcon40x40@3x.png",
15+
"scale" : "3x"
16+
}
17+
],
18+
"info" : {
19+
"version" : 1,
20+
"author" : "xcode"
21+
}
22+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "AppIcon60x60.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"filename" : "AppIcon60x60@2x.png",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "universal",
15+
"filename" : "AppIcon60x60@3x.png",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"version" : 1,
21+
"author" : "xcode"
22+
}
23+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "icon-120.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

0 commit comments

Comments
 (0)