LoginSignup
5
1

More than 5 years have passed since last update.

えいえい おこった? おこってないよ❤ を Swiftで つくるるるっる

Last updated at Posted at 2018-01-12

概要

凸(☎︎ω☎︎)凸  <意味わかんねーよ

言語: Swift4

追記:コメントも面白いのでみて

コード

// Swift4
class Eiei {
    var okotta: Okotta?
    init(){
        self.okotta = Okotta()
    }
}

class Okotta {
    func say(){
        print("おこってないよ❤")
    }
}

let eiei = Eiei()

eiei.okotta?.say()

結果

_人人人人人人人人人人_
> おこってないよ❤ <
 ̄Y^Y^Y^Y^Y^Y^Y^Y^Y ̄

nanikore

5
1
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1