ios - How to have List<String> property? -


how have list property in realm object? want save strings same object not have related objects each having single string (which assume happens if use stringwrapper class).

you cant use list that.

list to-many relationships

however can achieve want combining strings one, separated character. use

func componentsseparatedbystring(_ separator: string) -> [anyobject]

afterwards array it.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -