Skip to content

Commit b702ce4

Browse files
author
yuyang
committed
first commit
0 parents  commit b702ce4

File tree

171 files changed

+15846
-0
lines changed

Some content is hidden

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

171 files changed

+15846
-0
lines changed

Diff for: .gitignore

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Created by https://www.gitignore.io/api/osx
2+
3+
### OSX ###
4+
.DS_Store
5+
.AppleDouble
6+
.LSOverride
7+
8+
# Icon must end with two \r
9+
Icon
10+
11+
12+
# Thumbnails
13+
._*
14+
15+
# Files that might appear in the root of a volume
16+
.DocumentRevisions-V100
17+
.fseventsd
18+
.Spotlight-V100
19+
.TemporaryItems
20+
.Trashes
21+
.VolumeIcon.icns
22+
23+
# Directories potentially created on remote AFP share
24+
.AppleDB
25+
.AppleDesktop
26+
Network Trash Folder
27+
Temporary Items
28+
.apdisk
29+
30+
lib/
31+
*.ipa
32+
xcuserdata
33+
34+
35+
*.xcworkspace/
36+
Podfile.lock
37+
Pods/
38+
*.md
39+
.DS_Store
40+
KMCFilter/.DS_Store
41+
build/
42+
*.log
43+
framework/

Diff for: .gitlab-ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
stages:
2+
- build
3+
4+
build_app:
5+
stage: build
6+
script:
7+
- cd LQADemo
8+
- pod install
9+
- xcodebuild -workspace *.xcwork* -scheme LQADemo -sdk iphoneos -quiet
10+
- xcodebuild -workspace *.xcwork* -scheme LQADemo -sdk iphonesimulator -quiet
11+
tags:
12+
- ios

Diff for: LQADemo/LQADemo.xcodeproj/project.pbxproj

+613
Large diffs are not rendered by default.

Diff for: LQADemo/LQADemo/AppDelegate.h

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// AppDelegate.h
3+
// LQADemo
4+
//
5+
// Created by yuyang on 2018/1/9.
6+
// Copyright © 2018年 Ksyun. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
16+
@end
17+

