Skip to content

Commit

Permalink
Change UIView to View
Browse files Browse the repository at this point in the history
  • Loading branch information
funzin committed Jul 5, 2018
1 parent 279b663 commit e2b9a81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Sica.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
9D436C5A20E9E8F200A1B938 /* Sica.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4A60FE320ABC9890079871A /* Sica.framework */; };
9D436C6620E9EA1E00A1B938 /* SicaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4A60FF120ABC9890079871A /* SicaTests.swift */; };
9D436C6820E9EA1E00A1B938 /* Sica.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4A60FE320ABC9890079871A /* Sica.framework */; };
D449535120EE1BAF004C8AB9 /* UIView+Sica.swift in Sources */ = {isa = PBXBuildFile; fileRef = D449535020EE1BAF004C8AB9 /* UIView+Sica.swift */; };
D449535120EE1BAF004C8AB9 /* View+Sica.swift in Sources */ = {isa = PBXBuildFile; fileRef = D449535020EE1BAF004C8AB9 /* View+Sica.swift */; };
D449535320EE1F20004C8AB9 /* CALayer+Sica.swift in Sources */ = {isa = PBXBuildFile; fileRef = D449535220EE1F20004C8AB9 /* CALayer+Sica.swift */; };
D4A60FED20ABC9890079871A /* Sica.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4A60FE320ABC9890079871A /* Sica.framework */; };
D4A60FF220ABC9890079871A /* SicaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4A60FF120ABC9890079871A /* SicaTests.swift */; };
Expand Down Expand Up @@ -68,7 +68,7 @@
9D436C6120E9E93800A1B938 /* Info-tvOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-tvOS.plist"; sourceTree = "<group>"; };
9D436C6D20E9EA1E00A1B938 /* SicaTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SicaTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
9D436C6F20E9EA5000A1B938 /* Info-macOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-macOS.plist"; sourceTree = "<group>"; };
D449535020EE1BAF004C8AB9 /* UIView+Sica.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIView+Sica.swift"; sourceTree = "<group>"; };
D449535020EE1BAF004C8AB9 /* View+Sica.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View+Sica.swift"; sourceTree = "<group>"; };
D449535220EE1F20004C8AB9 /* CALayer+Sica.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CALayer+Sica.swift"; sourceTree = "<group>"; };
D4A60FE320ABC9890079871A /* Sica.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sica.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D4A60FE620ABC9890079871A /* Sica.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Sica.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -194,7 +194,7 @@
D449535220EE1F20004C8AB9 /* CALayer+Sica.swift */,
D4CB78C620AC2BDD003232F6 /* TimingFunction.swift */,
D4CB78C220AC2BDD003232F6 /* Transition.swift */,
D449535020EE1BAF004C8AB9 /* UIView+Sica.swift */,
D449535020EE1BAF004C8AB9 /* View+Sica.swift */,
);
path = Source;
sourceTree = "<group>";
Expand Down Expand Up @@ -518,7 +518,7 @@
D4CB78CA20AC2BDD003232F6 /* CAAnimation+Extension.swift in Sources */,
D4CB78CD20AC2BDD003232F6 /* Animator.swift in Sources */,
D449535320EE1F20004C8AB9 /* CALayer+Sica.swift in Sources */,
D449535120EE1BAF004C8AB9 /* UIView+Sica.swift in Sources */,
D449535120EE1BAF004C8AB9 /* View+Sica.swift in Sources */,
D4CB78CE20AC2BDD003232F6 /* AnimationKeyPaths.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
4 changes: 2 additions & 2 deletions Sica/Source/UIView+Sica.swift → Sica/Source/View+Sica.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// UIView+Sica.swift
// View+Sica.swift
// Sica-iOS
//
// Created by 中澤 郁斗 on 2018/07/05.
Expand All @@ -10,7 +10,7 @@ import Foundation

private let _animatorAssociatedKey = UnsafeMutablePointer<UInt>.allocate(capacity: 1)

extension UIView {
extension View {
public var sica: Animator {
set {
objc_setAssociatedObject(self, _animatorAssociatedKey, newValue, .OBJC_ASSOCIATION_ASSIGN)
Expand Down

0 comments on commit e2b9a81

Please sign in to comment.