Skip to content

Commit

Permalink
Experimental support for Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
xhacker committed Aug 1, 2015
1 parent 1ab2ae1 commit f238af2
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 103 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- [![Travis CI](https://travis-ci.org/xhacker/TagListView.svg)](https://travis-ci.org/xhacker/TagListView) -->
[![Version](https://img.shields.io/cocoapods/v/TagListView.svg?style=flat)](http://cocoadocs.org/docsets/TagListView/)
[![License](https://img.shields.io/cocoapods/l/TagListView.svg?style=flat)](https://github.com/xhacker/TagListView/blob/master/LICENSE)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

Simple but highly customizable iOS tag list view, in Swift. The APIs are *not* stable before 1.0.

Expand Down Expand Up @@ -62,6 +63,12 @@ Use CocoaPods:
pod 'TagListView'
```

Or Carthage:

```ruby
github "pinterest/PINCache"
```

Or drag **TagListView** folder into your project.

## Contribution
Expand Down
8 changes: 5 additions & 3 deletions TagListViewDemoTests/Info.plist → TagListView/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>build.ela.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>im.xhacker.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
159 changes: 96 additions & 63 deletions TagListViewDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,38 @@
1A6076C41AFED303009EA00E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1A6076C21AFED303009EA00E /* Main.storyboard */; };
1A6076C61AFED303009EA00E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1A6076C51AFED303009EA00E /* Images.xcassets */; };
1A6076C91AFED303009EA00E /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1A6076C71AFED303009EA00E /* LaunchScreen.xib */; };
1A6076D51AFED303009EA00E /* TagListViewDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6076D41AFED303009EA00E /* TagListViewDemoTests.swift */; };
1A6076DF1AFED38F009EA00E /* TagView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6076DE1AFED38F009EA00E /* TagView.swift */; };
1A6076E31AFED866009EA00E /* TagListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6076E21AFED866009EA00E /* TagListView.swift */; };
1AD1770B1B6D73E70081F615 /* TagListView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AD176F41B6D73E70081F615 /* TagListView.framework */; };
1AD1770C1B6D73E70081F615 /* TagListView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 1AD176F41B6D73E70081F615 /* TagListView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1AD177141B6D74570081F615 /* TagView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6076DE1AFED38F009EA00E /* TagView.swift */; };
1AD177151B6D745B0081F615 /* TagListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6076E21AFED866009EA00E /* TagListView.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
1A6076CF1AFED303009EA00E /* PBXContainerItemProxy */ = {
1AD177091B6D73E70081F615 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1A6076B11AFED303009EA00E /* Project object */;
proxyType = 1;
remoteGlobalIDString = 1A6076B81AFED303009EA00E;
remoteInfo = TagListViewDemo;
remoteGlobalIDString = 1AD176F31B6D73E70081F615;
remoteInfo = TagListView;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
1AD177121B6D73E70081F615 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
1AD1770C1B6D73E70081F615 /* TagListView.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
1A6076B91AFED303009EA00E /* TagListViewDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TagListViewDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
1A6076BD1AFED303009EA00E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -35,22 +52,22 @@
1A6076C31AFED303009EA00E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
1A6076C51AFED303009EA00E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
1A6076C81AFED303009EA00E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
1A6076CE1AFED303009EA00E /* TagListViewDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TagListViewDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
1A6076D31AFED303009EA00E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1A6076D41AFED303009EA00E /* TagListViewDemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TagListViewDemoTests.swift; sourceTree = "<group>"; };
1A6076DE1AFED38F009EA00E /* TagView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TagView.swift; path = TagListView/TagView.swift; sourceTree = SOURCE_ROOT; };
1A6076E21AFED866009EA00E /* TagListView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TagListView.swift; path = TagListView/TagListView.swift; sourceTree = SOURCE_ROOT; };
1AD176F41B6D73E70081F615 /* TagListView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TagListView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1AD176F71B6D73E70081F615 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
1A6076B61AFED303009EA00E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
1AD1770B1B6D73E70081F615 /* TagListView.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
1A6076CB1AFED303009EA00E /* Frameworks */ = {
1AD176F01B6D73E70081F615 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -64,7 +81,7 @@
isa = PBXGroup;
children = (
1A6076BB1AFED303009EA00E /* TagListViewDemo */,
1A6076D11AFED303009EA00E /* TagListViewDemoTests */,
1AD176F51B6D73E70081F615 /* TagListView */,
1A6076BA1AFED303009EA00E /* Products */,
);
sourceTree = "<group>";
Expand All @@ -73,7 +90,7 @@
isa = PBXGroup;
children = (
1A6076B91AFED303009EA00E /* TagListViewDemo.app */,
1A6076CE1AFED303009EA00E /* TagListViewDemoTests.xctest */,
1AD176F41B6D73E70081F615 /* TagListView.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -100,34 +117,43 @@
name = "Supporting Files";
sourceTree = "<group>";
};
1A6076D11AFED303009EA00E /* TagListViewDemoTests */ = {
1A6076E41AFED91A009EA00E /* TagListView */ = {
isa = PBXGroup;
children = (
1A6076D41AFED303009EA00E /* TagListViewDemoTests.swift */,
1A6076D21AFED303009EA00E /* Supporting Files */,
1A6076DE1AFED38F009EA00E /* TagView.swift */,
1A6076E21AFED866009EA00E /* TagListView.swift */,
);
path = TagListViewDemoTests;
name = TagListView;
sourceTree = "<group>";
};
1A6076D21AFED303009EA00E /* Supporting Files */ = {
1AD176F51B6D73E70081F615 /* TagListView */ = {
isa = PBXGroup;
children = (
1A6076D31AFED303009EA00E /* Info.plist */,
1AD176F61B6D73E70081F615 /* Supporting Files */,
);
name = "Supporting Files";
path = TagListView;
sourceTree = "<group>";
};
1A6076E41AFED91A009EA00E /* TagListView */ = {
1AD176F61B6D73E70081F615 /* Supporting Files */ = {
isa = PBXGroup;
children = (
1A6076DE1AFED38F009EA00E /* TagView.swift */,
1A6076E21AFED866009EA00E /* TagListView.swift */,
1AD176F71B6D73E70081F615 /* Info.plist */,
);
name = TagListView;
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
1AD176F11B6D73E70081F615 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
1A6076B81AFED303009EA00E /* TagListViewDemo */ = {
isa = PBXNativeTarget;
Expand All @@ -136,33 +162,35 @@
1A6076B51AFED303009EA00E /* Sources */,
1A6076B61AFED303009EA00E /* Frameworks */,
1A6076B71AFED303009EA00E /* Resources */,
1AD177121B6D73E70081F615 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
1AD1770A1B6D73E70081F615 /* PBXTargetDependency */,
);
name = TagListViewDemo;
productName = TagListViewDemo;
productReference = 1A6076B91AFED303009EA00E /* TagListViewDemo.app */;
productType = "com.apple.product-type.application";
};
1A6076CD1AFED303009EA00E /* TagListViewDemoTests */ = {
1AD176F31B6D73E70081F615 /* TagListView */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1A6076DB1AFED303009EA00E /* Build configuration list for PBXNativeTarget "TagListViewDemoTests" */;
buildConfigurationList = 1AD177111B6D73E70081F615 /* Build configuration list for PBXNativeTarget "TagListView" */;
buildPhases = (
1A6076CA1AFED303009EA00E /* Sources */,
1A6076CB1AFED303009EA00E /* Frameworks */,
1A6076CC1AFED303009EA00E /* Resources */,
1AD176EF1B6D73E70081F615 /* Sources */,
1AD176F01B6D73E70081F615 /* Frameworks */,
1AD176F11B6D73E70081F615 /* Headers */,
1AD176F21B6D73E70081F615 /* Resources */,
);
buildRules = (
);
dependencies = (
1A6076D01AFED303009EA00E /* PBXTargetDependency */,
);
name = TagListViewDemoTests;
productName = TagListViewDemoTests;
productReference = 1A6076CE1AFED303009EA00E /* TagListViewDemoTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
name = TagListView;
productName = TagListView;
productReference = 1AD176F41B6D73E70081F615 /* TagListView.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

Expand All @@ -176,9 +204,8 @@
1A6076B81AFED303009EA00E = {
CreatedOnToolsVersion = 6.3.1;
};
1A6076CD1AFED303009EA00E = {
CreatedOnToolsVersion = 6.3.1;
TestTargetID = 1A6076B81AFED303009EA00E;
1AD176F31B6D73E70081F615 = {
CreatedOnToolsVersion = 6.4;
};
};
};
Expand All @@ -196,7 +223,7 @@
projectRoot = "";
targets = (
1A6076B81AFED303009EA00E /* TagListViewDemo */,
1A6076CD1AFED303009EA00E /* TagListViewDemoTests */,
1AD176F31B6D73E70081F615 /* TagListView */,
);
};
/* End PBXProject section */
Expand All @@ -212,7 +239,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
1A6076CC1AFED303009EA00E /* Resources */ = {
1AD176F21B6D73E70081F615 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -233,21 +260,22 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
1A6076CA1AFED303009EA00E /* Sources */ = {
1AD176EF1B6D73E70081F615 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1A6076D51AFED303009EA00E /* TagListViewDemoTests.swift in Sources */,
1AD177141B6D74570081F615 /* TagView.swift in Sources */,
1AD177151B6D745B0081F615 /* TagListView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
1A6076D01AFED303009EA00E /* PBXTargetDependency */ = {
1AD1770A1B6D73E70081F615 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1A6076B81AFED303009EA00E /* TagListViewDemo */;
targetProxy = 1A6076CF1AFED303009EA00E /* PBXContainerItemProxy */;
target = 1AD176F31B6D73E70081F615 /* TagListView */;
targetProxy = 1AD177091B6D73E70081F615 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

Expand Down Expand Up @@ -307,7 +335,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -346,7 +374,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -374,37 +402,43 @@
};
name = Release;
};
1A6076DC1AFED303009EA00E /* Debug */ = {
1AD1770D1B6D73E70081F615 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = TagListViewDemoTests/Info.plist;
INFOPLIST_FILE = TagListView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TagListViewDemo.app/TagListViewDemo";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
1A6076DD1AFED303009EA00E /* Release */ = {
1AD1770E1B6D73E70081F615 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
INFOPLIST_FILE = TagListViewDemoTests/Info.plist;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = TagListView/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TagListViewDemo.app/TagListViewDemo";
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
Expand All @@ -429,14 +463,13 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1A6076DB1AFED303009EA00E /* Build configuration list for PBXNativeTarget "TagListViewDemoTests" */ = {
1AD177111B6D73E70081F615 /* Build configuration list for PBXNativeTarget "TagListView" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1A6076DC1AFED303009EA00E /* Debug */,
1A6076DD1AFED303009EA00E /* Release */,
1AD1770D1B6D73E70081F615 /* Debug */,
1AD1770E1B6D73E70081F615 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down

0 comments on commit f238af2

Please sign in to comment.