Skip to content

Commit 7c1ef59

Browse files
committed
Rename Module to Galaxy
1 parent c41f1a4 commit 7c1ef59

File tree

66 files changed

+1365
-2452
lines changed

Some content is hidden

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

66 files changed

+1365
-2452
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ xcuserdata/
3535
Pods/
3636

3737

38-
SwiftTool/Keys.swift
39-

GLBaiDuLocation.podspec

-19
This file was deleted.

Galaxy.xcodeproj/project.pbxproj

+1,092
Large diffs are not rendered by default.

SwiftTool.xcodeproj/project.xcworkspace/contents.xcworkspacedata Galaxy.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SwiftTool.xcworkspace/contents.xcworkspacedata Galaxy.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SwiftTool/AppDelegate.swift Galaxy/AppDelegate.swift

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
//
22
// AppDelegate.swift
3-
// SwiftTool
3+
// Galaxy
44
//
5-
// Created by apple on 2020/4/15.
6-
// Copyright © 2020 galaxy. All rights reserved.
5+
// Created by galaxy on 2021/5/28.
76
//
87

98
import UIKit
@@ -19,13 +18,13 @@ private class _Navi: UINavigationController {
1918
}
2019
}
2120

22-
@UIApplicationMain
21+
@main
2322
class AppDelegate: UIResponder, UIApplicationDelegate {
2423

25-
2624
var window: UIWindow?
27-
25+
2826
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
27+
// Override point for customization after application launch.
2928

3029
FLEXManager.shared.showExplorer()
3130

@@ -42,8 +41,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
4241
let size = 1024*1024+7100
4342
print(FileManager.default.gl.formatSize(length: size))
4443

45-
46-
4744
return true
4845
}
4946
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"scale" : "2x",
6+
"size" : "20x20"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"scale" : "3x",
11+
"size" : "20x20"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"scale" : "2x",
16+
"size" : "29x29"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"scale" : "3x",
21+
"size" : "29x29"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"scale" : "2x",
26+
"size" : "40x40"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"scale" : "3x",
31+
"size" : "40x40"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"scale" : "2x",
36+
"size" : "60x60"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"scale" : "3x",
41+
"size" : "60x60"
42+
},
43+
{
44+
"idiom" : "ipad",
45+
"scale" : "1x",
46+
"size" : "20x20"
47+
},
48+
{
49+
"idiom" : "ipad",
50+
"scale" : "2x",
51+
"size" : "20x20"
52+
},
53+
{
54+
"idiom" : "ipad",
55+
"scale" : "1x",
56+
"size" : "29x29"
57+
},
58+
{
59+
"idiom" : "ipad",
60+
"scale" : "2x",
61+
"size" : "29x29"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"scale" : "1x",
66+
"size" : "40x40"
67+
},
68+
{
69+
"idiom" : "ipad",
70+
"scale" : "2x",
71+
"size" : "40x40"
72+
},
73+
{
74+
"idiom" : "ipad",
75+
"scale" : "1x",
76+
"size" : "76x76"
77+
},
78+
{
79+
"idiom" : "ipad",
80+
"scale" : "2x",
81+
"size" : "76x76"
82+
},
83+
{
84+
"idiom" : "ipad",
85+
"scale" : "2x",
86+
"size" : "83.5x83.5"
87+
},
88+
{
89+
"idiom" : "ios-marketing",
90+
"scale" : "1x",
91+
"size" : "1024x1024"
92+
}
93+
],
94+
"info" : {
95+
"author" : "xcode",
96+
"version" : 1
97+
}
98+
}
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3-
<device id="retina4_7" orientation="portrait" appearance="light"/>
2+
<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">
43
<dependencies>
5-
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
75
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
8-
<capability name="System colors in document resources" minToolsVersion="11.0"/>
96
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
107
</dependencies>
118
<scenes>
129
<!--View Controller-->
1310
<scene sceneID="tne-QT-ifu">
1411
<objects>
15-
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="SwiftTool" customModuleProvider="target" sceneMemberID="viewController">
12+
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
1613
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
1714
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1815
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16+
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
1917
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
20-
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
2118
</view>
2219
</viewController>
2320
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
2421
</objects>
25-
<point key="canvasLocation" x="139" y="73"/>
2622
</scene>
2723
</scenes>
28-
<resources>
29-
<systemColor name="systemBackgroundColor">
30-
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
31-
</systemColor>
32-
</resources>
3324
</document>

Galaxy/Bridging-Header.h

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// Bridging-Header.h
3+
// Galaxy
4+
//
5+
// Created by galaxy on 2021/5/28.
6+
//
7+
8+
#ifndef Bridging_Header_h
9+
#define Bridging_Header_h
10+
11+
#import "GLWeakProxy.h"
12+
13+
#endif /* Bridging_Header_h */

