Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protocol BaseViewProtocol {
- func someFunction()
- }
- extension BaseViewProtocol where Self: UIViewController {
- func someFunction() {
- // Logic
- }
- }
- class PageBaseViewController: UIPageViewController, BaseViewProtocol
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement