Skip to content

Commit

Permalink
Prepare for public release
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jul 9, 2015
1 parent 1f3bff7 commit 9c064db
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 25 deletions.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2015 Venmo

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 changes: 25 additions & 1 deletion Readme.markdown
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
# Static

[![Version](https://img.shields.io/github/release/venmo/Static.svg)](https://github.com/venmo/Static/releases) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![CocoaPods compatible](https://img.shields.io/cocoapods/v/Static.svg)](https://cocoapods.org/pods/Static)

Simple static table views for iOS in Swift.


## Building

Xcode 7 beta 3 is required.
Static is written in Swift 2 so Xcode 7b3 is required. There aren't any dependencies besides system frameworks.


## Installation

[Carthage](https://github.com/carthage/carthage) is the recommended way to install Static. Add the following to your Cartfile:

``` ruby
github "venmo/Static"
```

You can also install with [CocoaPods](https://cocoapods.org):

``` ruby
pod 'Static'
```

For manual installation, it's recommended to add the project as a subproject to your project or workspace and adding the appropriate framework as a target dependency.


## Usage

Enjoy.
12 changes: 12 additions & 0 deletions Static.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Pod::Spec.new do |spec|
spec.name = 'Static'
spec.version = '0.1.0'
spec.authors = { 'Venmo' => '[email protected]' }
spec.homepage = 'https://github.com/venmo/Static'
spec.summary = 'Simple static table views for iOS in Swift.'
spec.source = { :git => 'https://github.com/venmo/Static.git', :tag => "v#{spec.version}" }
spec.license = { :type => 'MIT', :file => 'LICENSE' }

spec.frameworks = 'Foundation', 'UIKit'
spec.source_files = 'Static/*.{h,m,swift}'
end
46 changes: 23 additions & 23 deletions Static.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
/* Begin PBXBuildFile section */
21826AAE1B3F51A100AA9641 /* Static.h in Headers */ = {isa = PBXBuildFile; fileRef = 21826AAD1B3F51A100AA9641 /* Static.h */; settings = {ATTRIBUTES = (Public, ); }; };
21826AB51B3F51A100AA9641 /* Static.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 21826AAA1B3F51A100AA9641 /* Static.framework */; };
21826ABA1B3F51A100AA9641 /* TableDataSourceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AB91B3F51A100AA9641 /* TableDataSourceTests.swift */; };
21826AC91B3F51D000AA9641 /* ButtonCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AC41B3F51D000AA9641 /* ButtonCell.swift */; };
21826ACA1B3F51D000AA9641 /* Row.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AC51B3F51D000AA9641 /* Row.swift */; };
21826ACB1B3F51D000AA9641 /* Section.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AC61B3F51D000AA9641 /* Section.swift */; };
21826ACC1B3F51D000AA9641 /* TableDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AC71B3F51D000AA9641 /* TableDataSource.swift */; };
21826ACD1B3F51D000AA9641 /* Value1Cell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AC81B3F51D000AA9641 /* Value1Cell.swift */; };
21826ACF1B3F534000AA9641 /* Value2Cell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826ACE1B3F534000AA9641 /* Value2Cell.swift */; };
21826AD11B3F535A00AA9641 /* SubtitleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21826AD01B3F535A00AA9641 /* SubtitleCell.swift */; };
366AB2E21B4DE8D9002C4717 /* RowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 366AB2E11B4DE8D9002C4717 /* RowTests.swift */; };
366AB2E41B4DEAA4002C4717 /* SectionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 366AB2E31B4DEAA4002C4717 /* SectionTests.swift */; };
366AB2F31B4EE1A7002C4717 /* RowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 366AB2EF1B4EE1A7002C4717 /* RowTests.swift */; };
366AB2F41B4EE1A7002C4717 /* SectionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 366AB2F01B4EE1A7002C4717 /* SectionTests.swift */; };
36799F991B41C857009A9D16 /* CellType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36799F981B41C857009A9D16 /* CellType.swift */; };
36C8FE9B1B4EECF30004DA5B /* TableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36C8FE9A1B4EECF30004DA5B /* TableViewController.swift */; };
366AB2F51B4EE1A7002C4717 /* TableDataSourceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 366AB2F11B4EE1A7002C4717 /* TableDataSourceTests.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -38,19 +38,19 @@
21826AAD1B3F51A100AA9641 /* Static.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Static.h; sourceTree = "<group>"; };
21826AAF1B3F51A100AA9641 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
21826AB41B3F51A100AA9641 /* StaticTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StaticTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
21826AB91B3F51A100AA9641 /* TableDataSourceTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableDataSourceTests.swift; sourceTree = "<group>"; };
21826ABB1B3F51A100AA9641 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
21826AC41B3F51D000AA9641 /* ButtonCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ButtonCell.swift; sourceTree = "<group>"; };
21826AC51B3F51D000AA9641 /* Row.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Row.swift; sourceTree = "<group>"; };
21826AC61B3F51D000AA9641 /* Section.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Section.swift; sourceTree = "<group>"; };
21826AC71B3F51D000AA9641 /* TableDataSource.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDataSource.swift; sourceTree = "<group>"; };
21826AC81B3F51D000AA9641 /* Value1Cell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Value1Cell.swift; sourceTree = "<group>"; };
21826ACE1B3F534000AA9641 /* Value2Cell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Value2Cell.swift; sourceTree = "<group>"; };
21826AD01B3F535A00AA9641 /* SubtitleCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubtitleCell.swift; sourceTree = "<group>"; };
366AB2E11B4DE8D9002C4717 /* RowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowTests.swift; sourceTree = "<group>"; };
366AB2E31B4DEAA4002C4717 /* SectionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SectionTests.swift; sourceTree = "<group>"; };
366AB2EE1B4EE1A7002C4717 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
366AB2EF1B4EE1A7002C4717 /* RowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RowTests.swift; sourceTree = "<group>"; };
36799F981B41C857009A9D16 /* CellType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellType.swift; sourceTree = "<group>"; };
36C8FE9A1B4EECF30004DA5B /* TableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewController.swift; sourceTree = "<group>"; };
366AB2F01B4EE1A7002C4717 /* SectionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SectionTests.swift; sourceTree = "<group>"; };
366AB2F11B4EE1A7002C4717 /* TableDataSourceTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableDataSourceTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -76,7 +76,6 @@
isa = PBXGroup;
children = (
21826AAC1B3F51A100AA9641 /* Static */,
21826AB81B3F51A100AA9641 /* StaticTests */,
21826AAB1B3F51A100AA9641 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -100,19 +99,20 @@
21826AC51B3F51D000AA9641 /* Row.swift */,
366AB2E91B4DFCDD002C4717 /* Cells */,
21826AAF1B3F51A100AA9641 /* Info.plist */,
366AB2ED1B4EE1A7002C4717 /* Tests */,
);
path = Static;
sourceTree = "<group>";
};
21826AB81B3F51A100AA9641 /* StaticTests */ = {
366AB2ED1B4EE1A7002C4717 /* Tests */ = {
isa = PBXGroup;
children = (
21826AB91B3F51A100AA9641 /* TableDataSourceTests.swift */,
366AB2E11B4DE8D9002C4717 /* RowTests.swift */,
366AB2E31B4DEAA4002C4717 /* SectionTests.swift */,
21826ABB1B3F51A100AA9641 /* Info.plist */,
366AB2EF1B4EE1A7002C4717 /* RowTests.swift */,
366AB2F01B4EE1A7002C4717 /* SectionTests.swift */,
366AB2F11B4EE1A7002C4717 /* TableDataSourceTests.swift */,
366AB2EE1B4EE1A7002C4717 /* Info.plist */,
);
path = StaticTests;
path = Tests;
sourceTree = "<group>";
};
366AB2E91B4DFCDD002C4717 /* Cells */ = {
Expand Down Expand Up @@ -251,9 +251,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
366AB2E21B4DE8D9002C4717 /* RowTests.swift in Sources */,
21826ABA1B3F51A100AA9641 /* TableDataSourceTests.swift in Sources */,
366AB2E41B4DEAA4002C4717 /* SectionTests.swift in Sources */,
366AB2F31B4EE1A7002C4717 /* RowTests.swift in Sources */,
366AB2F41B4EE1A7002C4717 /* SectionTests.swift in Sources */,
366AB2F51B4EE1A7002C4717 /* TableDataSourceTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -369,7 +369,7 @@
INFOPLIST_FILE = Static/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.Static;
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.static;
PRODUCT_NAME = Static;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -388,7 +388,7 @@
INFOPLIST_FILE = Static/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.Static;
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.static;
PRODUCT_NAME = Static;
SKIP_INSTALL = YES;
};
Expand All @@ -397,19 +397,19 @@
21826AC21B3F51A100AA9641 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = StaticTests/Info.plist;
INFOPLIST_FILE = Static/Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.StaticTests;
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.static.tests;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
21826AC31B3F51A100AA9641 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = StaticTests/Info.plist;
INFOPLIST_FILE = Static/Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.StaticTests;
PRODUCT_BUNDLE_IDENTIFIER = com.venmo.static.tests;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion Static/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>0.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9c064db

Please sign in to comment.