Re: Binding NSSegmentedControl selection to user defaults

2012-08-29 Thread Motti Shneor
Hi Keary and thanks. I don't quite understand - do you mean by "registering" my key, Adding an entry to my Application's preferences file (.plist) ? If so --- than I tried that, but I did not know what exactly to write there. In addition I unchecked the "Raises for Not Applicable Keys" opti

Sparkle script?

2012-08-29 Thread Graham Cox
Does anyone have an up to date Xcode (4.4) script that will sign a Sparkle update and generate the appcast? I'm trying to use a old version of the script I last used with Xcode 3 and it doesn't work (and is beyond my knowledge to fix up), and the link on Andy's site is dead. --Graham ___

[SOLVED] Re: Sparkle script?

2012-08-29 Thread Graham Cox
On 29/08/2012, at 9:35 PM, Graham Cox wrote: > I'm trying to use a old version of the script I last used with Xcode 3 and it > doesn't work (and is beyond my knowledge to fix up), and the link on Andy's > site is dead. Never mind, turns out I did have enough knowledge after all. --Graham

Re: Binding NSSegmentedControl selection to user defaults

2012-08-29 Thread Keary Suska
On Aug 29, 2012, at 3:50 AM, Motti Shneor wrote: > Hi Keary and thanks. > > I don't quite understand - do you mean by "registering" my key, Adding an > entry to my Application's preferences file (.plist) ? If so --- than I tried > that, but I did not know what exactly to write there. > > I

[MEET] Toronto Cocoaheads / tacow - Sept 11

2012-08-29 Thread Karl Moskowski
tacow's next meeting is scheduled for 6:30 PM on Tuesday, September 11, 2012 in meeting room 302 of Metro Hall. Jim Dovey (@alanQuatermain) will be discussing file coordination APIs and iCloud synching. Additional details can be found at . All are welcome, and we look forwa

Re: Have to specify (id)sender to action methods in OS X but not in iOS?

2012-08-29 Thread Uli Kusterer
On Aug 25, 2012, at 1:58 AM, Fritz Anderson wrote: > UIKit was a fresh start in the past five-plus years. With a generation of > experience, Apple apparently didn't think it was always useful to pass sender > pointers. You can get away with declaring action methods without parameters > (or with

Re: Have to specify (id)sender to action methods in OS X but not in iOS?

2012-08-29 Thread Uli Kusterer
On Aug 29, 2012, at 5:54 PM, Uli Kusterer wrote: > On Aug 25, 2012, at 1:58 AM, Fritz Anderson wrote: >> UIKit was a fresh start in the past five-plus years. With a generation of >> experience, Apple apparently didn't think it was always useful to pass >> sender pointers. You can get away with

App phases + appropriate phase icon badges.

2012-08-29 Thread Alex Zavatone
In one of our recent projects, we didn't have time to set up different project phases as completion basically required an approach of "repaint the car, then gut the interior and replace the engine" to get it to a shippable state and keep management happy. Now that this is complete and ready to

Re: Sandboxing die.die.die

2012-08-29 Thread Mike Abdullah
On 26 Aug 2012, at 03:02, Graham Cox wrote: > > On 25/08/2012, at 8:14 PM, Mike Abdullah wrote: > >> I had a funny feeling you were going to point the finger at us ;-) >> Checked out the code, and I can assure you, iMedia is doing this: >> >> NSURL* url = [NSURL URLWithString:library]; >> NS

[Q] Cocoa Binding for filters applied to CALayer

2012-08-29 Thread JongAm Park
Hello, I'm trying to refresh my knowledge on Core Animation, and reading Addison Wesley's Simplified Animation. I created a new project from the scratch to mimic what is explained in Chapter 6, which has a NSView on a main window. On that instance of NSView, a CALayer is added and it is the lay

Re: [Q] Cocoa Binding for filters applied to CALayer

2012-08-29 Thread JongAm Park
Hmm.. I found an interesting case here. I tried to add this message for a newly created button to set the inputRadius in code. - (IBAction)blurIt:(id)sender { [self setValue:@10.0f forKeyPath:@"imageLayer.filters.blur.inputRadius"]; } Then it works. It's very interesting that the bindi

Re: On handling those lovely unrecognized selector sent to instance SIGABRTs

2012-08-29 Thread Mike Manzano
Wow. Awesome. There should be a web page filled with these somewhere. On Aug 24, 2012, at 9:28 AM, Alex Zavatone wrote: > This is very eye opening and likely to be hugely time saving, especially with > those storyboard crashes where you're not in code. > > http://www.fruitstandsoftware.com/blo

NSData DataWithContentsOfURL within a protocol handler

