SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Object {
  2.     private var data = "데이터"
  3.    
  4.     func setData(newValue: String) {
  5.         self.data = newValue
  6.     }
  7. }
  8.  
  9. var object = Object()
  10. object.setData(newValue: "바뀐 데이터")
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