Hi there,
Is it possible to create a String column on a table and save an array of Strings to it?
ie.
class TopicCollection: NSObject { var topics: [String]?}
Or is it not possible?
Thanks!
Hi there,
Is it possible to create a String column on a table and save an array of Strings to it?
ie.
class TopicCollection: NSObject { var topics: [String]?}
Or is it not possible?
Thanks!
You can not save String array. As array can be saved only related objects.
If you suppose that array will have small size, than you can convert it to string before save, and convert to array when retrieve it.
thought that might be the case. Thanks for the clarification!