Diff for: LQADemo/LQADemo/AppDelegate.m

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
//
2+
// AppDelegate.m
3+
// LQADemo
4+
//
5+
// Created by yuyang on 2018/1/9.
6+
// Copyright © 2018年 Ksyun. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
#import "LQARootViewController.h"
11+
#import "LQARoomViewController.h"
12+
13+
14+
@interface AppDelegate ()
15+
16+
@end
17+
18+
@implementation AppDelegate
19+
20+
21+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
22+
23+
24+
25+
[self initRootViewController];
26+
27+
return YES;
28+
}
29+
30+
- (void)initRootViewController
31+
{
32+
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
33+
CGRect cframe = [[UIScreen mainScreen] bounds];
34+
35+
self.window = [[UIWindow alloc] initWithFrame:cframe];
36+
self.window.backgroundColor = [UIColor blackColor];
37+
self.window.clipsToBounds = YES;
38+
LQARootViewController *rootVC = [[LQARootViewController alloc]init];
39+
self.window.rootViewController = rootVC;
40+
}
41+
42+
43+
- (void)applicationWillResignActive:(UIApplication *)application {
44+
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
45+
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
46+
}
47+
48+
49+
- (void)applicationDidEnterBackground:(UIApplication *)application {
50+
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
51+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
52+
}
53+
54+
55+
- (void)applicationWillEnterForeground:(UIApplication *)application {
56+
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
57+
}
58+
59+
60+
- (void)applicationDidBecomeActive:(UIApplication *)application {
61+
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
62+
}
63+
64+
65+
- (void)applicationWillTerminate:(UIApplication *)application {
66+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
67+
}
68+
69+
70+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"images" : [
3+
{
4+
"size" : "20x20",
5+
"idiom" : "iphone",
6+
"filename" : "[email protected]",
7+
"scale" : "2x"
8+
},
9+
{
10+
"size" : "20x20",
11+
"idiom" : "iphone",
12+
"filename" : "[email protected]",
13+
"scale" : "3x"
14+
},
15+
{
16+
"size" : "29x29",
17+
"idiom" : "iphone",
18+
"filename" : "[email protected]",
19+
"scale" : "2x"
20+
},
21+
{
22+
"size" : "29x29",
23+
"idiom" : "iphone",
24+
"filename" : "[email protected]",
25+
"scale" : "3x"
26+
},
27+
{
28+
"size" : "40x40",
29+
"idiom" : "iphone",
30+
"filename" : "[email protected]",
31+
"scale" : "2x"
32+
},
33+
{
34+
"size" : "40x40",
35+
"idiom" : "iphone",
36+
"filename" : "[email protected]",
37+
"scale" : "3x"
38+
},
39+
{
40+
"size" : "60x60",
41+
"idiom" : "iphone",
42+
"filename" : "[email protected]",
43+
"scale" : "2x"
44+
},
45+
{
46+
"size" : "60x60",
47+
"idiom" : "iphone",
48+
"filename" : "[email protected]",
49+
"scale" : "3x"
50+
},
51+
{
52+
"idiom" : "ipad",
53+
"size" : "20x20",
54+
"scale" : "1x"
55+
},
56+
{
57+
"idiom" : "ipad",
58+
"size" : "20x20",
59+
"scale" : "2x"
60+
},
61+
{
62+
"idiom" : "ipad",
63+
"size" : "29x29",
64+
"scale" : "1x"
65+
},
66+
{
67+
"idiom" : "ipad",
68+
"size" : "29x29",
69+
"scale" : "2x"
70+
},
71+
{
72+
"idiom" : "ipad",
73+
"size" : "40x40",
74+
"scale" : "1x"
75+
},
76+
{
77+
"idiom" : "ipad",
78+
"size" : "40x40",
79+
"scale" : "2x"
80+
},
81+
{
82+
"idiom" : "ipad",
83+
"size" : "76x76",
84+
"scale" : "1x"
85+
},
86+
{
87+
"idiom" : "ipad",
88+
"size" : "76x76",
89+
"scale" : "2x"
90+
},
91+
{
92+
"idiom" : "ipad",
93+
"size" : "83.5x83.5",
94+
"scale" : "2x"
95+
},
96+
{
97+
"idiom" : "ios-marketing",
98+
"size" : "1024x1024",
99+
"scale" : "1x"
100+
}
101+
],
102+
"info" : {
103+
"version" : 1,
104+
"author" : "xcode"
105+
}
106+
}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Diff for: LQADemo/LQADemo/Base.lproj/LaunchScreen.storyboard

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--View Controller-->
13+
<scene sceneID="EHf-IW-A2E">
14+
<objects>
15+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
16+
<layoutGuides>
17+
<viewControllerLayoutGuide type="top" id="EiJ-O6-3Yo"/>
18+
<viewControllerLayoutGuide type="bottom" id="g5C-lV-LVq"/>
19+
</layoutGuides>
20+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
22+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
24+
</view>
25+
</viewController>
26+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
27+
</objects>
28+
<point key="canvasLocation" x="53" y="375"/>
29+
</scene>
30+
</scenes>
31+
</document>

Diff for: LQADemo/LQADemo/Base.lproj/Main.storyboard

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--View Controller-->
13+
<scene sceneID="tne-QT-ifu">
14+
<objects>
15+
<viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
16+
<layoutGuides>
17+
<viewControllerLayoutGuide type="top" id="RCx-KI-7GK"/>
18+
<viewControllerLayoutGuide type="bottom" id="1VV-SU-wbs"/>
19+
</layoutGuides>
20+
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
22+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
24+
</view>
25+
</viewController>
26+
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
27+
</objects>
28+
</scene>
29+
</scenes>
30+
</document>

Diff for: LQADemo/LQADemo/Controller/LQARoomViewController.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// LQARoomViewController.h
3+
// LQADemo
4+
//
5+
// Created by yuyang on 2018/1/9.
6+
// Copyright © 2018年 Ksyun. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface LQARoomViewController : UIViewController
12+
13+
@end

0 commit comments

Comments
 (0)