Post

Replies

Boosts

Views

Activity

Comment on Crash when compare 2 String many of times
Yes i'm very sure it's all in String form, that list fetch from DB query and all element was check one by one. But thread 25 have something i cannot understand, this issue doesn't happen when data set is small (less than 1000 - when testing) but happen in the released app. I take this log from Xcode crashes report but i never get this when testing on my own device.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Comment on Crash when compare 2 String many of times
Are you sure your id are such that < comparison works in this case ("300" is not less than "1000" because of string comparison). Oh, honestly i'm not sure about whether "300" is less than "1000" or not when comparing in swift, i will find out and optimize this point, thank you so much. But in my opinion, I think "300" is not less than "1000" or not is not the point cause crash, because: Even "300" is less than "1000" or not, it will return wrong value instead of crash(this point might be logic issue). On my perspective what ever value of ** blIdContact ** is, as long as it's unique and not null, it shouldn't be crash. And I did test on many data set that i create by my self (with many type and form of inputs)s
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21