I am trying to create rlmobject with rlmarray as one of elemnts but cant get it to work.
declaration:
dynamic var contactInfo : RLMArray = RLMArray(objectClassName: "ContactInfoDB")
and insertion:
tempLocation.contactInfo.addObject(tc)
where tc is
class ContactInfoDB: RLMObject
but somehow after add the array is still empty. Is there eny other way to insert object into rlmarray with swift using realm for objective c, because I need it to work also in iOS7.
Thank you for any help.