forked from slackhq/PanModal
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APP-7009 : 커스텀 탑뷰 클래스 네이밍 prefix Pan 추가
- Loading branch information
1 parent
785d08c
commit 8c20140
Showing
5 changed files
with
9 additions
and
9 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
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,11 +1,11 @@ | ||
import UIKit | ||
|
||
open class CustomTopView: UIView { | ||
open class PanCustomTopView: UIView { | ||
|
||
} | ||
|
||
extension UIView { | ||
var customTopView: CustomTopView? { | ||
return subviews.compactMap({ $0 as? CustomTopView }).first | ||
var panCustomTopView: PanCustomTopView? { | ||
return subviews.compactMap({ $0 as? PanCustomTopView }).first | ||
} | ||
} |
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