Skip to content

Commit

Permalink
Add SwiftUILists pod
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleve committed Nov 19, 2023
1 parent 35b49e3 commit 1832387
Show file tree
Hide file tree
Showing 9 changed files with 143 additions and 8 deletions.
4 changes: 2 additions & 2 deletions BlueprintUILists.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Pod::Spec.new do |s|
s.name = 'BlueprintUILists'
s.version = LISTABLE_VERSION
s.summary = 'Declarative list views for iOS apps that deploy back to iOS 14.0.'
s.homepage = 'https://github.com/kyleve/Listable'
s.homepage = 'https://github.com/square/Listable'
s.license = 'Apache License, Version 2.0'
s.author = { 'Kyle' => '[email protected]' }
s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" }
s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" }

s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET

Expand Down
24 changes: 24 additions & 0 deletions Demo/Demo.xcodeproj/xcshareddata/xcschemes/Demo.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8EAE60389045F4E9793AE5E00C75EAEC"
BuildableName = "SwiftUILists-Unit-Tests.xctest"
BlueprintName = "SwiftUILists-Unit-Tests"
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -86,6 +100,16 @@
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8EAE60389045F4E9793AE5E00C75EAEC"
BuildableName = "SwiftUILists-Unit-Tests.xctest"
BlueprintName = "SwiftUILists-Unit-Tests"
ReferencedContainer = "container:../Pods/Pods.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
52 changes: 52 additions & 0 deletions Demo/Demo.xcodeproj/xcshareddata/xcschemes/Test Targets.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1420"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0AE8554D2390933100F2E245"
BuildableName = "Test Targets.xctest"
BlueprintName = "Test Targets"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
6 changes: 3 additions & 3 deletions ListableUI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Pod::Spec.new do |s|
s.name = 'ListableUI'
s.version = LISTABLE_VERSION
s.summary = 'Declarative list views for iOS apps that deploy back to iOS 14.0.'
s.homepage = 'https://github.com/kyleve/Listable'
s.homepage = 'https://github.com/square/Listable'
s.license = 'Apache License, Version 2.0'
s.author = { 'Kyle' => 'k@squareup.com' }
s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" }
s.author = { 'UI Systems iOS' => 'ui-systems-ios@squareup.com' }
s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" }

s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET

Expand Down
1 change: 1 addition & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target 'Demo' do
# Local Pods
pod 'ListableUI', :path => 'ListableUI.podspec', :testspecs => ['Tests']
pod 'BlueprintUILists', :path => 'BlueprintUILists.podspec', :testspecs => ['Tests']
pod 'SwiftUILists', :path => 'SwiftUILists.podspec', :testspecs => ['Tests']

# External Pods
pod 'BlueprintUI'
Expand Down
15 changes: 12 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ PODS:
- Snapshot
- Snapshot (1.0.0.LOCAL)
- Snapshot/Tests (1.0.0.LOCAL)
- SwiftUILists (13.0.0):
- ListableUI
- SwiftUILists/Tests (13.0.0):
- ListableUI

DEPENDENCIES:
- BlueprintUI
Expand All @@ -27,6 +31,8 @@ DEPENDENCIES:
- ListableUI/Tests (from `ListableUI.podspec`)
- Snapshot (from `Internal Pods/Snapshot/Snapshot.podspec`)
- Snapshot/Tests (from `Internal Pods/Snapshot/Snapshot.podspec`)
- SwiftUILists (from `SwiftUILists.podspec`)
- SwiftUILists/Tests (from `SwiftUILists.podspec`)

SPEC REPOS:
trunk:
Expand All @@ -42,15 +48,18 @@ EXTERNAL SOURCES:
:path: ListableUI.podspec
Snapshot:
:path: Internal Pods/Snapshot/Snapshot.podspec
SwiftUILists:
:path: SwiftUILists.podspec

SPEC CHECKSUMS:
BlueprintUI: a1adeb91f76c88dd499ad693251aa96919b1c2a4
BlueprintUICommonControls: 9e02875bc6b8ef64aa9634c32d7156bd50c7b88d
BlueprintUILists: 2962f5944139e4e88b60f67e26c1555e1bdd61f5
BlueprintUILists: 7b7e30176417c43828d7675b5e846ee3f22b2468
EnglishDictionary: 277ff15917abc170362afbd2ad11cbe15c2ae6ad
ListableUI: d510180c325505294d7da3d4bf7f56977f863dd8
ListableUI: 56cbcafd28d2ea216bb23e82894d2d8366c88cbe
Snapshot: a936e73ede9570c80fb55e20542903e81efbad82
SwiftUILists: 638c8d623dcba7fdaed9679ab1ade67b36b4d548

PODFILE CHECKSUM: 2ca1d80570fc765312a79bcaa886ee9034caabd2
PODFILE CHECKSUM: ef931c73a8cb3c9e3cc779683c88d4a90771a94e

COCOAPODS: 1.11.3
41 changes: 41 additions & 0 deletions SwiftUILists.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
require_relative 'version'

Pod::Spec.new do |s|
s.name = 'SwiftUILists'
s.version = LISTABLE_VERSION
s.summary = 'Declarative list views for SwiftUI'
s.homepage = 'https://github.com/square/Listable'
s.license = 'Apache License, Version 2.0'
s.author = { 'UI Systems iOS' => '[email protected]' }
s.source = { git: 'https://github.com/square/Listable.git', tag: "#{s.version}" }

s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET

s.swift_versions = [LISTABLE_SWIFT_VERSION]

s.dependency 'ListableUI'

s.frameworks = 'SwiftUI'

s.source_files = 'SwiftUILists/Sources/**/*.{swift}'

s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
}

unless ENV['LISTABLE_PUBLISHING']

# These tests can only be run locally, because they depend on local pods.

s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'SwiftUILists/Tests/**/*.{swift}'
test_spec.ios.resource_bundle = { 'SwiftUIListsResources' => 'SwiftUILists/Tests/Resources/**/*.*' }

test_spec.frameworks = 'XCTest', 'SwiftUI'

test_spec.libraries = 'swiftsimd', 'swiftCoreGraphics', 'swiftFoundation', 'swiftUIKit'

test_spec.requires_app_host = true
end
end
end
4 changes: 4 additions & 0 deletions SwiftUILists/Sources/dummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

// Just so things compile before we have actual sources
private struct Dummy {
}
4 changes: 4 additions & 0 deletions SwiftUILists/Tests/dummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

// Just so things compile before we have actual sources
private struct Dummy {
}

0 comments on commit 1832387

Please sign in to comment.