Re: alternative to NSURLConnection sendSynchronousRequest

2009-01-13 Thread JB
locking the thread with NSConditionLock, but that feels like overkill here. Might there be a more direct solution that I'm not seeing? Many thanks! JB On Tue, Jan 13, 2009 at 2:24 PM, Kevin Gessner wrote: > On Jan 13, 2009, at 4:27 PM, JB wrote: > > Hi all, >> >&g

alternative to NSURLConnection sendSynchronousRequest

2009-01-13 Thread JB
n initWithRequest:request delegate:self [self sendAsynchronousRequest:request]; // should not be evaluated until sendAsynchronousRequest is complete NSLog(@"post finished"); } Many thanks! JB ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) P

variable sensitive to Active Build Configuration

2008-11-10 Thread JB
Hi all, I'm building a small app that talks to a web service, so I would like use different URLs for the DEBUG vs. RELEASE targets (staging and production URLs, respectively). What is the best way to conditionally set a variable based on the Active Build Configuration? Many thank

Re: newbie question: tangential compiler errors

2008-10-15 Thread JB
I unchecked "Precompile Prefix Header" in the new target's build settings (per Chris's comments) and it compiles without error now. Thanks! JB On Mon, Oct 13, 2008 at 8:07 PM, Chris Hanson <[EMAIL PROTECTED]> wrote: > On Oct 13, 2008, at 12:42 PM, JB wrote: &

newbie question: tangential compiler errors

2008-10-13 Thread JB
introduced from the get-go. Any pointers and suggestions would be much appreciated. Thanks, JB ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-d

newbie question: NSURLConnection delegation and "method instance"

2008-07-20 Thread JB Ashton
didReceiveResponse:, etc.), but won't be hidden by the local declaration above? Won't local declarations in each delegate method refer to different NSMutableData objects? Many thanks, JB ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas