objective c - Where is NSTextField? -


I am new to Mac OS X development, primarily a Java and C # developers I am reading this book And I am trying some examples from the book.

In my App Controller class, I am trying to add a IBOutlet :

  IBOutlet NSTextField * textField;   

This gives me an error in saying "unknown type name 'NSTextField'. I have imported Foundation / Foundation H

Please help.

  #import & lt; cocoa / cocoa h & gt;   < P> Import it AppController header file   

Comments

Post a Comment

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -