Re: Can you have a helper scripts in a sandboxed app?

2016-09-09 Thread Marco S Hyman
ARRRGGGHHH... this was supposed to go to the Xcode list. Sorry for the noise. > On Sep 9, 2016, at 3:53 PM, Marco S Hyman wrote: > > I’ve an app that uses a perl helper script. I’d like to sandbox the app but > haven’t had any luck it getting it to work. Can it be done? If

Can you have a helper scripts in a sandboxed app?

2016-09-09 Thread Marco S Hyman
I’ve an app that uses a perl helper script. I’d like to sandbox the app but haven’t had any luck it getting it to work. Can it be done? If so can someone point me to some doc that might indicate how? I've tried grabbing a security scoped bookmark to the perl script. Apparently that worked

Re: Launching iOS 10 supported build using Xcode 7

2016-09-09 Thread Fritz Anderson
On 9 Sep 2016, at 11:25 AM, Devarshi Kulshreshtha wrote: > > We have a thoroughly tested build on iOS9 using Xcode 7 swift 2.2, we are > planning to release it on 16th of this month, since iOS10 will be released > on 13th wanted to know that can we still release

Re: Can't convert to swift 3 and support

2016-09-09 Thread Quincey Morris
On Sep 9, 2016, at 02:19 , Rick Mann wrote: > > Problem is, that only exists on iOS 10. That’s not exactly it. Your code is presumably in an extension of the new URL type, which is implemented as a more-or-less transparent value-type wrapper around the reference type

Launching iOS 10 supported build using Xcode 7

2016-09-09 Thread Devarshi Kulshreshtha
We have a thoroughly tested build on iOS9 using Xcode 7 swift 2.2, we are planning to release it on 16th of this month, since iOS10 will be released on 13th wanted to know that can we still release the build (iOS10 compatible) using Xcode 7 without upgrading it to swift 2.3? Please suggest.

Re: Can't convert to swift 3 and support

2016-09-09 Thread Jens Alfke
> On Sep 9, 2016, at 2:19 AM, Rick Mann wrote: > >'getResourceValue(_:forKey:)' is unavailable: Use >struct URLResourceValues and URL.setResourceValues(_:) >instead > > Problem is, that only exists on iOS 10. According to NSURL.h, the setResourceValues

Re: How to avoid swift.retain/release

2016-09-09 Thread Charles Jenkins
Gerriet, Take this with a huge grain of salt because I don’t know what’s really going on here and whether the API will permit it, but the first thing I would do is try to get the expensive operation outside any loop if possible: override function doSomething() { let ty =

Can't convert to swift 3 and support

2016-09-09 Thread Rick Mann
It sure seems like converting to Swift 3 and iOS 10 forces you to abandon previous OS releases. For example, I have this code: var val: AnyObject? try getResourceValue(, forKey: URLResourceKey.isDirectoryKey) I get this error: 'getResourceValue(_:forKey:)' is unavailable: Use

How to avoid swift.retain/release

2016-09-09 Thread Gerriet M. Denkmann
This code executes in a strange way: SubClass takes much longer than BaseClass. class BaseClass { let hugeNumber: Int var bitfield: UnsafeMutablePointer init() { hugeNumber = 1_000_000_000 bitfield = calloc( hugeNumber, 1)