Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron <[email protected]>
  • Loading branch information
Cameron committed Jul 9, 2017
1 parent 9a5a497 commit 9ea1587
Show file tree
Hide file tree
Showing 132 changed files with 8,330 additions and 592 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "Frameworks/Eureka"]
path = Frameworks/Eureka
url = https://github.com/xmartlabs/Eureka.git
[submodule "git/Eureka"]
path = git/Eureka
url = https://github.com/xmartlabs/Eureka.git
18 changes: 18 additions & 0 deletions DynamicButton/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Xcode
.DS_Store
*/build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
*.hmap
*.xccheckout
1 change: 1 addition & 0 deletions DynamicButton/.swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
8 changes: 8 additions & 0 deletions DynamicButton/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: objective-c
osx_image: xcode8
script:
- xcodebuild -version
- xcodebuild -project Example/DynamicButtonExample.xcodeproj -scheme DynamicButtonUITests -sdk iphonesimulator -destination "OS=9.1,name=iPad 2" -configuration Release ONLY_ACTIVE_ARCH=YES -enableCodeCoverage YES test
- xcodebuild -project Example/DynamicButtonExample.xcodeproj -scheme DynamicButtonTests -sdk iphonesimulator -destination "OS=9.1,name=iPad 2" -configuration Release ONLY_ACTIVE_ARCH=YES -enableCodeCoverage YES test
after_success:
- bash <(curl -s https://codecov.io/bash) -cF ios
124 changes: 124 additions & 0 deletions DynamicButton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# Change log

## [Version 4.0.0](https://github.com/yannickl/DynamicButton/releases/tag/4.0.0)
Released on 2017-04-02.

**Swift 3.1 supports**

- [REFACTORING] The `DynamicButtonStyle` is now an enum
- [ADD] Each style must now adopt the `DynamicButtonBuildableStyle` protocol
- [ADD] The `DynamicButtonPathVector` struct
- [ADD] `styleByName` property in the `DynamicButtonStyle`
- The default buildable style access controls are now `internal`

## [Version 3.1.0](https://github.com/yannickl/DynamicButton/releases/tag/3.1.0)
Released on 2016-11-05.

- [ADD] `horizontalMoreOptions` button style
- [ADD] `verticalMoreOptions` button style

## [Version 3.0.2](https://github.com/yannickl/DynamicButton/releases/tag/3.0.2)
Released on 2016-10-10.

- [FIX] `contentEdgeInsets` is now take into account.

## [Version 3.0.1](https://github.com/yannickl/DynamicButton/releases/tag/3.0.1)
Released on 2016-09-21.

- [ADD] New designated `init`

## [Version 3.0.0](https://github.com/yannickl/DynamicButton/releases/tag/3.0.0)
Released on 2016-09-14.

**Swift 3 supports**

- [REFACTORING] Puts all constants in lowerCamelCase
- [ADD] Swift Package Manager supports

## [Version 2.1.0](https://github.com/yannickl/DynamicButton/releases/tag/2.1.0)
Released on 2016-05-03.

- [ADD] `Reload` button style

## [Version 2.0.0](https://github.com/yannickl/DynamicButton/releases/tag/2.0.0)
Released on 2016-04-21.

- [REFACTORING] Replace the DynamicButton.Style enum with the DynamicButtonStyle class.
- [ADD] Custom symbols are now allowed.

## [Version 1.8.0](https://github.com/yannickl/DynamicButton/releases/tag/1.8.0)
Released on 2016-03-25.

- [ADD] `Play` button style
- [ADD] `Stop` button style

## [Version 1.7.1](https://github.com/yannickl/DynamicButton/releases/tag/1.7.1)
Released on 2016-03-23.

- [FIX] Center of gravity of caret symbols

## [Version 1.7.0](https://github.com/yannickl/DynamicButton/releases/tag/1.7.0)
Released on 2016-03-22.

- Swift 2.2 supports

## [Version 1.6.0](https://github.com/yannickl/DynamicButton/releases/tag/1.6.0)
Released on 2016-02-10.

- [ADD] `bounceButtonOnTouch` property

## [Version 1.5.0](https://github.com/yannickl/DynamicButton/releases/tag/1.5.0)
Released on 2016-02-04.

- [ADD] `highlightBackgroundColor` property

## [Version 1.4.0](https://github.com/yannickl/DynamicButton/releases/tag/1.4.0)
Released on 2016-02-04.

- [ADD] `None` button style

## [Version 1.3.0](https://github.com/yannickl/DynamicButton/releases/tag/1.3.0)
Released on 2016-02-03.

- [ADD] `Dot` button style

## [Version 1.2.0](https://github.com/yannickl/DynamicButton/releases/tag/1.2.0)
Released on 2015-11-02.

- [ADD] tvOS 9 support

## [Version 1.1.0](https://github.com/yannickl/DynamicButton/releases/tag/1.1.0)
Released on 2015-10-12.

- [FIX] iOS 8.x support

## [Version 1.0.0](https://github.com/yannickl/DynamicButton/releases/tag/1.0.0)
Released on 2015-10-10.

- Initialize with style
- Available button styles:
- `ArrowDown`
- `ArrowLeft`
- `ArrowRight`
- `ArrowUp`
- `CaretDown`
- `CaretLeft`
- `CaretRight`
- `CaretUp`
- `CheckMark`
- `CircleClose`
- `CirclePlus`
- `Close`
- `Download`
- `FastForward`
- `Hamburger`
- `HorizontalLine`
- `Pause`
- `Plus`
- `Rewind`
- `VerticalLine`
- `lineWidth` property
- `strokeColor` property
- `highlightStokeColor` property
- Cocoapods support
- Carthage support
20 changes: 20 additions & 0 deletions DynamicButton/DynamicButton.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Pod::Spec.new do |s|
s.name = 'DynamicButton'
s.version = '4.0.0'
s.license = 'MIT'
s.summary = 'Yet another animated flat buttons in Swift'
s.homepage = 'https://github.com/yannickl/DynamicButton.git'
s.social_media_url = 'https://twitter.com/yannickloriot'
s.authors = { 'Yannick Loriot' => '[email protected]' }
s.source = { :git => 'https://github.com/yannickl/DynamicButton.git', :tag => s.version }
s.screenshot = 'http://yannickloriot.com/resources/dynamicbutton.gif'

s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'

s.ios.framework = 'UIKit'
s.tvos.framework = 'UIKit'

s.source_files = 'Sources/**/*.swift'
s.requires_arc = true
end
19 changes: 19 additions & 0 deletions DynamicButton/Example/DynamicButton/DynamicButton.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// DynamicButton.h
// DynamicButton
//
// Created by Yannick LORIOT on 07/10/15.
// Copyright © 2015 Yannick LORIOT. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for DynamicButton.
FOUNDATION_EXPORT double DynamicButtonVersionNumber;

//! Project version string for DynamicButton.
FOUNDATION_EXPORT const unsigned char DynamicButtonVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <DynamicButton/PublicHeader.h>


26 changes: 26 additions & 0 deletions DynamicButton/Example/DynamicButton/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Loading

0 comments on commit 9ea1587

Please sign in to comment.