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 - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -