On Fri, Jun 5, 2009 at 3:16 AM, Shawn Erickson wrote:
> On Thu, Jun 4, 2009 at 4:44 PM, Ammar Ibrahim
> wrote:
>
> > Excuse me for the silly question. But I'm going to be doing hundreds of
> > requests, and I have GC ON, how do I create these connections and retain
> > them?
>
> Not sure I under
Ammar Ibrahim wrote:
Excuse me for the silly question. But I'm going to be doing
hundreds of
requests, and I have GC ON, how do I create these connections and
retain
them?
Make an NSArray ivar, which you add the connections to.
This will work under GC or retain/release. GC works because
On Fri, Jun 5, 2009 at 2:44 AM, Ammar Ibrahim wrote:
>
>
> On Fri, Jun 5, 2009 at 2:37 AM, Mike Abdullah
> wrote:
>
>>
>> On 5 Jun 2009, at 00:10, Ammar Ibrahim wrote:
>>
>> On Fri, Jun 5, 2009 at 1:55 AM, Keary Suska >> >wrote:
>>>
>>> On Jun 4, 2009, at 2:11 PM, Ammar Ibrahim wrote:
On Thu, Jun 4, 2009 at 4:44 PM, Ammar Ibrahim wrote:
> Excuse me for the silly question. But I'm going to be doing hundreds of
> requests, and I have GC ON, how do I create these connections and retain
> them?
Not sure I understand the question but as a guess...
Put them in an NSMutableArray or
On Fri, Jun 5, 2009 at 2:37 AM, Mike Abdullah wrote:
>
> On 5 Jun 2009, at 00:10, Ammar Ibrahim wrote:
>
> On Fri, Jun 5, 2009 at 1:55 AM, Keary Suska > >wrote:
>>
>> On Jun 4, 2009, at 2:11 PM, Ammar Ibrahim wrote:
>>>
>>> Hello, I'm about to bang my head against the wall. Here's the situation,
On 5 Jun 2009, at 00:10, Ammar Ibrahim wrote:
On Fri, Jun 5, 2009 at 1:55 AM, Keary Suska d...@esoteritech.com>wrote:
On Jun 4, 2009, at 2:11 PM, Ammar Ibrahim wrote:
Hello, I'm about to bang my head against the wall. Here's the
situation,
I'm
trying to send many requests using the same r
On Fri, Jun 5, 2009 at 1:55 AM, Keary Suska wrote:
> On Jun 4, 2009, at 2:11 PM, Ammar Ibrahim wrote:
>
> Hello, I'm about to bang my head against the wall. Here's the situation,
>> I'm
>> trying to send many requests using the same request object, I have a
>> method
>> which I call frequently, w
On Jun 4, 2009, at 2:11 PM, Ammar Ibrahim wrote:
Hello, I'm about to bang my head against the wall. Here's the
situation, I'm
trying to send many requests using the same request object, I have a
method
which I call frequently, which has the following piece of code:
This is not all the rel
Hello, I'm about to bang my head against the wall. Here's the situation, I'm
trying to send many requests using the same request object, I have a method
which I call frequently, which has the following piece of code:
NSMutableURLRequest *newReq = [[NSMutableURLRequest alloc] init];
[newReq set