Skip to content

Commit 97d0c78

Browse files
committed
Initial commit
0 parents  commit 97d0c78

File tree

20 files changed

+1770
-0
lines changed

20 files changed

+1770
-0
lines changed

.gitignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# OS X
2+
.DS_Store
3+
4+
# Xcode
5+
build/
6+
*.pbxuser
7+
!default.pbxuser
8+
*.mode1v3
9+
!default.mode1v3
10+
*.mode2v3
11+
!default.mode2v3
12+
*.perspectivev3
13+
!default.perspectivev3
14+
xcuserdata/
15+
*.xccheckout
16+
profile
17+
*.moved-aside
18+
DerivedData
19+
*.hmap
20+
*.ipa
21+
22+
# Bundler
23+
.bundle
24+
25+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
26+
# Carthage/Checkouts
27+
28+
Carthage/Build
29+
30+
# We recommend against adding the Pods directory to your .gitignore. However
31+
# you should judge for yourself, the pros and cons are mentioned at:
32+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
33+
#
34+
# Note: if you ignore the Pods directory, make sure to uncomment
35+
# `pod install` in .travis.yml
36+
#
37+
# Pods/

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# references:
2+
# * https://www.objc.io/issues/6-build-tools/travis-ci/
3+
# * https://github.com/supermarin/xcpretty#usage
4+
5+
osx_image: xcode7.3
6+
language: objective-c
7+
# cache: cocoapods
8+
# podfile: Example/Podfile
9+
# before_install:
10+
# - gem install cocoapods # Since Travis is not always on latest version
11+
# - pod install --project-directory=Example
12+
script:
13+
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/MacDeviceInfo.xcworkspace -scheme MacDeviceInfo-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
14+
- pod lib lint

Example/MacDeviceInfo.xcodeproj/project.pbxproj

+576
Large diffs are not rendered by default.

Example/MacDeviceInfo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0900"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "ED83F67720348A760038D96B"
18+
BuildableName = "MacDeviceInfo_Example.app"
19+
BlueprintName = "MacDeviceInfo_Example"
20+
ReferencedContainer = "container:MacDeviceInfo.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
30+
shouldUseLaunchSchemeArgsEnv = "YES">
31+
<Testables>
32+
<TestableReference
33+
skipped = "NO">
34+
<BuildableReference
35+
BuildableIdentifier = "primary"
36+
BlueprintIdentifier = "ED83F68920348A760038D96B"
37+
BuildableName = "MacDeviceInfo_Tests.xctest"
38+
BlueprintName = "MacDeviceInfo_Tests"
39+
ReferencedContainer = "container:MacDeviceInfo.xcodeproj">
40+
</BuildableReference>
41+
</TestableReference>
42+
</Testables>
43+
<MacroExpansion>
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "ED83F67720348A760038D96B"
47+
BuildableName = "MacDeviceInfo_Example.app"
48+
BlueprintName = "MacDeviceInfo_Example"
49+
ReferencedContainer = "container:MacDeviceInfo.xcodeproj">
50+
</BuildableReference>
51+
</MacroExpansion>
52+
<AdditionalOptions>
53+
</AdditionalOptions>
54+
</TestAction>
55+
<LaunchAction
56+
buildConfiguration = "Debug"
57+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
58+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59+
language = ""
60+
launchStyle = "0"
61+
useCustomWorkingDirectory = "NO"
62+
ignoresPersistentStateOnLaunch = "NO"
63+
debugDocumentVersioning = "YES"
64+
debugServiceExtension = "internal"
65+
allowLocationSimulation = "YES">
66+
<BuildableProductRunnable
67+
runnableDebuggingMode = "0">
68+
<BuildableReference
69+
BuildableIdentifier = "primary"
70+
BlueprintIdentifier = "ED83F67720348A760038D96B"
71+
BuildableName = "MacDeviceInfo_Example.app"
72+
BlueprintName = "MacDeviceInfo_Example"
73+
ReferencedContainer = "container:MacDeviceInfo.xcodeproj">
74+
</BuildableReference>
75+
</BuildableProductRunnable>
76+
<AdditionalOptions>
77+
</AdditionalOptions>
78+
</LaunchAction>
79+
<ProfileAction
80+
buildConfiguration = "Release"
81+
shouldUseLaunchSchemeArgsEnv = "YES"
82+
savedToolIdentifier = ""
83+
useCustomWorkingDirectory = "NO"
84+
debugDocumentVersioning = "YES">
85+
<BuildableProductRunnable
86+
runnableDebuggingMode = "0">
87+
<BuildableReference
88+
BuildableIdentifier = "primary"
89+
BlueprintIdentifier = "ED83F67720348A760038D96B"
90+
BuildableName = "MacDeviceInfo_Example.app"
91+
BlueprintName = "MacDeviceInfo_Example"
92+
ReferencedContainer = "container:MacDeviceInfo.xcodeproj">
93+
</BuildableReference>
94+
</BuildableProductRunnable>
95+
</ProfileAction>
96+
<AnalyzeAction
97+
buildConfiguration = "Debug">
98+
</AnalyzeAction>
99+
<ArchiveAction
100+
buildConfiguration = "Release"
101+
revealArchiveInOrganizer = "YES">
102+
</ArchiveAction>
103+
</Scheme>
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// AppDelegate.swift
3+
// MacDeviceInfo
4+
//
5+
// Created by eaffy on 05/21/2020.
6+
// Copyright (c) 2020 eaffy. All rights reserved.
7+
//
8+
9+
import Cocoa
10+
11+
@NSApplicationMain
12+
class AppDelegate: NSObject, NSApplicationDelegate {
13+
14+
15+
16+
func applicationDidFinishLaunching(_ aNotification: Notification) {
17+
// Insert code here to initialize your application
18+
}
19+
20+
func applicationWillTerminate(_ aNotification: Notification) {
21+
// Insert code here to tear down your application
22+
}
23+
24+
25+
}
26+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "mac",
5+
"size" : "16x16",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "mac",
10+
"size" : "16x16",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "mac",
15+
"size" : "32x32",
16+
"scale" : "1x"
17+
},
18+
{
19+
"idiom" : "mac",
20+
"size" : "32x32",
21+
"scale" : "2x"
22+
},
23+
{
24+
"idiom" : "mac",
25+
"size" : "128x128",
26+
"scale" : "1x"
27+
},
28+
{
29+
"idiom" : "mac",
30+
"size" : "128x128",
31+
"scale" : "2x"
32+
},
33+
{
34+
"idiom" : "mac",
35+
"size" : "256x256",
36+
"scale" : "1x"
37+
},
38+
{
39+
"idiom" : "mac",
40+
"size" : "256x256",
41+
"scale" : "2x"
42+
},
43+
{
44+
"idiom" : "mac",
45+
"size" : "512x512",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "mac",
50+
"size" : "512x512",
51+
"scale" : "2x"
52+
}
53+
],
54+
"info" : {
55+
"version" : 1,
56+
"author" : "xcode"
57+
}
58+
}

0 commit comments

Comments
 (0)