FatFractal customer forums



Author Topic: Trying to understand warnings in iOS, when using getArrayFromUri  (Read 899 times)

Vaan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Greetings,

I am using getArrayFromUri in iOS in the form

Code: [Select]
    [[FatFractal main] getArrayFromUri:@"/Bar/(blah eq 'foo')"
             onComplete:^(NSError *err, id objs, NSHTTPURLResponse *httpResponse) {
                 NSArray *results = (NSArray *)objs;
             }];

The queries are working and the results seem fine, however when I do this fetch I receive a number of warnings in my debug console.

Code: [Select]
2015-03-17 15:13:39.578 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location
2015-03-17 15:13:39.581 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location
2015-03-17 15:13:39.587 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location
2015-03-17 15:13:39.591 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location
2015-03-17 15:13:39.594 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location
2015-03-17 15:13:39.601 FooApp[1266:635076] setValuesOnObject: Found value with un-handled class __NSCFDictionary for key bar_location

bar_location is an atrribute of Bar and is an FFGeoLocation.

I am creating the Bar objects on the server side in JS in a server extension.

Has anyone seen this type of warning before ?

gkc

  • Administrator
  • *****
  • Posts: 375
    • View Profile
Re: Trying to understand warnings in iOS, when using getArrayFromUri
« Reply #1 on: March 17, 2015, 10:42:34 AM »
Hi Vaan,

Can you share a code snippet for how you are creating the bar_location field in your server-side code please?

gkc

  • Administrator
  • *****
  • Posts: 375
    • View Profile
Re: Trying to understand warnings in iOS, when using getArrayFromUri
« Reply #2 on: March 17, 2015, 10:49:49 AM »
Looking at our framework code, this message is being incorrectly logged in this situation, and you can safely ignore. I have fixed for next release so you shouldn't see these messages any more.

Vaan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Trying to understand warnings in iOS, when using getArrayFromUri
« Reply #3 on: March 24, 2015, 09:12:00 PM »
Ahh, cheers, thanks for letting me know. I too were initially suspicious of the creation of the FFGeoLocation, though it was returning the correct objects.

 

Copyright © FatFractal customer forums