Skip to content

Commit

Permalink
Async Image Setting (#10)
Browse files Browse the repository at this point in the history
* Install KingFisher & .swiftlint.yml update

* Update Travis.yml

* Update Travis File and README

* Update README

* Update badge

* Setup ImageDownload Manager & ImageCache Manager by using KingFisher

* 1. Support Async Image Download and Rendering
2. Support Background Setting from remote url and local url

* 1. Modify ViewController based on change
2. Update Project Settings and Configuration
  • Loading branch information
hcn1519 authored Feb 18, 2018
1 parent 10e5cc8 commit e35529d
Show file tree
Hide file tree
Showing 65 changed files with 8,511 additions and 98 deletions.
33 changes: 33 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
function_parameter_count:
- 7 # warning
- 8 # error

line_length:
- 200 # warning
- 300 # error

force_cast: warning # implicitly. String! -> warning
force_try:
severity: warning # explicitly. try! -> warning

function_body_length:
- 100 # warning
- 200 # error

type_body_length:
- 300 # warning
- 400 # error

# or they can set both explicitly
file_length:
warning: 500
error: 800

type_name:
min_length: 4 # only warning
max_length: # warning and error
warning: 30
error: 35

excluded:
- Pods
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ before_install:
- brew update

script:
- xcodebuild -project THTiledImageView.xcodeproj -scheme THTiledImageView -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xcodebuild -workspace THTiledImageView.xcworkspace -scheme THTiledImageView -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

after_success:
- bash <(curl -s https://codecov.io/bash)
10 changes: 10 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'THTiledImageView' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for THTiledImageView
pod 'Kingfisher'
end
12 changes: 12 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PODS:
- Kingfisher (4.6.1)

DEPENDENCIES:
- Kingfisher

SPEC CHECKSUMS:
Kingfisher: 1f9157d9c02b380cbd0b7cc890161195164eb634

PODFILE CHECKSUM: 1accd008b42fd1b7e97e25a678393b82cafcb51b

COCOAPODS: 1.3.1
22 changes: 22 additions & 0 deletions Pods/Kingfisher/LICENSE

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

114 changes: 114 additions & 0 deletions Pods/Kingfisher/README.md

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

Loading

0 comments on commit e35529d

Please sign in to comment.