SwiftTool/Info.plist Galaxy/Info.plist

+4-27
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>UIViewControllerBasedStatusBarAppearance</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleExecutable</key>
@@ -18,37 +20,12 @@
1820
<string>1.0</string>
1921
<key>CFBundleVersion</key>
2022
<string>1</string>
21-
<key>LSApplicationQueriesSchemes</key>
22-
<array>
23-
<string>iosamap</string>
24-
<string>baidumap</string>
25-
</array>
2623
<key>LSRequiresIPhoneOS</key>
2724
<true/>
28-
<key>NSCalendarsUsageDescription</key>
29-
<string>request calendar permission</string>
30-
<key>NSCameraUsageDescription</key>
31-
<string>request camera permission</string>
32-
<key>NSContactsUsageDescription</key>
33-
<string>request contacts permission</string>
34-
<key>NSLocationUsageDescription</key>
35-
<string>request location permission</string>
36-
<key>NSLocationWhenInUseUsageDescription</key>
37-
<string>request location permission</string>
38-
<key>NSMicrophoneUsageDescription</key>
39-
<string>request microphone permission</string>
40-
<key>NSPhotoLibraryAddUsageDescription</key>
41-
<string>request photo permission</string>
42-
<key>NSPhotoLibraryUsageDescription</key>
43-
<string>request photo permission</string>
44-
<key>NSRemindersUsageDescription</key>
45-
<string>request reminder permission</string>
46-
<key>UIBackgroundModes</key>
47-
<array/>
25+
<key>UIApplicationSupportsIndirectInputEvents</key>
26+
<true/>
4827
<key>UILaunchStoryboardName</key>
4928
<string>LaunchScreen</string>
50-
<key>UIMainStoryboardFile</key>
51-
<string>Main</string>
5229
<key>UIRequiredDeviceCapabilities</key>
5330
<array>
5431
<string>armv7</string>

Galaxy/ViewController.swift

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// ViewController.swift
3+
// Galaxy
4+
//
5+
// Created by galaxy on 2021/5/28.
6+
//
7+
8+
import UIKit
9+
10+
class ViewController: UIViewController {
11+
12+
override func viewDidLoad() {
13+
super.viewDidLoad()
14+
// Do any additional setup after loading the view.
15+
}
16+
17+
18+
}
19+

GalaxyTests/GalaxyTests.swift

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
//
2+
// GalaxyTests.swift
3+
// GalaxyTests
4+
//
5+
// Created by galaxy on 2021/5/28.
6+
//
7+
8+
import XCTest
9+
@testable import Galaxy
10+
11+
class GalaxyTests: XCTestCase {
12+
13+
override func setUpWithError() throws {
14+
// Put setup code here. This method is called before the invocation of each test method in the class.
15+
}
16+
17+
override func tearDownWithError() throws {
18+
// Put teardown code here. This method is called after the invocation of each test method in the class.
19+
}
20+
21+
func testExample() throws {
22+
// This is an example of a functional test case.
23+
// Use XCTAssert and related functions to verify your tests produce the correct results.
24+
}
25+
26+
func testPerformanceExample() throws {
27+
// This is an example of a performance test case.
28+
self.measure {
29+
// Put the code you want to measure the time of here.
30+
}
31+
}
32+
33+
}
File renamed without changes.

GalaxyUITests/GalaxyUITests.swift

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
//
2+
// GalaxyUITests.swift
3+
// GalaxyUITests
4+
//
5+
// Created by galaxy on 2021/5/28.
6+
//
7+
8+
import XCTest
9+
10+
class GalaxyUITests: XCTestCase {
11+
12+
override func setUpWithError() throws {
13+
// Put setup code here. This method is called before the invocation of each test method in the class.
14+
15+
// In UI tests it is usually best to stop immediately when a failure occurs.
16+
continueAfterFailure = false
17+
18+
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
19+
}
20+
21+
override func tearDownWithError() throws {
22+
// Put teardown code here. This method is called after the invocation of each test method in the class.
23+
}
24+
25+
func testExample() throws {
26+
// UI tests must launch the application that they test.
27+
let app = XCUIApplication()
28+
app.launch()
29+
30+
// Use recording to get started writing UI tests.
31+
// Use XCTAssert and related functions to verify your tests produce the correct results.
32+
}
33+
34+
func testLaunchPerformance() throws {
35+
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
36+
// This measures how long it takes to launch your application.
37+
measure(metrics: [XCTApplicationLaunchMetric()]) {
38+
XCUIApplication().launch()
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)