Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maniCreate committed May 12, 2019
1 parent 429a001 commit 64cd6fc
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 132 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions Demo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
//

import UIKit
import WaveProgressView
import WaveAnimationView

class ViewController: UIViewController {

@IBOutlet weak var lapView: UIView!

var wave: WaveProgressView!
var wave: !

override func viewDidLoad() {
super.viewDidLoad()
Expand Down
13 changes: 13 additions & 0 deletions WaveAnimationView.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pod::Spec.new do |spec|
spec.name = "WaveAnimationView"
spec.version = "1.0.1"
spec.summary = "WaveAnimationView is a library to install wave progress-animation for iOS"
spec.homepage = "https://github.com/maniCreate/WaveAnimationView"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = "mani"
spec.swift_version = "5.0"
spec.platform = :ios, "12.2"
spec.source = { :git => "https://github.com/maniCreate/WaveAnimationView.git", :tag => "#{spec.version}" }
spec.source_files = "WaveAnimationView/**/*.swift"
end

Large diffs are not rendered by default.

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

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BFBB8D4E2287C13B00536BEF"
BuildableName = "WaveProgressView.framework"
BlueprintName = "WaveProgressView"
ReferencedContainer = "container:WaveProgressView.xcodeproj">
BuildableName = "WaveAnimationView.framework"
BlueprintName = "WaveAnimationView"
ReferencedContainer = "container:WaveAnimationView.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -28,26 +28,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BFBB8D572287C13B00536BEF"
BuildableName = "WaveProgressViewTests.xctest"
BlueprintName = "WaveProgressViewTests"
ReferencedContainer = "container:WaveProgressView.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BFBB8D4E2287C13B00536BEF"
BuildableName = "WaveProgressView.framework"
BlueprintName = "WaveProgressView"
ReferencedContainer = "container:WaveProgressView.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
Expand All @@ -65,9 +46,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BFBB8D4E2287C13B00536BEF"
BuildableName = "WaveProgressView.framework"
BlueprintName = "WaveProgressView"
ReferencedContainer = "container:WaveProgressView.xcodeproj">
BuildableName = "WaveAnimationView.framework"
BlueprintName = "WaveAnimationView"
ReferencedContainer = "container:WaveAnimationView.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -83,9 +64,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BFBB8D4E2287C13B00536BEF"
BuildableName = "WaveProgressView.framework"
BlueprintName = "WaveProgressView"
ReferencedContainer = "container:WaveProgressView.xcodeproj">
BuildableName = "WaveAnimationView.framework"
BlueprintName = "WaveAnimationView"
ReferencedContainer = "container:WaveAnimationView.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions WaveAnimationView/WaveAnimationView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// WaveAnimationView.h
// WaveAnimationView
//
// Created by Syunsuke Nakao on 2019/05/12.
// Copyright © 2019 Syunsuke Nakao. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for WaveAnimationView.
FOUNDATION_EXPORT double WaveAnimationViewVersionNumber;

//! Project version string for WaveAnimationView.
FOUNDATION_EXPORT const unsigned char WaveAnimationViewVersionString[];

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


Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

public class WaveProgressView: UIView {
public class WaveAnimationView: UIView {

private let frontWaveLine: UIBezierPath = UIBezierPath()
private let backWaveLine: UIBezierPath = UIBezierPath()
Expand All @@ -28,7 +28,7 @@ public class WaveProgressView: UIView {

private var maskLayer: CALayer?

//MARK: Possible to mask the WaveProgressView just by setting an image containing Solid and Alpha Areas.
//MARK: Possible to mask the WaveAnimationView just by setting an image containing Solid and Alpha Areas.
open var maskImage: UIImage? {
didSet {
//mask
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//
// WaveProgressViewTests.swift
// WaveProgressViewTests
// WaveAnimationViewTests.swift
// WaveAnimationViewTests
//
// Created by Syunsuke Nakao on 2019/05/12.
// Copyright © 2019 Syunsuke Nakao. All rights reserved.
//

import XCTest
@testable import WaveProgressView
@testable import WaveAnimationView

class WaveProgressViewTests: XCTestCase {
class WaveAnimationViewTests: XCTestCase {

override func setUp() {
// Put setup code here. This method is called before the invocation of each test method in the class.
Expand Down
20 changes: 0 additions & 20 deletions WaveProgressView.podspec

This file was deleted.

19 changes: 0 additions & 19 deletions WaveProgressView/WaveProgressView.h

This file was deleted.

0 comments on commit 64cd6fc

Please sign in to comment.