Skip to content

Commit ee5d6f4

Browse files
committed
Initial commit
0 parents  commit ee5d6f4

File tree

20 files changed

+1405
-0
lines changed

20 files changed

+1405
-0
lines changed

.gitignore

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xccheckout
23+
*.xcscmblueprint
24+
25+
## Obj-C/Swift specific
26+
*.hmap
27+
*.ipa
28+
*.dSYM.zip
29+
*.dSYM
30+
31+
## Playgrounds
32+
timeline.xctimeline
33+
playground.xcworkspace
34+
35+
# Swift Package Manager
36+
#
37+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38+
# Packages/
39+
# Package.pins
40+
# Package.resolved
41+
.build/
42+
43+
# CocoaPods
44+
#
45+
# We recommend against adding the Pods directory to your .gitignore. However
46+
# you should judge for yourself, the pros and cons are mentioned at:
47+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
48+
#
49+
Pods/
50+
#
51+
# Add this line if you want to avoid checking in source code from the Xcode workspace
52+
*.xcworkspace
53+
54+
# Carthage
55+
#
56+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
57+
# Carthage/Checkouts
58+
59+
Carthage/Build
60+
61+
# fastlane
62+
#
63+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
64+
# screenshots whenever they are needed.
65+
# For more information about the recommended setup visit:
66+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
67+
68+
fastlane/report.xml
69+
fastlane/Preview.html
70+
fastlane/screenshots/**/*.png
71+
fastlane/test_output
72+
73+
# Code Injection
74+
#
75+
# After new code Injection tools there's a generated folder /iOSInjectionProject
76+
# https://github.com/johnno1962/injectionforxcode
77+
78+
iOSInjectionProject/

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
os: osx
2+
osx_image: xcode10.1
3+
language: swift
4+
env:
5+
global:
6+
- LC_CTYPE=en_US.UTF-8
7+
- LANG=en_US.UTF-8
8+
- PROJECT=ErrorView.xcodeproj
9+
- IOS_FRAMEWORK_SCHEME="ErrorView"
10+
matrix:
11+
- DESTINATION="OS=12.1,name=iPhone XR" SCHEME="$IOS_FRAMEWORK_SCHEME"
12+
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME"
13+
14+
script:
15+
- set -o pipefail
16+
- xcodebuild -version
17+
- xcodebuild -showsdks
18+
19+
# Build Framework in Release and Run Tests if specified
20+
- if [ $RUN_TESTS == "YES" ]; then
21+
xcodebuild -project "$PROJECT" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
22+
else
23+
xcodebuild -project "$PROJECT" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
24+
fi

ErrorView.podspec

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'ErrorView'
3+
s.version = '1.0.0'
4+
s.license= { :type => 'MIT', :file => 'LICENSE' }
5+
s.summary = 'Error view.'
6+
s.description = 'Beautifully animated error view'
7+
s.homepage = 'https://github.com/philip-bui/error-view'
8+
s.author = { 'Philip Bui' => 'philip.bui.developer@gmail.com' }
9+
s.source = { :git => 'https://github.com/philip-bui/error-view.git', :tag => s.version }
10+
s.documentation_url = 'https://github.com/philip-bui/error-view'
11+
12+
s.ios.deployment_target = '9.0'
13+
14+
s.source_files = 'Sources/**/*.swift'
15+
s.screenshots = ['https://github.com/philip-bui/error-view/raw/master/Images/ErrorView.png']
16+
s.swift_version = '4.2'
17+
end

0 commit comments

Comments
 (0)