Gamecenter not updating scores at the completion of submit

2017-12-22 Thread Dan S
Hello, I am trying to pull the latest score list from the GameCenter but once it is submited, it does not comeback right away, but after 3-15 seconds delay (as in it works if I do the fetch on a delay) Here is sample of what I do doring submition/fetching, and wonder if this is just while in

Exception - completion routine is not called

2016-09-22 Thread Dan S
Hello, I have an 'NSInternalInconsistencyException': 'Completion handler passed to -[ViewController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:] was not called' JavaScript sends message to wkwebkit, and imediatelly after runs alert('test') (from same jscript

Re: NSURLProtocol

2015-04-11 Thread Dan S
Apr 2015, at 02:28, Dan S danc...@rebelbase.com wrote: Is behavior of NSURLProtocol changed with Safari 5.1? I have a plugin that registeres a protocol handler xyz:// for example Could clarify what exactly you mean by “plugin” here? It succeeds and I can see all the requests to files

NSURLProtocol

2015-04-10 Thread Dan S
Is behavior of NSURLProtocol changed with Safari 5.1? I have a plugin that registeres a protocol handler xyz:// for example It succeeds and I can see all the requests to files on web pages being consulted with the object via +(BOOL) canInitWithRequest:(NSUrlRequest): With Safari 5.0 I would

Re: NSData DataWithContentsOfURL within a protocol handler

2012-09-06 Thread Dan S
No, actually I've completely missed that it was answered. Thank you. Unfortunatelly, the requester is expecting a return data, error or a redirect. And until the api can be respeced, the sync response has to stay in. It isn't that it needs to load from network every request, but some volotile

Re: NSData DataWithContentsOfURL within a protocol handler

2012-09-06 Thread Dan S
if you meant using the grand central dispatch, i think that only became available in 10.6, I need to support this for 10.5 On Thu, Sep 6, 2012 at 11:25 AM, Dan S danc...@rebelbase.com wrote: No, actually I've completely missed that it was answered. Thank you. Unfortunatelly, the requester

Re: NSData DataWithContentsOfURL within a protocol handler

2012-09-06 Thread Dan S
, Sep 6, 2012 at 11:55 AM, Dan S danc...@rebelbase.com wrote: if you meant using the grand central dispatch, i think that only became available in 10.6, I need to support this for 10.5 On Thu, Sep 6, 2012 at 11:25 AM, Dan S danc...@rebelbase.com wrote: No, actually I've completely missed

Re: NSData DataWithContentsOfURL within a protocol handler

2012-09-06 Thread Dan S
, Sep 6, 2012 at 1:19 PM, Jens Alfke j...@mooseyard.com wrote: On Sep 6, 2012, at 11:25 AM, Dan S danc...@rebelbase.com wrote: I will try to offload the server access to a different thread (though I still need to block the protocol thread because I still have to return the correct data