2012-08-29 Thread danchik
Hello, I was callingNSData *data = [NSData DataWithContentsOfURL:url within the -startLoading of custom protocol handler, which worked fine for 10.5 through 10.7, but in 10.8, for some reason the call timesout with unknown error (256) Seems that in 10.8 any calls I make to pull the content fo

Re: On handling those lovely unrecognized selector sent to instance SIGABRTs

2012-08-29 Thread Alex Zavatone
I think you hit the nail on the head, Mike. "Things you wish you knew about Xcode" or "Xcode tips that you wish Apple shipped with the product." Sort of like the links below, but for how to solve common problems that Xcode users normally face. http://secrets.blacktree.com/ https://twitter.com

Re: NSData DataWithContentsOfURL within a protocol handler

2012-08-29 Thread Jens Alfke
On Aug 29, 2012, at 12:42 PM, danchik wrote: > Seems like it is waiting for me to return before it will process the > command, is there a way I can make a syncronouse url content pull from > within the -startLoading protocol handler? Don't do that. Never block the URL-loading thread, or you'll

Re: On handling those lovely unrecognized selector sent to instance SIGABRTs

2012-08-29 Thread Jens Alfke
On Aug 29, 2012, at 1:40 PM, Alex Zavatone wrote: > I think you hit the nail on the head, Mike. > "Things you wish you knew about Xcode" or "Xcode tips that you wish Apple > shipped with the product." It's in the docs — the Breakpoint Navigator Help includes a page on "Adding An Exception Bre

RE: ARC Issue in new Sketch Sample Code

2012-08-29 Thread Gordon Apple
Well, I didn¹t get any response as to how to make that beast ARC compliant, so I did something else. Keeping the same basic undo architecture as used in Sketch, I created my own version of NSMutableDictionary, albeit much simplified, containing only what I needed. Sometimes the standard classes d

Re: [Q] Cocoa Binding for filters applied to CALayer (JongAm Park)

2012-08-29 Thread JongAm Park
I found somewhat interesting behavior. When it doesn't use property to set an instance of CALayer like this : m_imageLayer = [CALayer layer]; instead of self.imageLayer = [CALayer layer]; it doesn't cause the problem anymore. Instead of using property, I tried to use a setter and

Re: Sandboxing die.die.die

2012-08-29 Thread Alex Zavatone
On Aug 29, 2012, at 12:17 PM, Mike Abdullah wrote: > > On 26 Aug 2012, at 03:02, Graham Cox wrote: > >> >> On 25/08/2012, at 8:14 PM, Mike Abdullah wrote: >> >>> I had a funny feeling you were going to point the finger at us ;-) >>> Checked out the code, and I can assure you, iMedia is doin

Re: Sandboxing die.die.die

2012-08-29 Thread Roland King
On 30 Aug, 2012, at 6:34 AM, Alex Zavatone wrote: > But before anyone reads too far, I am making certain assumptions that may > indeed be false. That iOS and Mac OS app Sandboxing is absolutely required > and you can't make apps without it enabled, whether the apps are destined for > the App

A digression (was Re: Sandboxing die.die.die)

2012-08-29 Thread Andrei Freeman
Sent from my iPad On Aug 25, 2012, at 10:02 PM, Graham Cox wrote: > Well. > > This code was based on a very old version ..., probably from 2008 or 9. Did you really just call something 'very old' from 2008 under a subject line that includes ".die.die.die?" Sorry. Carry on. -Andrei ___

Re: Sandboxing die.die.die

2012-08-29 Thread Greg Parker
On Aug 29, 2012, at 3:34 PM, Alex Zavatone wrote: > But before anyone reads too far, I am making certain assumptions that may > indeed be false. That iOS and Mac OS app Sandboxing is absolutely required > and you can't make apps without it enabled, whether the apps are destined for > the App s

Re: On handling those lovely unrecognized selector sent to instance SIGABRTs

2012-08-29 Thread Alex Zavatone
First off, sorry guys, this is long. > It's in the docs — the Breakpoint Navigator Help includes a page on "Adding > An Exception Breakpoint". If you type "exception" into the search field in > Xcode's Help menu, it's the third hit in the list. > > —Jens But Jens, that's one of the issues.

Re: [SOLVED] Sparkle script?

2012-08-29 Thread Graham Cox
On 30/08/2012, at 1:56 AM, Dave Fernandes wrote: > Any chance you can post the fix? I had the shell set incorrectly - the script I had required bin/bash, not the default which is bin/sh --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: Sandboxing die.die.die

2012-08-29 Thread John Bishop
On 30 Aug 2012 07:01:04 +0800, Roland King wrote: > > On 30 Aug, 2012, at 6:34 AM, Alex Zavatone wrote: > >> But before anyone reads too far, I am making certain assumptions that may >> indeed be false. That iOS and Mac OS app Sandboxing is absolutely required >> and you can't make apps wit

Re: On handling those lovely unrecognized selector sent to instance SIGABRTs

2012-08-29 Thread Jens Alfke
On Aug 29, 2012, at 8:03 PM, Alex Zavatone wrote: > And if you don't know that Symbolic Breakpoints even exist, or what they are > used for, how do you know that part of the documentation is where to turn to > to find a solution? > If the issue is "I have no idea how to track down what crashed