advertisement

Article:
  BYOB: Build Your Own Browser, Part 2
Subject:   Compile warnings expected?
Date:   2004-05-30 06:46:20
From:   jamie_young
Good article, I appreciate the move into a bit more advanced topics with actual code. It seems that advanced cocoa articles are getting hard to find, especially ones done after XCode was released. All that said, I wish the advanced articles could be a bit longer with more details covering the advanced topics. I really don't mind reading articles that span more than 3 web pages. (It seems many of the O'Reilly articles I find are targeted for a max of 3-4 pages).


Anyway, on to my question:
I am getting 4 compile warnings and was wondering if they are expected or if I have an elusive typo in my code somewhere. Still being new to Cocoa, I am not sure when 'Warnings' are ok and when they should actually be ignored. ;)



/.../MyDocument.m: In function `-[MyDocument connectURL:]':
/.../MyDocument.m:68: warning: `WebFrame' may not respond to `-loadRequest:'
/.../MyDocument.m:68: warning: cannot find method `-loadRequest:'; return type `id' assumed


/.../MyDocument.m: In function `-[MyDocument webView:createWebViewWithRequest:]':
/.../MyDocument.m:81: warning: `WebFrame' may not respond to `-loadRequest:'
/.../MyDocument.m:81: warning: cannot find method `-loadRequest:'; return type `id' assumed


Thanks!


~jamie


1 to 1 of 1
  1. re: Compile warnings expected?
    2004-05-30 07:50:03  Andrew Anderson | [View]

    • re: Compile warnings expected?
      2004-05-31 17:23:38  johnts [View]

      • re: Compile warnings expected?
        2004-05-31 17:32:24  Andrew Anderson | [View]

        • re: Compile warnings expected?
          2004-06-01 06:07:02  johnts [View]

1 to 1 of 1