Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

setTimeout for XHR object's error on the iphone

According to your API https://developer.appcelerator.com/apidoc/mobile/1.0/Titanium.Network.HTTPClient.setTimeout there is a method called setTimeout for XHR object's but on the iphone when i try to use it i get : -[NSCFNumber objectAtIndex:]: unrecognized selector sent to instance 0x522c3b0 [ERROR] Script Error = * -[NSCFNumber objectAtIndex:]: unrecognized selector . Have you noticed this error? is there a fix in the works ?

— asked March 17th 2010 by Sebas Moranta
  • settimeout
  • xhr
0 Comments

1 Answer

  • Hi,

    A ticket has been raised for this issue. So, they're on the case ;)

    https://appcelerator.lighthouseapp.com/projects/32238/tickets/543-xhr-settimeout-causes-runtime-error

    — answered March 17th 2010 by Kosso
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.