开发者

How do i import/link information from classA to classB in XCode

Does anyone know how i can import information from example ClassA.h and ClassA.m to ClassB.h and ClassB.m in Xcode. I've tried #import "ClassA.h" in ClassB, but apparently it isn't enough. Also i've put in ClassB.m a @ClassA method, but that doe开发者_开发知识库sn't work also. I'm quite new to XCode, so this could be a simple question.


Communication between objects is Object Oriented Programming 101. It would probably be a better use of your time to start off with a few Objective-C tutorials to get the basics down.

There's some decent stuff at http://cocoadevcentral.com/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