Skip to content

Commit

Permalink
swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
fdzsergio committed Jan 30, 2016
1 parent 05d5c4a commit 7e32d28
Show file tree
Hide file tree
Showing 105 changed files with 3,687 additions and 1,331 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode7.1
osx_image: xcode7.2

language: objective-c
#before_install:
#- gem install cocoapods --no-rdoc --no-ri --no-document --quiet # Since Travis is not always on latest version
#install:
#- gem install xcpretty --no-rdoc --no-ri --no-document --quiet

script:
- set -o pipefail && xcodebuild analyze test -workspace SFFocusViewLayout.xcworkspace -scheme SFFocusViewLayout -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
- set -o pipefail && xcodebuild analyze test -workspace SFFocusViewLayout.xcworkspace -scheme SFFocusViewLayout -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6s Plus' ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
- pod lib lint --quick

after_success:
Expand Down
9 changes: 6 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# SFFocusViewLayout CHANGELOG

## 3.0.0
Swift 2.1 version.

## 2.0.0
Carthage support
Swift compatible
Carthage support.
Swift compatible.

## 1.1.0
Added Xcode 6.4 support
Added Xcode 6.4 support.

## 1.0.1

Expand Down
62 changes: 0 additions & 62 deletions Classes/SFFocusViewLayout.h

This file was deleted.

154 changes: 0 additions & 154 deletions Classes/SFFocusViewLayout.m

This file was deleted.

15 changes: 15 additions & 0 deletions Example/.swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
disabled_rules: # rule identifiers to exclude from running
- trailing_newline
- force_cast
- nesting

excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods

# parameterized rules can be customized from this configuration file
line_length: 120
# parameterized rules are first parameterized as a warning level, then error level.
variable_name_min_length:
- 1 # warning
- 1 # error
Loading

0 comments on commit 7e32d28

Please sign in to comment.