Re: Programmatically change screen saver settings

2015-03-01 Thread Juanjo Conti
I was able to do it this way. Reading: var moduleDict = CFPreferencesCopyAppValue(moduleDict, com.apple.screensaver) as NSDictionary var saverName = moduleDict[moduleName] as String! Writing: var moduleDict = CFPreferencesCopyAppValue(moduleDict, com.apple.screensaver) as NSDictionary var

Re: How to copy one project product to another project Resources on build (relative path)

2015-03-01 Thread Steve Mills
On Mar 1, 2015, at 21:27, Juanjo Conti jjco...@carouselapps.com wrote: I have a project, let' call it A which contains another one, let's call it B. A producto of B is used by A, so I'm copying it in A build phase to Resources folder. The problem is that in A.xcodeproj/project.pbxproj

How to copy one project product to another project Resources on build (relative path)

2015-03-01 Thread Juanjo Conti
Hi! I have a project, let' call it A which contains another one, let's call it B. A producto of B is used by A, so I'm copying it in A build phase to Resources folder. The problem is that in A.xcodeproj/project.pbxproj I see the absolute path of the product been copied:

Re: How to copy one project product to another project Resources on build (relative path)

2015-03-01 Thread Joar Wingfors
Select the reference to project B in project A. Open the File inspector. Change the Location pop-up from Absolute to Relative to Project. Joar On 1 mar 2015, at 19:27, Juanjo Conti jjco...@carouselapps.com wrote: Hi! I have a project, let' call it A which contains another one, let's

Application windows are expected to have a root view controller at the end of application launch

2015-03-01 Thread Rick Mann
I'm adding background downloading on remote notification, so I removed all my UI code from appDidFinishLaunching. Now I get this error: Application windows are expected to have a root view controller at the end of application launch So, I have to create UI even though I won't be displaying it?

Re: Application windows are expected to have a root view controller at the end of application launch

2015-03-01 Thread Rick Mann
I guess that's the way it's supposed to be. Seems wasteful. On Mar 1, 2015, at 22:36 , Rick Mann rm...@latencyzero.com wrote: I'm adding background downloading on remote notification, so I removed all my UI code from appDidFinishLaunching. Now I get this error: Application windows are

Re: NSTask pseudo-TTY troubles

2015-03-01 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/25/2015 04:15 PM, Kyle Sluder wrote: On Wed, Feb 25, 2015, at 01:15 PM, SevenBits wrote: Here’s an example of the session when output is printed (notice the echoing): Insane BF Interactive Console 1.0 (Dec 18 2014, 16:22:05) Current