Skip to content

Commit 3685098

Browse files
Merge pull request #3 from wordpress-mobile/release/0.1.2
Release 0.1.2
2 parents 1d5e846 + 2ee15f1 commit 3685098

Some content is hidden

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

46 files changed

+4127
-0
lines changed

.circleci/config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2.1
2+
3+
orbs:
4+
# Using 1.0 of our Orbs means it will use the latest 1.0.x version from https://github.com/wordpress-mobile/circleci-orbs
5+
ios: wordpress-mobile/[email protected]
6+
7+
workflows:
8+
test_and_validate:
9+
jobs:
10+
- ios/test:
11+
name: Test
12+
xcode-version: "11.2.1"
13+
project: MediaEditor.xcodeproj
14+
scheme: Example
15+
device: iPhone 11
16+
ios-version: "13.2.2"
17+
bundle-install: true
18+
carthage-update: true
19+
- ios/validate-podspec:
20+
name: Validate Podspec
21+
xcode-version: "11.2.1"
22+
podspec-path: MediaEditor.podspec
23+
bundle-install: true
24+
- ios/publish-podspec:
25+
name: Publish to Trunk
26+
xcode-version: "11.2.1"
27+
podspec-path: MediaEditor.podspec
28+
bundle-install: true
29+
post-to-slack: true
30+
filters:
31+
tags:
32+
only: /.*/
33+
branches:
34+
ignore: /.*/

.gitignore

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
### fastlane ###
2+
# fastlane - A streamlined workflow tool for Cocoa deployment
3+
#
4+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
5+
# screenshots whenever they are needed.
6+
# For more information about the recommended setup visit:
7+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
8+
9+
# fastlane specific
10+
fastlane/report.xml
11+
12+
# deliver temporary files
13+
fastlane/Preview.html
14+
15+
# snapshot generated screenshots
16+
fastlane/screenshots/**/*.png
17+
fastlane/screenshots/screenshots.html
18+
19+
# scan temporary files
20+
fastlane/test_output
21+
22+
### macOS ###
23+
# General
24+
.DS_Store
25+
.AppleDouble
26+
.LSOverride
27+
28+
# Icon must end with two \r
29+
Icon
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear in the root of a volume
35+
.DocumentRevisions-V100
36+
.fseventsd
37+
.Spotlight-V100
38+
.TemporaryItems
39+
.Trashes
40+
.VolumeIcon.icns
41+
.com.apple.timemachine.donotpresent
42+
43+
# Directories potentially created on remote AFP share
44+
.AppleDB
45+
.AppleDesktop
46+
Network Trash Folder
47+
Temporary Items
48+
.apdisk
49+
50+
### Ruby ###
51+
*.gem
52+
*.rbc
53+
/.config
54+
/coverage/
55+
/InstalledFiles
56+
/pkg/
57+
/spec/reports/
58+
/spec/examples.txt
59+
/test/tmp/
60+
/test/version_tmp/
61+
/tmp/
62+
63+
# Used by dotenv library to load environment variables.
64+
# .env
65+
66+
# Ignore Byebug command history file.
67+
.byebug_history
68+
69+
## Specific to RubyMotion:
70+
.dat*
71+
.repl_history
72+
build/
73+
*.bridgesupport
74+
build-iPhoneOS/
75+
build-iPhoneSimulator/
76+
77+
## Specific to RubyMotion (use of CocoaPods):
78+
# We recommend against adding the Pods directory to your .gitignore. However
79+
# you should judge for yourself, the pros and cons are mentioned at:
80+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
81+
# vendor/Pods/
82+
83+
## Documentation cache and generated files:
84+
/.yardoc/
85+
/_yardoc/
86+
/doc/
87+
/rdoc/
88+
89+
## Environment normalization:
90+
/.bundle/
91+
/vendor/bundle
92+
/lib/bundler/man/
93+
94+
# for a library or gem, you might want to ignore these files since the code is
95+
# intended to run in multiple environments; otherwise, check them in:
96+
# Gemfile.lock
97+
# .ruby-version
98+
# .ruby-gemset
99+
100+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
101+
.rvmrc
102+
103+
### Ruby Patch ###
104+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
105+
# .rubocop-https?--*
106+
107+
### Swift ###
108+
# Xcode
109+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
110+
111+
## Build generated
112+
DerivedData/
113+
114+
## Various settings
115+
*.pbxuser
116+
!default.pbxuser
117+
*.mode1v3
118+
!default.mode1v3
119+
*.mode2v3
120+
!default.mode2v3
121+
*.perspectivev3
122+
!default.perspectivev3
123+
xcuserdata/
124+
125+
## Other
126+
*.moved-aside
127+
*.xccheckout
128+
*.xcscmblueprint
129+
130+
## Obj-C/Swift specific
131+
*.hmap
132+
*.ipa
133+
*.dSYM.zip
134+
*.dSYM
135+
136+
## Playgrounds
137+
timeline.xctimeline
138+
playground.xcworkspace
139+
140+
# Swift Package Manager
141+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
142+
# Packages/
143+
# Package.pins
144+
# Package.resolved
145+
.build/
146+
# Add this line if you want to avoid checking in Xcode SPM integration.
147+
# .swiftpm/xcode
148+
149+
# CocoaPods
150+
# We recommend against adding the Pods directory to your .gitignore. However
151+
# you should judge for yourself, the pros and cons are mentioned at:
152+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
153+
# Pods/
154+
# Add this line if you want to avoid checking in source code from the Xcode workspace
155+
# *.xcworkspace
156+
157+
# Carthage
158+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
159+
# Carthage/Checkouts
160+
161+
Carthage/Build
162+
163+
# Accio dependency management
164+
Dependencies/
165+
.accio/
166+
167+
# fastlane
168+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
169+
# screenshots whenever they are needed.
170+
# For more information about the recommended setup visit:
171+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
172+
173+
174+
# Code Injection
175+
# After new code Injection tools there's a generated folder /iOSInjectionProject
176+
# https://github.com/johnno1962/injectionforxcode
177+
178+
iOSInjectionProject/
179+
180+
### Xcode ###
181+
# Xcode
182+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
183+
184+
## User settings
185+
186+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
187+
188+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
189+
190+
## Xcode Patch
191+
*.xcodeproj/*
192+
!*.xcodeproj/project.pbxproj
193+
!*.xcodeproj/xcshareddata/
194+
!*.xcworkspace/contents.xcworkspacedata
195+
/*.gcno
196+
197+
### Xcode Patch ###
198+
**/xcshareddata/WorkspaceSettings.xcsettings
199+
200+
### Carthage ###
201+
Carthage/Checkouts
202+
Carthage/Build

Cartfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "TimOliver/TOCropViewController"
2+
github "Quick/Nimble"

Cartfile.resolved

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "Quick/Nimble" "v8.0.5"
2+
github "TimOliver/TOCropViewController" "2.5.2"

Example/AppDelegate.swift

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import UIKit
2+
3+
@UIApplicationMain
4+
class AppDelegate: UIResponder, UIApplicationDelegate {
5+
6+
7+
8+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
9+
// Override point for customization after application launch.
10+
return true
11+
}
12+
13+
// MARK: UISceneSession Lifecycle
14+
15+
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
16+
// Called when a new scene session is being created.
17+
// Use this method to select a configuration to create the new scene with.
18+
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
19+
}
20+
21+
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
22+
// Called when the user discards a scene session.
23+
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
24+
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
25+
}
26+
27+
28+
}
29+
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"size" : "29x29",
16+
"scale" : "2x"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"size" : "29x29",
21+
"scale" : "3x"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"size" : "40x40",
26+
"scale" : "2x"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"size" : "40x40",
31+
"scale" : "3x"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"size" : "60x60",
36+
"scale" : "2x"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"size" : "60x60",
41+
"scale" : "3x"
42+
},
43+
{
44+
"idiom" : "ipad",
45+
"size" : "20x20",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "ipad",
50+
"size" : "20x20",
51+
"scale" : "2x"
52+
},
53+
{
54+
"idiom" : "ipad",
55+
"size" : "29x29",
56+
"scale" : "1x"
57+
},
58+
{
59+
"idiom" : "ipad",
60+
"size" : "29x29",
61+
"scale" : "2x"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"size" : "40x40",
66+
"scale" : "1x"
67+
},
68+
{
69+
"idiom" : "ipad",
70+
"size" : "40x40",
71+
"scale" : "2x"
72+
},
73+
{
74+
"idiom" : "ipad",
75+
"size" : "76x76",
76+
"scale" : "1x"
77+
},
78+
{
79+
"idiom" : "ipad",
80+
"size" : "76x76",
81+
"scale" : "2x"
82+
},
83+
{
84+
"idiom" : "ipad",
85+
"size" : "83.5x83.5",
86+
"scale" : "2x"
87+
},
88+
{
89+
"idiom" : "ios-marketing",
90+
"size" : "1024x1024",
91+
"scale" : "1x"
92+
}
93+
],
94+
"info" : {
95+
"version" : 1,
96+
"author" : "xcode"
97+
}
98+
}
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)