discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to compile for NSTextViewDelegate


From: Luis Garcia Alanis
Subject: How to compile for NSTextViewDelegate
Date: Wed, 27 Feb 2013 01:42:16 -0800

Hello guys,

I am trying to compile a project to test NSTextViewDelegate using Project Center + Gorm.

Since Gorm does not include a proper NSTextView control I used a custom view and changed its class to NSTextView and that seemed to work.

However when I try to add the <NSTextViewDelegate> to my controller class I get a build error saying that NSTextViewDelegate is not found.

I went into the header file to find that its only available if:
     #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
So this means I need to add GS_API_LATEST to my project somehow or do I need to rebuild GNUStep with a special flag to enable GS_API_LATEST?

Thanks
Luis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]