-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from artrmz/feature/snowflakes
[FEATURE] Snowflakes animation
- Loading branch information
Showing
18 changed files
with
247 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
language: swift | ||
osx_image: xcode9.3 | ||
script: xcodebuild clean build -project Demo/Demo.xcodeproj -sdk iphonesimulator -scheme Demo | ||
before_install: | ||
- gem install cocoapods | ||
- pod install | ||
script: xcodebuild clean build -workspace Demo/Demo.xcworkspace -sdk iphonesimulator -scheme Demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?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>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
platform :ios, '9.0' | ||
workspace 'Demo/Demo.xcworkspace' | ||
project 'Demo/Demo.xcodeproj' | ||
|
||
inhibit_all_warnings! | ||
use_frameworks! | ||
|
||
target 'Demo' do | ||
pod 'VariousViewsEffects', :path => '.' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PODS: | ||
- VariousViewsEffects (1.1.0) | ||
|
||
DEPENDENCIES: | ||
- VariousViewsEffects (from `.`) | ||
|
||
EXTERNAL SOURCES: | ||
VariousViewsEffects: | ||
:path: "." | ||
|
||
SPEC CHECKSUMS: | ||
VariousViewsEffects: a8d06b29feae2aa6c08e464bbf94980a5d7c9c5f | ||
|
||
PODFILE CHECKSUM: cc09ef09ebb358acf12099035f28ac6ef33f5dc0 | ||
|
||
COCOAPODS: 1.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// ImageHelper.swift | ||
// Pods-Demo | ||
// | ||
// Created by Artur Rymarz on 24.04.2018. | ||
// | ||
|
||
import UIKit | ||
|
||
internal class ImagesHelper { | ||
static func imageFor(name imageName: String) -> UIImage? { | ||
let bundle = Bundle(for: ImagesHelper.self) | ||
|
||
guard let bundleURL = bundle.url(forResource: "VariousViewsEffects", withExtension: "bundle") else { | ||
return nil | ||
} | ||
let imageBundel = Bundle(url: bundleURL) | ||
|
||
return UIImage(named: imageName, in: imageBundel, compatibleWith: nil)! | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// SnowflakeSpeed.swift | ||
// Demo | ||
// | ||
// Created by Artur Rymarz on 24.04.2018. | ||
// Copyright © 2018 Artrmz. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public enum SnowflakeSpeed { | ||
case slow, medium | ||
} |
Oops, something went wrong.