Last active
March 17, 2017 10:18
-
-
Save hsylife/84a6bde64e505d19c279a9b40b410f3d to your computer and use it in GitHub Desktop.
EurekaとSwift 2.3→3.0の書き換え。画像選択カスタムローの例 ref: http://qiita.com/hsylife/items/4f6fb461bfae86b53475
This file contains hidden or 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
public class ImageSelectorViewController<T:Equatable> : _ImageSelectorViewController<T, ListCheckRow<T>> { | |
override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) { | |
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) | |
} | |
convenience public init(_ callback: (UIViewController) -> ()){ | |
self.init(nibName: nil, bundle: nil) | |
completionCallback = callback | |
} | |
} |
This file contains hidden or 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
open class ImageSelectorViewController<T:Equatable> : _ImageSelectorViewController<ListCheckRow<T>> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment