Search results for

eskimo

34,935 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 7 Beta 4 debug vith Address Sanitizer
I'm not a registered developer, so I can't report this via the official Bug Reporter.Just FYI, you can register as a developer, and thereby use Bug Reporter, without joining any of the developer programmes (that is, without spending money :-)Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to In the same NSURLSession two actions
First up, I've moved your question over to Core OS > Networking because it's more about networking than it is about Objective-C.Second, it's hard to debug the problem you're seeing because it's the server that controls how sessions get allocated, and presumably the server isn't running on Apple hardware. My general advice in situations like this is to do something like this:do the action in Safarido the action in your appin both cases, take a packet tracecompare the traces to see what's differentmodify your app to be more like Safarirepeat until things workFor HTTP you can use a standard packet trace; see QA1176 Getting a Packet Trace for details.If it's HTTPS, you might want to look at a CFNetwork diagnostics log. See QA1887 CFNetwork Diagnostic Logging. In that case you won't be able to use Safari (because you can't set the environment variable in Safari) but you could do the same thing with a UIWebView running inside a small test app.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations
Jul ’15
Reply to Interactions between iOS browser app developed in Swift and the embedded html code
Are you using WKWebView or UIWebView? For stuff like this you probably want WKWebView because it has a lot more options. Specifically:For your first question, WKWebView has a whole 'user script' mechanism. It's too complex to explain here but I believe it's covered in some detail in WWDC 2014 Session 206 Introducing the Modern WebKit API.For your second question, I believe you can do this via the -webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures: delegate callback.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Reply to Parameter error with startIBSSModeWithSSID
The operation couldn’t be completed. (com.apple.wifi.apple80211API.error error -3900.)This is the AirPort equivalent of EINVAL or paramErr, a general-purpose error saying that the caller's parameters are ouf of whack. That doesn't make it easy to track down the source of the error. Two questions:Do you see anything in the system log when you get this error?It looks like you're testing this in a Foundation tool. What happens if you test with an app?Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to Xcode 7 Beta 4 debug vith Address Sanitizer
Hmm, it seems this is a very recent thing?AFAIK it's been like that since the Dawn of Time™. It may be that you ran into some other issue with Bug Reporter; it does have the occasional outage and sometimes an outage's symptoms can be misleading.Regardless, I just want to reiterate that we here at Apple do appreciate you folks filing bugs when you encounter them.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to Updating HTML inside XCode
Is it possible to make it so that when you first open the app it will download the html files and then run smoothly?I can't see why not. If the web view can load the site from your app bundle, it should be equally able to load a downloaded copy of the site from your app's container.It'd be a good idea for your app to include an initial copy of the site within the app itself, so that someone downloading the app from the App Store gets a fully functional app immediately. Your app can then arrange to update the site at a convenient time.Finally, make sure you load the update over HTTPS; you wouldn't want a malicious network giving you back a harmful version of your site.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: General Tags:
Jul ’15
Reply to How to get OID of the arp cache table on an iPhone/iPad device.so that I can read data from arp table of my device using SNMP.
I moved your question to Core OS > Networking because, yet again, it has nothing to do with Objective-C.... so that I can read data from arp table of my device using SNMP.iOS has no SNMP agent.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to App Transport Security and local networking
My post on thread dated 15 Jul covers this: I specifically tested NSAllowsArbitraryLoads on 9.0b3 and it worked as expected (although, as described in the post, not as documented). Please read it through. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to Is CoreWlan working with 10.11
I'm not sure I understand your question. I believe you're under the impression that because -initWithInterfaceName: was deprecated in 10.10 it should not work in 10.11. That's not generally true. There's normally multiple OS releases between us deprecating something and us removing support for it entirely. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to Files/Folders Access Restriction Due to Sandboxing(Mac OS X App).
There's really only two ways forward here:Distribute outside of the Mac App Store, either without sandboxing or with temporary entitlements that wouldn't be allowed on the store.Ask the user to select the 'root' of their backup via the open panel, at which point you have, and can maintain, via security scope bookmarks, access to that entire hierarchy.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Jul ’15
Reply to Interactions between iOS browser app developed in Swift and the embedded html code
could you please show me only a link or webpage in which the scroll effect I search is explained?What scroll effect? This is the first time you've mentioned scrolling, so I'm struggling to find the context here.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’15
Reply to NSURLSessionDataTask changes POST request to GET request
I tried this and couldn't replicate it. Here's the code I used to create my request:NSMutableURLRequest * request; request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@http://biff.local.:12345/foo?param=value]]; request.HTTPMethod = @POST; self.task = [self.session dataTaskWithRequest:request]; assert(self.task != nil); [self.task resume];The server at biff.local. got a POST request as expected. POST /foo?param=value HTTP/1.1 Host: biff.local.:12345 Connection: keep-alive Accept: */* User-Agent: QTestbed/1.0 CFNetwork/711.4.6 Darwin/14.4.0 Accept-Language: en-us Content-Length: 0 Accept-Encoding: gzip, deflateI'm building in Xcode 6.4 and running on the iPhone 6 / iOS 8.4 simulator (in my experience the simulator reliably replicates issues like this, so I don't expect this to be a simulator / real device discrepancy).Please try a simple test with the code shown and let me know what you get.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core
Jul ’15
Reply to <SWIFT> Same login session in tabs
Before going further I recommend that you brush up on the model-view-controller design pattern. This is formally covered in the Model-View-Controller section of Cocoa Core Competencies.https://developer.apple.com/library/ios/documentation/General/Conceptual/DevPedia-CocoaCore/MVC.html#//apple_ref/doc/uid/TP40008195-CH32-SW1There is, however, a lot more information about this technique available from both Apple and non-Apple sources. I'm not in a position to recommend non-Apple resources but on the Apple front I'm a big fan of WWDC 2010 Session 116 Model-View-Controller for iPhone OS.It's an old 'un but a good 'un.In my experience the best way to address this issue is to put your networking code at the model layer. That is, have your view controllers simply arrange to display model objects and have the networking code populate and mutate those objects like it would with any other model objects.This approach has some really important advantages:It decouples the view controller from the networking, which simplif
Jul ’15