开发者

view application and Console application in objective C

开发者 https://www.devze.com 2023-02-28 07:57 出处:网络
I\'m new to Objective C..I have created some applications in view based application..My project is to develop a protocol to retreive records.I\'m writing that coding in console application..If the use

I'm new to Objective C..I have created some applications in view based application..My project is to develop a protocol to retreive records.I'm writing that coding in console application..If the user clicks on the ok button the data has to be retrieved from the other end... Have created the buttons and Te开发者_Go百科xtView to display the status in the view based application and rest of the format of sending data as packets i'm trying to do it in console based application.Is there any possiblility of including the view based application as well as the console based application together in a single project.If i add up the .m and .h files from the console application to the view based application its showing me some error on the "cocoa/cocoa.h No such file or directory".


Make sure you have added the Cocoa framework to your console project. The framework is at /System/Library/Frameworks/Cocoa.framework/Headers/ but you should just have to go to add frameworks and search for Cocoa.

0

精彩评论

暂无评论...
验证码 换一张
取 消