Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //: Playground - noun: a place where people can play
- import UIKit
- var str = "Hello, playground"
- protocol Hoge{
- }
- class HogeHoge: Hoge{
- }
- var testHoge: HogeHoge = HogeHoge()
- if testHoge is Hoge{
- print("true")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement