Questions tagged [rlmarray]

Questions related to Realm database can have this tag.As mostly realm deals with RLMObjects and RLMArrays.

7 questions
3
votes
1 answer

iOS Swift 3 Storing NSArray Values To Realm

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…
Kavin Kumar Arumugam
  • 1,792
  • 3
  • 28
  • 47
1
vote
1 answer

Many-to-Many Relationships in Realm using Objective-C

I have spent hours upon hours trying to figure out how to setup the models for object relationships and create/delete many-to-many relationships in Realm using Objective-C. The documentation has been less than helpful. I could use some guidance on…
SAHM
  • 4,078
  • 7
  • 41
  • 77
0
votes
1 answer

Swift - Error in when trying to convert a list of Realm objects (already saved to a realm) into results

I am having an issue when trying to convert a List into Results using RealmSwift. I have a function that runs a set of results through multiple filters and returns the filtered results. One step in this process, however, requires some…
kamisama42
  • 595
  • 4
  • 18
0
votes
1 answer

RLMArray in swift with decoder : Ambiguous reference to member error

I want to use Realm in mixed Objective-C & Swift app working with Codable and Realm Object can be export to Objective-C ; class Person2 : RLMObject,Decodable { @objc dynamic var name = "" convenience init(_ name:String) { …
kingnight
  • 720
  • 6
  • 10
0
votes
0 answers

Realm Unmanaged RLMArray

app crash when we add Unmanaged Object to array of another another unmanaged object. @interface JOCallDetail : RLMObject @property (nonatomic, strong) NSString * primaryId; @property (nonatomic, assign) RLMArray
0
votes
1 answer

RLMArray object not stored with its object

I've a very weird problem in RealmSwift. I've the following property in a realm object class called Device. class Device: Object { .... dynamic var name: String = "" var services: List = List() } The issue is that when…
Elsammak
  • 1,102
  • 10
  • 26
0
votes
2 answers

How to sort RLMArray using property?

I'm trying to sort an RLMArray using its property but I am getting the error: This method may only be called on RLMArray instances retrieved from an RLMRealm` RLMResults *rlmResults = [myLog.myRLMArray sortedResultsUsingProperty:@"orderNum"…
Teja Nandamuri
  • 11,045
  • 6
  • 57
  • 109