Skip to content

Commit ecf258a

Browse files
committed
Working on core features
1 parent 69ae526 commit ecf258a

32 files changed

Lines changed: 3173 additions & 0 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/Pods
2+
/Podfile.lock
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSHumanReadableCopyright</key>
24+
<string>Copyright © 2019 Daniele Margutti. All rights reserved.</string>
25+
<key>NSPrincipalClass</key>
26+
<string></string>
27+
</dict>
28+
</plist>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
</dict>
24+
</plist>

Package.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version:4.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "ScrollStackController",
8+
products: [
9+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10+
.library(
11+
name: "ScrollStackController",
12+
targets: ["ScrollStackController"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
21+
.target(
22+
name: "ScrollStackController",
23+
dependencies: []),
24+
.testTarget(
25+
name: "ScrollStackControllerTests",
26+
dependencies: ["ScrollStackController"]),
27+
]
28+
)

Podfile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Uncomment the next line to define a global platform for your project
2+
platform :ios, '11.0'
3+
4+
target 'ScrollStackController-iOS' do
5+
# Comment the next line if you don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for ScrollStackController-iOS
9+
10+
target 'ScrollStackController-iOS Tests' do
11+
inherit! :search_paths
12+
# Pods for testing
13+
end
14+
15+
end
16+
17+
target 'ScrollStackController-tvOS' do
18+
# Comment the next line if you don't want to use dynamic frameworks
19+
use_frameworks!
20+
21+
# Pods for ScrollStackController-tvOS
22+
23+
target 'ScrollStackController-tvOS Tests' do
24+
inherit! :search_paths
25+
# Pods for testing
26+
end
27+
28+
end
29+
30+
target 'ScrollStackControllerDemo' do
31+
# Comment the next line if you don't want to use dynamic frameworks
32+
use_frameworks!
33+
34+
# Pods for ScrollStackControllerDemo
35+
36+
pod 'ScrollStackController', :path => './'
37+
38+
end

ScrollStackController.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Pod::Spec.new do |s|
2+
s.name = "ScrollStackController"
3+
s.version = "1.0.0"
4+
s.summary = "Create complex scrollable layout using UIViewController and simplify your code"
5+
s.description = <<-DESC
6+
Your description here.
7+
DESC
8+
s.homepage = "https://github.com/malcommac/ScrollStackController"
9+
s.license = { :type => "MIT", :file => "LICENSE" }
10+
s.author = { "Daniele Margutti" => "hello@danielemargutti.com" }
11+
s.social_media_url = "http://www.twitter.com/danielemargutti"
12+
s.ios.deployment_target = "11.0"
13+
s.tvos.deployment_target = "9.0"
14+
s.source = { :git => ".git", :tag => s.version.to_s }
15+
s.frameworks = "Foundation", "UIKit"
16+
s.source_files = 'Sources/**/*.swift'
17+
s.swift_versions = ['5.0', '5.1']
18+
end

0 commit comments

Comments
 (0)