• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL Bug?


  • Subject: Re: NSURL Bug?
  • From: Lance Bland <email@hidden>
  • Date: Wed, 26 Jun 2002 15:59:16 -0400

interesting-

NSURL *myURL = [[NSURL alloc] initWithString:@"/dd"];

works.

NSURL *myURL = [[NSURL alloc] init];

gives an error on release.

init is not a document initializer for NSURL, but even so, it should have been made to work.

-lance


On Wednesday, June 26, 2002, at 03:15 PM, Evan DiBiase wrote:

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

// insert code here...
NSURL *myURL = [[NSURL alloc] init];

[myURL release];
[pool release];

------------------------------------
Lance Bland
mailto:email@hidden
web charts at http://www.vvi.com/products/chart
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSURL Bug? (From: Evan DiBiase <email@hidden>)

  • Prev by Date: valueForKey:@"class"
  • Next by Date: Re: NSURL Bug?
  • Previous by thread: NSURL Bug?
  • Next by thread: Re: NSURL Bug?
  • Index(es):
    • Date
    • Thread