title: iOS Swift 3 Storing NSArray Values To Realm
body: <p>In my Application we are using Realm Storage for storing values locally. I can Able To Store my Array Values As Sting. But Not Able To Store and Retrive Values As Array. Is It Possible To Store NSArray Values To Realm Object and Retrieve It As NSArray.
  Here Is The Code I Have Used To Store String Values:</p>
  
  <pre><code>class PracticeView: Object
  {
      dynamic var PracticeArray = ""
  } 
  </code></pre>
  
  <p>And Usage:</p>
  
  <pre><code>let realm:Realm = try! Realm()
  let PracticeDetails = PracticeView()
  PracticeDetails.PracticeArray = "Test String Values"
  try! realm.write
  {
     realm.add(PracticeDetails)
  }
  print("Values In Realm Object: \(PracticeDetails.PracticeArray)")
  
  //Result Will Be
  Values In Realm Object: Test String Values
  </code></pre>