Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-3 votes
1 answer
144 views

Realm Objective-C to Swift Migration (Dynamic Migration) [duplicate]

In Local Database we moved from Realm (Obj-C) to RealmSwift. After migration we have an issue in local db like all the properties were declared as Optional in Obj-C. Whereas, we used non-optional in ...
Vishnu's user avatar
  • 1
0 votes
0 answers
44 views

EXC_BAD_ACCESS quey consulting Realm database with RealmSwift library retrieving Object from Database

I designed a full class to manage Realm Database on my app. Every method seems to work fine with the same instance of Realm. But when I go to the query methods I get an EXC_BAD_ACCESS Error. For ...
DMarMon's user avatar
1 vote
0 answers
1k views

Xcode log show CDPurgeableResultCache _recentPurgeableTotals since update to version 14.1

Since I update my Xcode to version 14.1 when I run my app Xcode console show multiple lines of warning/errors [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/...
Fabrice Etiennette's user avatar
1 vote
1 answer
2k views

Undefined symbols for architecture arm64: realm

Trying to build react native app on ios(objective c) on RN version 0.66.4 and realm v 2.29.0. The podfile has the Realm version 3.17.3 When trying to build, getting the following error: "realm::...
Saif Ali Khan's user avatar
1 vote
0 answers
204 views

Make extension of a generic Objective-C class

How to refer to a generic in an ObjC extension? The following code yelds a Extension of a generic Objective-C class cannot access the class's generic parameters at runtime this code should convert ...
Peter Lapisu's user avatar
  • 20.7k
-1 votes
1 answer
198 views

Storing data without making model in realm using swift

Can I save data into the realm without making a model or object file and also retrieve from it using swift?
Maaz Tausif's user avatar
0 votes
1 answer
223 views

Porting Int Realm List from Objective-c to Swift

How do I porting Realm data model from Objective-c to Swift like below property? Objective-c @property RLMArray<NSNumber *><RLMInt> *dates; Swift (My solution but it's not working) let ...
Amos Hsueh's user avatar
0 votes
0 answers
31 views

Realm Cocoa setErrorHandler Deprecated

I'm using Realm Cocoa version 3.13.1, and currenly update to newer version of Realm Cocoa 10.5.0 I'm having difficulties to implement deprecated function, could you help me to give the solution on how ...
Dominic Vedericho's user avatar
2 votes
1 answer
2k views

How do I use realm on swift to store array of objects?

In an earlier question I was asking about how I would be about to store an instance of a class on a local database, and I was suggested to use realm as my method of storage. I've setup my realm and ...
Ian DONG's user avatar
2 votes
2 answers
383 views

Realm crash on iOS 10 with 'String'

I have recently released a new version of our app and during beta testing, it's crashing on all iOS 10 devices but not other versions. Since we have Crashlytics, we found a strange crash message in ...
Nicholas's user avatar
  • 757
0 votes
0 answers
80 views

Cannot interpret this testflight crash report

Can anyone help me interpret this? I assume it is Realm related. However this method getFullName is only like: - (NSString *)getFullName { return [NSString stringWithFormat:@"%@ %@", self....
MichiZH's user avatar
  • 5,755
0 votes
0 answers
70 views

Realm: When or where do I need to check if an object has been invalidated?

Kinda new to Realm and I just took over a project which uses Realm. So I of course access in a lot of spots in my app our realm objects. Recently I've noticed that in 3 specific spots we get more and ...
MichiZH's user avatar
  • 5,755
0 votes
0 answers
35 views

Bad access in init

I am resurrecting an "old" Realm objective c project from 2018. I have to admit I forgot all my objective c knowledge in the meantime and especially I am mentally completely off Realm (Unfortunately I ...
olidem's user avatar
  • 2,081
0 votes
2 answers
2k views

Terminating app due to uncaught exception 'RLMException', reason: 'Invalid value '1973906' of type 'NSTaggedPointerString' for 'int' Realm

if I define property as String. @Property NSString * value; Terminating app due to uncaught exception 'RLMException', reason: 'Invalid value '1993654' of type '__NSCFNumber' for 'string?' Or if ...
Sajid Israr's user avatar
2 votes
1 answer
624 views

passing an array from objc to Swift

I have this code in objc that creates an array with some values from realm get.m -(void) menuTest { RLMResults<activity *> *test = [activity allObjects]; NSMutableArray *tmpArray = [[...
Mark's user avatar
  • 49

15 30 50 per page
1
2 3 4 5
27