Search results for

eskimo

34,935 results found

Post

Replies

Boosts

Views

Activity

Reply to Swift 2 beta: NSFileHandle(forReadingAtPath path: String) and forWritingAtPath missing throws?
That's because the Objective-C versions don't include an error return. Contrast:+ (nullable instancetype)fileHandleForReadingAtPath:(NSString *)path;and:+ (nullable instancetype)fileHandleForReadingFromURL:(NSURL *)url error:(NSError **)error NS_AVAILABLE(10_6, 4_0);There's not much that Swift can do about this. * * *As an aside, I encourage folks to use file URLs rather than paths. There are a couple of situations where using a path drops useful information. Most of these are irrelevant on iOS, but it's still best practice to use file URLs everywhere.Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to App Transport Security and local networking
Right now we don't have a great story for this (apparently you can use an IP as an ATS exception domain, but that will only help if you're always talking to the same IP address). For the moment you should just disable ATS via the NSAllowsArbitraryLoads key.Also, I'd appreciate you filing a bug that describes your requirements so that we can contemplate how best to address this in the future. And please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Background tiling and Zooming in/out
I've been working on a tiled background that I also want to zoom in or out but the problem I'm encountering is that during the zoom in/out action, white space is very noticeable.I'm not entirely sure what you're asking about but I'm almost certain you're in the wrong place (-: It sounds like you're dealing with tiled backgrounds in the context of panning and zooming (kinda like a map view) in which case you might have better luck over in Cocoa Touch. If you agree, you can either start a new thread or move this one there (via the Actions menu, on the right at the same level of the thread title).Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Reply to How to construct a NSAppTransportSecurity exception for error -9806
A good first step here is to use TLSTool on your Mac to connect to the server to see what TLS version and protocol are negotiated by default. For example, here's what I get when running on 10.10.3.$ TLSTool s_client -connect api.sailthru.com:443 * input stream did open * output stream did open * output stream has space * protocol: TLS 1.2 * cipher: RSA_WITH_AES_256_CBC_SHA256 * trust result: unspecified * certificate subjects: * 0 *.sailthru.com * 1 Symantec Class 3 Secure Server CA - G4 * 2 VeriSign Class 3 Public Primary Certification Authority - G5 ^CAs you can see, we get TLS 1.2 just fine. OTOH, the cypher suite, RSA_WITH_AES_256_CBC_SHA256, is going to be a problem because it does not provide forward secrecy. Try disabling that (with NSExceptionRequiresForwardSecrecy) and see what you get. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Determine if Touch Id requires passcode
Is there a way to determine if the device Touch Id has failed 4 times and requires the passcode?In what context? At an API level you can specify an LAPolicy of LAPolicyDeviceOwnerAuthenticationWithBiometrics and that will only use biometrics, never the password password (in OS 9 you also have the option of LAPolicyDeviceOwnerAuthentication to also use the password). However, I suspect you're talking about some other context. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jun ’15
Reply to Use p12 cert for NSURLAuthenticationMethodClientCertificate obtained from device itself
This is covered by QA1745 Making Certificates and Keys Available To Your App.or do I have to insert each and every certificate to my app's bundle??Don't do that; it's trivial for an attacker to extract stuff from your app bundle and thus bypass your security.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jun ’15
Reply to Parse Issue, Unexpected '@' in program,
What junkpile said but also...Are you sure the file has the .m (or .mm) extension? You need those to tell the compiler that you're writing Objective-C (or Objective-C++).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:
Jun ’15
Reply to How to get file creation date of photo stored in photo album
I expect you can do this using the Photos framework but, not not being an expert in that API, I don't have any concrete suggestions. I've moved your thread over to Media > PhotoKit and hopefully someone here can help you out.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Subscripting into array with int-like variable
I know this doesn't add much to the discussion (sorry!) but I want to make sure that we're all on the same page here.Int is 64 bit.... on 64-bit platforms. On 32-bit platforms (older iOS hardware, watchOS) Int is 32 bits.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:
Jun ’15
App Transport Security docs
I'm please to say that the latest pre-release developer library includes some App Transport Security docs. This documentation matches the implementation you'll find in the beta 2 releases.As always, if you find anything incorrect or unclear, please file a bug against the docs and then post the bug number here, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
4
0
2.8k
Jun ’15
Reply to Still no Native keyboard for Georgian language
You can, obviously, build your own Georgian keyboard using the keyboard extension mechanism we added in iOS 8. See the Custom Keyboard section of the App Extension Programming Guide for details.However your use of the word native indicates that you're looking for something built in. Have you filed a bug requesting that? If so, what's the bug number? If not, you should definitely file a bug describing your requirements. And, in that case, please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Search Results + Deep Link
I went ahead and filed a radar after spinning up a very simple app to highlight the desired functionality.Thanks. What was the bug number?Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: App & System Services SubTopic: General Tags:
Jun ’15