Skip to content

Commit

Permalink
[TVOSToggleButton] add toggle button
Browse files Browse the repository at this point in the history
  • Loading branch information
cemolcay committed Feb 16, 2016
1 parent 986f0f7 commit 6d0ffaa
Show file tree
Hide file tree
Showing 11 changed files with 328 additions and 210 deletions.
21 changes: 11 additions & 10 deletions TVOSButton.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ Pod::Spec.new do |s|
#

s.name = "TVOSButton"
s.version = "0.0.1"
s.summary = "A short description of TVOSButton."
s.version = "0.2"
s.summary = "Missing button component for tvOS."

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
Missing button component for tvos.
DESC

s.homepage = "http://EXAMPLE/TVOSButton"
s.homepage = "https://github.com/movielala/TVOSButton"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"


Expand All @@ -38,7 +39,7 @@ Pod::Spec.new do |s|
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
#

s.license = "MIT (example)"
s.license = "Apache"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }


Expand Down Expand Up @@ -70,7 +71,7 @@ Pod::Spec.new do |s|
# s.ios.deployment_target = "5.0"
# s.osx.deployment_target = "10.7"
# s.watchos.deployment_target = "2.0"
# s.tvos.deployment_target = "9.0"
s.tvos.deployment_target = "9.0"


# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand All @@ -79,7 +80,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "http://EXAMPLE/TVOSButton.git", :tag => "0.0.1" }
s.source = { :git => "https://github.com/movielala/TVOSButton.git", :tag => "v0.2" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand All @@ -90,8 +91,8 @@ Pod::Spec.new do |s|
# Not including the public_header_files will make all headers public.
#

s.source_files = "Classes", "Classes/**/*.{h,m}"
s.exclude_files = "Classes/Exclude"
s.source_files = "TVOSButton"
# s.exclude_files = "Classes/Exclude"

# s.public_header_files = "Classes/**/*.h"

Expand Down Expand Up @@ -129,9 +130,9 @@ Pod::Spec.new do |s|
# where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works.

# s.requires_arc = true
s.requires_arc = true

# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency "JSONKit", "~> 1.4"
s.dependency "ALKit"

end
67 changes: 4 additions & 63 deletions TVOSButton.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
B238BC0B1C6E63CB003160F5 /* TVOSButtonShadow.swift in Sources */ = {isa = PBXBuildFile; fileRef = B238BC0A1C6E63CA003160F5 /* TVOSButtonShadow.swift */; };
B238BC101C6E63E1003160F5 /* TVOSButtonImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B238BC0F1C6E63E1003160F5 /* TVOSButtonImage.swift */; };
B238BC121C6E640D003160F5 /* TVOSButtonLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B238BC111C6E640D003160F5 /* TVOSButtonLabel.swift */; };
B25ADB1B1C72D8CD00735E04 /* TVOSToggleButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = B25ADB1A1C72D8CD00735E04 /* TVOSToggleButton.swift */; };
B25D2F691C6C54E800C3DAE4 /* TVOSButton.h in Headers */ = {isa = PBXBuildFile; fileRef = B25D2F681C6C54E800C3DAE4 /* TVOSButton.h */; settings = {ATTRIBUTES = (Public, ); }; };
B25D2F701C6C54E900C3DAE4 /* TVOSButton.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B25D2F651C6C54E800C3DAE4 /* TVOSButton.framework */; };
B25D2F751C6C54E900C3DAE4 /* TVOSButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B25D2F741C6C54E900C3DAE4 /* TVOSButtonTests.swift */; };
Expand All @@ -18,27 +19,6 @@
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
B24AE6EA1C6D53F80099207D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = B24AE6B61C6D53F70099207D;
remoteInfo = TVOSButtonExample;
};
B24AE6EC1C6D53F80099207D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = B24AE6C71C6D53F70099207D;
remoteInfo = TVOSButtonExampleTests;
};
B24AE6EE1C6D53F80099207D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = B24AE6D21C6D53F70099207D;
remoteInfo = TVOSButtonExampleUITests;
};
B25D2F711C6C54E900C3DAE4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B25D2F5C1C6C54E800C3DAE4 /* Project object */;
Expand All @@ -53,7 +33,7 @@
B238BC0A1C6E63CA003160F5 /* TVOSButtonShadow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TVOSButtonShadow.swift; sourceTree = "<group>"; };
B238BC0F1C6E63E1003160F5 /* TVOSButtonImage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TVOSButtonImage.swift; sourceTree = "<group>"; };
B238BC111C6E640D003160F5 /* TVOSButtonLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TVOSButtonLabel.swift; sourceTree = "<group>"; };
B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = TVOSButtonExample.xcodeproj; path = TVOSButtonExample/TVOSButtonExample.xcodeproj; sourceTree = "<group>"; };
B25ADB1A1C72D8CD00735E04 /* TVOSToggleButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TVOSToggleButton.swift; sourceTree = "<group>"; };
B25D2F651C6C54E800C3DAE4 /* TVOSButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TVOSButton.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B25D2F681C6C54E800C3DAE4 /* TVOSButton.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TVOSButton.h; sourceTree = "<group>"; };
B25D2F6A1C6C54E800C3DAE4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -102,20 +82,9 @@
name = Pods;
sourceTree = "<group>";
};
B24AE6E51C6D53F70099207D /* Products */ = {
isa = PBXGroup;
children = (
B24AE6EB1C6D53F80099207D /* TVOSButtonExample.app */,
B24AE6ED1C6D53F80099207D /* TVOSButtonExampleTests.xctest */,
B24AE6EF1C6D53F80099207D /* TVOSButtonExampleUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
B25D2F5B1C6C54E800C3DAE4 = {
isa = PBXGroup;
children = (
B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */,
B25D2F671C6C54E800C3DAE4 /* TVOSButton */,
B25D2F731C6C54E900C3DAE4 /* TVOSButtonTests */,
B25D2F661C6C54E800C3DAE4 /* Products */,
Expand All @@ -142,6 +111,7 @@
B238BC0A1C6E63CA003160F5 /* TVOSButtonShadow.swift */,
B238BC111C6E640D003160F5 /* TVOSButtonLabel.swift */,
B238BC0F1C6E63E1003160F5 /* TVOSButtonImage.swift */,
B25ADB1A1C72D8CD00735E04 /* TVOSToggleButton.swift */,
);
path = TVOSButton;
sourceTree = "<group>";
Expand Down Expand Up @@ -235,12 +205,6 @@
mainGroup = B25D2F5B1C6C54E800C3DAE4;
productRefGroup = B25D2F661C6C54E800C3DAE4 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = B24AE6E51C6D53F70099207D /* Products */;
ProjectRef = B24AE6E41C6D53F70099207D /* TVOSButtonExample.xcodeproj */;
},
);
projectRoot = "";
targets = (
B25D2F641C6C54E800C3DAE4 /* TVOSButton */,
Expand All @@ -249,30 +213,6 @@
};
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
B24AE6EB1C6D53F80099207D /* TVOSButtonExample.app */ = {
isa = PBXReferenceProxy;
fileType = wrapper.application;
path = TVOSButtonExample.app;
remoteRef = B24AE6EA1C6D53F80099207D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
B24AE6ED1C6D53F80099207D /* TVOSButtonExampleTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = TVOSButtonExampleTests.xctest;
remoteRef = B24AE6EC1C6D53F80099207D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
B24AE6EF1C6D53F80099207D /* TVOSButtonExampleUITests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = TVOSButtonExampleUITests.xctest;
remoteRef = B24AE6EE1C6D53F80099207D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
B25D2F631C6C54E800C3DAE4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
Expand Down Expand Up @@ -330,6 +270,7 @@
files = (
B238BC121C6E640D003160F5 /* TVOSButtonLabel.swift in Sources */,
B25D2F801C6C551100C3DAE4 /* TVOSButton.swift in Sources */,
B25ADB1B1C72D8CD00735E04 /* TVOSToggleButton.swift in Sources */,
B238BC101C6E63E1003160F5 /* TVOSButtonImage.swift in Sources */,
B238BC0B1C6E63CB003160F5 /* TVOSButtonShadow.swift in Sources */,
);
Expand Down
3 changes: 3 additions & 0 deletions TVOSButton.xcworkspace/contents.xcworkspacedata

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

Loading

0 comments on commit 6d0ffaa

Please sign in to comment.