Skip to content

Commit

Permalink
Split out watch example app to separate project
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Apr 23, 2020
1 parent e54b70e commit 012ed8a
Show file tree
Hide file tree
Showing 30 changed files with 931 additions and 470 deletions.
56 changes: 33 additions & 23 deletions Examples/Podfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
use_frameworks!
workspace 'RswiftExamples'

workspace 'ResourceApp'
project 'ResourceApp/ResourceApp'
def rswiftlib
pod 'R.swift.Library', :git => 'https://github.com/mac-cain13/R.swift.Library.git' # for CI builds
# pod 'R.swift.Library', :path => '../../R.swift.Library' # for development
end

abstract_target 'Shared' do
inhibit_all_warnings!
target 'ResourceApp' do
platform :ios, '9.0'
project 'ResourceApp/ResourceApp'

pod 'R.swift.Library', :git => 'https://github.com/mac-cain13/R.swift.Library.git' # for CI builds
# pod 'R.swift.Library', :path => '../R.swift.Library' # for development

target 'ResourceApp' do
platform :ios, '9.0'

pod 'SWRevealViewController'
end
target 'ResourceAppTests' do
platform :ios, '9.0'

pod 'SWRevealViewController'
end
target 'ResourceApp-tvOS' do
platform :tvos, '9.0'
end
target 'ResourceApp-watchOS-Extension' do
platform :watchos, '2.2'
end
pod 'SWRevealViewController'

rswiftlib
end

target 'ResourceAppTests' do
platform :ios, '9.0'
project 'ResourceApp/ResourceApp'

pod 'SWRevealViewController'

rswiftlib
end

target 'ResourceApp-tvOS' do
platform :tvos, '9.0'
project 'ResourceApp/ResourceApp'

rswiftlib
end

target 'ResourceApp-watchOS-Extension' do
platform :watchos, '2.2'
project 'RwatchApp/RwatchApp'

rswiftlib
end
2 changes: 1 addition & 1 deletion Examples/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ SPEC CHECKSUMS:
R.swift.Library: 5ba4f1631300caf9a4d890186930da85d540769d
SWRevealViewController: 6d3fd97f70112fd7cef9de14df4260eacce4c63a

PODFILE CHECKSUM: feb2d125d56abaa9101403aedbf488a7d5445eab
PODFILE CHECKSUM: 62867ba54b961dab25b6dfdb9310eaa7b0d317d5

COCOAPODS: 1.9.1
471 changes: 39 additions & 432 deletions Examples/ResourceApp/ResourceApp.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DEF559961CA4873D009B8C51"
BuildableName = "ResourceApp-tvOS.app"
BlueprintName = "ResourceApp-tvOS"
ReferencedContainer = "container:ResourceApp.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO"
Expand All @@ -40,17 +49,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DEF559961CA4873D009B8C51"
BuildableName = "ResourceApp-tvOS.app"
BlueprintName = "ResourceApp-tvOS"
ReferencedContainer = "container:ResourceApp.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -72,8 +70,6 @@
ReferencedContainer = "container:ResourceApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
2 changes: 1 addition & 1 deletion Examples/ResourceApp/ResourceAppTests/StringsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class StringsTests: XCTestCase {

func testNoNilStrings() {
XCTAssertNotNil(R.string.generic.loremipsum())
XCTAssertNotNil(R.string.localizable.japaneseOnly())
// XCTAssertNotNil(R.string.localizable.japaneseOnly())
XCTAssertNotNil(R.string.localizable.one())
XCTAssertNotNil(R.string.localizable.quote(4))
XCTAssertNotNil(R.string.localizable.two())
Expand Down
3 changes: 3 additions & 0 deletions Examples/RswiftExamples.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Examples/RwatchApp/.rswiftignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Filtering single file
ResourceApp/Images/Sky.tiff

# Corrupt line

# Ignore all files containing '.ignoreme.'
**/*.ignoreme.*

# Explicitly include single file
!ResourceApp/ExplicitInclude.ignoreme.png

# Explicitly include all files containing '.dont.ignoreme.'
!**/*.dont.ignoreme.*
Loading

0 comments on commit 012ed8a

Please sign in to comment.