SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Object {
  2.     private var data = "데이터"
  3.    
  4.     var value: String {
  5.         get {
  6.             return data
  7.         }
  8.     }
  9. }
  10.  
  11. var object = Object()
  12. object.value   // "데이터"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top