Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bitviper

macrumors newbie
Original poster
Feb 18, 2008
4
0
Hello Everyone,

I have an array of NSURLConnection contained within an object which monitors their downloads. I initialize from the user interface, alloc the NSMutableArray witht the downloads and they begin. However, for some strange the connections are lost and I get a objsend message in the console.

It does not appear within the same time frame, everytime but does appear. I'm on OS X Leopard with GC enabled!!!

Please help.
 

bitviper

macrumors newbie
Original poster
Feb 18, 2008
4
0
Re: nsurlconnection problems

Try posting some code. Sounds like a memory related issue.

Hello and thank you.

I will post more when I get the chance to dig up the code. But it does like this:

open panel w/ text box
enter url hit ok button
create a download object of nsmutablearray *links
create nsurlconnection
if (nsurlconnection) link addobject:nsurlconnection

i am using garbage collection. the download class is just an array of link containing the nsurlconnections.

if you like I can send you the source code, the project: email me:bitviper@mac.com


thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.