Skip to content

Commit

Permalink
Added podspec, removed pulic property on class, initial progress
Browse files Browse the repository at this point in the history
  • Loading branch information
gordoneliel committed Dec 5, 2015
1 parent c07a3b3 commit 7d6ed2b
Show file tree
Hide file tree
Showing 14 changed files with 683 additions and 2 deletions.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2015 Eliel Gordon <[email protected]>

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.
31 changes: 31 additions & 0 deletions LinearProgressBar.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Pod::Spec.new do |s|
s.name = "LinearProgressBar"
s.version = "0.0.1"
s.summary = "LinearProgressBar is a simple bar control for iOS."

s.description = <<-DESC
# LinearProgressBar
# LinearProgressBar is a simple timer control for iOS.
# It makes timing in your applications simple.
# What it does?
# It can be used for tracking progress such as timing applications, progress indicators and more.
# Just pod the file and start using the library
DESC


s.homepage = "https://github.com/gordoneliel/LinearProgressBar"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.author = { "Eliel Gordon" => "[email protected]" }
s.source = { :git => "https://github.com/gordoneliel/LinearProgressBar.git", :tag => s.version.to_s }
s.social_media_url = 'https://facebook.com/gordoneliel'

s.platform = :ios, '8.0'
s.requires_arc = true

s.source_files = 'LinearProgressBar/**/*.{swift}'

# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
150 changes: 148 additions & 2 deletions LinearProgressBar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
05AC61B71BF6AE1D00BFA053 /* LinearProgressBar.h in Headers */ = {isa = PBXBuildFile; fileRef = 05AC61B61BF6AE1D00BFA053 /* LinearProgressBar.h */; settings = {ATTRIBUTES = (Public, ); }; };
05AC61BE1BF6AE1D00BFA053 /* LinearProgressBar.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05AC61B31BF6AE1D00BFA053 /* LinearProgressBar.framework */; };
05AC61C31BF6AE1D00BFA053 /* LinearProgressBarTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05AC61C21BF6AE1D00BFA053 /* LinearProgressBarTests.swift */; };
05AC61CE1BF6B35900BFA053 /* LinearProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05AC61CD1BF6B35900BFA053 /* LinearProgressView.swift */; };
05AC61D61BF6B99600BFA053 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05AC61D51BF6B99600BFA053 /* AppDelegate.swift */; };
05AC61D81BF6B99600BFA053 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05AC61D71BF6B99600BFA053 /* ViewController.swift */; };
05AC61DB1BF6B99600BFA053 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 05AC61D91BF6B99600BFA053 /* Main.storyboard */; };
05AC61DD1BF6B99600BFA053 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 05AC61DC1BF6B99600BFA053 /* Assets.xcassets */; };
05AC61E01BF6B99600BFA053 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 05AC61DE1BF6B99600BFA053 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -29,6 +35,14 @@
05AC61BD1BF6AE1D00BFA053 /* LinearProgressBarTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LinearProgressBarTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
05AC61C21BF6AE1D00BFA053 /* LinearProgressBarTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinearProgressBarTests.swift; sourceTree = "<group>"; };
05AC61C41BF6AE1D00BFA053 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
05AC61CD1BF6B35900BFA053 /* LinearProgressView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LinearProgressView.swift; sourceTree = "<group>"; };
05AC61D31BF6B99600BFA053 /* LinearProgressBarExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LinearProgressBarExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
05AC61D51BF6B99600BFA053 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
05AC61D71BF6B99600BFA053 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
05AC61DA1BF6B99600BFA053 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
05AC61DC1BF6B99600BFA053 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
05AC61DF1BF6B99600BFA053 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
05AC61E11BF6B99600BFA053 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -47,13 +61,21 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
05AC61D01BF6B99600BFA053 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
05AC61A91BF6AE1D00BFA053 = {
isa = PBXGroup;
children = (
05AC61B51BF6AE1D00BFA053 /* LinearProgressBar */,
05AC61D41BF6B99600BFA053 /* LinearProgressBarExample */,
05AC61C11BF6AE1D00BFA053 /* LinearProgressBarTests */,
05AC61B41BF6AE1D00BFA053 /* Products */,
);
Expand All @@ -64,6 +86,7 @@
children = (
05AC61B31BF6AE1D00BFA053 /* LinearProgressBar.framework */,
05AC61BD1BF6AE1D00BFA053 /* LinearProgressBarTests.xctest */,
05AC61D31BF6B99600BFA053 /* LinearProgressBarExample.app */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -73,6 +96,7 @@
children = (
05AC61B61BF6AE1D00BFA053 /* LinearProgressBar.h */,
05AC61B81BF6AE1D00BFA053 /* Info.plist */,
05AC61CD1BF6B35900BFA053 /* LinearProgressView.swift */,
);
path = LinearProgressBar;
sourceTree = "<group>";
Expand All @@ -86,6 +110,19 @@
path = LinearProgressBarTests;
sourceTree = "<group>";
};
05AC61D41BF6B99600BFA053 /* LinearProgressBarExample */ = {
isa = PBXGroup;
children = (
05AC61D51BF6B99600BFA053 /* AppDelegate.swift */,
05AC61D71BF6B99600BFA053 /* ViewController.swift */,
05AC61D91BF6B99600BFA053 /* Main.storyboard */,
05AC61DC1BF6B99600BFA053 /* Assets.xcassets */,
05AC61DE1BF6B99600BFA053 /* LaunchScreen.storyboard */,
05AC61E11BF6B99600BFA053 /* Info.plist */,
);
path = LinearProgressBarExample;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -136,6 +173,23 @@
productReference = 05AC61BD1BF6AE1D00BFA053 /* LinearProgressBarTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
05AC61D21BF6B99600BFA053 /* LinearProgressBarExample */ = {
isa = PBXNativeTarget;
buildConfigurationList = 05AC61E21BF6B99600BFA053 /* Build configuration list for PBXNativeTarget "LinearProgressBarExample" */;
buildPhases = (
05AC61CF1BF6B99600BFA053 /* Sources */,
05AC61D01BF6B99600BFA053 /* Frameworks */,
05AC61D11BF6B99600BFA053 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = LinearProgressBarExample;
productName = LinearProgressBarExample;
productReference = 05AC61D31BF6B99600BFA053 /* LinearProgressBarExample.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -148,10 +202,15 @@
TargetAttributes = {
05AC61B21BF6AE1D00BFA053 = {
CreatedOnToolsVersion = 7.1.1;
DevelopmentTeam = F7AL96RPTB;
};
05AC61BC1BF6AE1D00BFA053 = {
CreatedOnToolsVersion = 7.1.1;
};
05AC61D21BF6B99600BFA053 = {
CreatedOnToolsVersion = 7.1.1;
DevelopmentTeam = F7AL96RPTB;
};
};
};
buildConfigurationList = 05AC61AD1BF6AE1D00BFA053 /* Build configuration list for PBXProject "LinearProgressBar" */;
Expand All @@ -160,6 +219,7 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 05AC61A91BF6AE1D00BFA053;
productRefGroup = 05AC61B41BF6AE1D00BFA053 /* Products */;
Expand All @@ -168,6 +228,7 @@
targets = (
05AC61B21BF6AE1D00BFA053 /* LinearProgressBar */,
05AC61BC1BF6AE1D00BFA053 /* LinearProgressBarTests */,
05AC61D21BF6B99600BFA053 /* LinearProgressBarExample */,
);
};
/* End PBXProject section */
Expand All @@ -187,13 +248,24 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
05AC61D11BF6B99600BFA053 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
05AC61E01BF6B99600BFA053 /* LaunchScreen.storyboard in Resources */,
05AC61DD1BF6B99600BFA053 /* Assets.xcassets in Resources */,
05AC61DB1BF6B99600BFA053 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
05AC61AE1BF6AE1D00BFA053 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
05AC61CE1BF6B35900BFA053 /* LinearProgressView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -205,6 +277,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
05AC61CF1BF6B99600BFA053 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
05AC61D81BF6B99600BFA053 /* ViewController.swift in Sources */,
05AC61D61BF6B99600BFA053 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -215,6 +296,25 @@
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
05AC61D91BF6B99600BFA053 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
05AC61DA1BF6B99600BFA053 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
05AC61DE1BF6B99600BFA053 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
05AC61DF1BF6B99600BFA053 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
05AC61C51BF6AE1D00BFA053 /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -253,7 +353,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -295,7 +395,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -308,28 +408,37 @@
05AC61C81BF6AE1D00BFA053 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = LinearProgressBar/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gordoneliel.LinearProgressBar;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
05AC61C91BF6AE1D00BFA053 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = LinearProgressBar/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gordoneliel.LinearProgressBar;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -357,6 +466,32 @@
};
name = Release;
};
05AC61E31BF6B99600BFA053 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = LinearProgressBarExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gordoneliel.LinearProgressBarExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
05AC61E41BF6B99600BFA053 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = LinearProgressBarExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gordoneliel.LinearProgressBarExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -376,6 +511,7 @@
05AC61C91BF6AE1D00BFA053 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
05AC61CA1BF6AE1D00BFA053 /* Build configuration list for PBXNativeTarget "LinearProgressBarTests" */ = {
isa = XCConfigurationList;
Expand All @@ -384,6 +520,16 @@
05AC61CC1BF6AE1D00BFA053 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
05AC61E21BF6B99600BFA053 /* Build configuration list for PBXNativeTarget "LinearProgressBarExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
05AC61E31BF6B99600BFA053 /* Debug */,
05AC61E41BF6B99600BFA053 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
</Bucket>
Loading

0 comments on commit 7d6ed2b

Please sign in to comment.