FROM : Ken Tozier
DATE : Sat Apr 28 23:04:40 2007
Never mind. Turned out to be a bonehead error (extraneous colon)
On Apr 28, 2007, at 12:18 PM, Ken Tozier wrote:
> Hi
>
> I have a subclass of NSScrollView, tried including both the
> NSScrollView subclass header and <AppKit/AppKit.h> in both the
> header and body of a superview class but keep getting the following
> compile error when I try to programatically set either the content
> view or document view:
>
> 'setDocumentView' was not declared in this scope
> 'setContentView' was not declared in this scope
>
> I also tried using a straight NSScrollView just to see if there was
> some problem with the subclass and got the exact same error.
>
> I checked very carefully before posting this and the headers are
> definitely included in the class that calls setDocumentView. Since
> all appropriate headers and frameworks are included (<Cocoa/
> Cocoa.h>, <AppKit/AppKit.h> "MyScrollView.h"), why am I getting
> this error?
>
> Thanks for any help
>
> Ken
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kentozier%
> 40comcast.net
>
> This email sent to <email_removed>
DATE : Sat Apr 28 23:04:40 2007
Never mind. Turned out to be a bonehead error (extraneous colon)
On Apr 28, 2007, at 12:18 PM, Ken Tozier wrote:
> Hi
>
> I have a subclass of NSScrollView, tried including both the
> NSScrollView subclass header and <AppKit/AppKit.h> in both the
> header and body of a superview class but keep getting the following
> compile error when I try to programatically set either the content
> view or document view:
>
> 'setDocumentView' was not declared in this scope
> 'setContentView' was not declared in this scope
>
> I also tried using a straight NSScrollView just to see if there was
> some problem with the subclass and got the exact same error.
>
> I checked very carefully before posting this and the headers are
> definitely included in the class that calls setDocumentView. Since
> all appropriate headers and frameworks are included (<Cocoa/
> Cocoa.h>, <AppKit/AppKit.h> "MyScrollView.h"), why am I getting
> this error?
>
> Thanks for any help
>
> Ken
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kentozier%
> 40comcast.net
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Ken Tozier | Apr 28, 18:18 | |
| Ken Tozier | Apr 28, 23:04 |






Cocoa mail archive

