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

andrewtparker01

macrumors newbie
Original poster
Hi,

I thought I was starting to understand NIBs, Views, Controllers, but I may have more to learn.🙄

I want to call the iPhone SDK sample application "URLCache" from my own application and NIB. Here's what I though I should do:

1. Dragged the .h and .m from the sample application into my application.
2. Dragged the sample NIB into my application.
3. Make a call from my application to URLCache using code like:

Leaf3TestController *d = [[Leaf3TestController alloc] init];
if (![NSBundle loadNibNamed😡"Level3Test" owner:d]) {
NSLog(@"Error loading Nib for document!");

It gives a runtime error relating to:

[NSBundle loadNibNamed😱wner:]: unrecognized selector sent to class 0xa06b0aa0😕

Has any one successfully called incorporated URLCache into their application?

Thanks,

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