Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kaydell.leavitt

macrumors regular
Original poster
Hi,

I'm getting the warnings shown in the picture below, but I don't understand why.

Can somebody help me to understand how to rectify this problem?

-- Kaydell 😕
 

Attachments

  • Picture 2.png
    Picture 2.png
    120.8 KB · Views: 148
kaydell.leavitt, based on this and other threads you posted recently, perhaps it's time to step away from the real coding and go (re)learn the basics of Objective-C.
 
kaydell.leavitt, based on this and other threads you posted recently, perhaps it's time to step away from the real coding and go (re)learn the basics of Objective-C.

What would be a good forum for that?

I thought that you could use any C in Objective-C. Is that not right?
 
Try using:

Code:
 [self isXXXEmpty]

instead of

Code:
 isXXXEmpty()

Ha I didn't catch that either. (Looks fine from a C/ C++ standpoint 😛)

Don't feel bad OP I end up doing similar things. I accidentally format in C++ sometimes.
 
OK, I Understand

OK, I guess that what I was thinking was that I could use C inside of Objective-C, but I realize now that the problem is that I defined the methods in Objective-C, which makes them object-oriented and then I tried to call them from procedural code, written in C.

Thanks for your help. I'll try to find a forum that is oriented more to beginniners in Objective-C.

Does anybody know of such a forum?

-- Kaydell 😀
 
What would be a good forum for that?
You don't want a forum. You want something that is dedicated to educational instruction, whether that be books, videos, tutorials, primers, etc. If you need recommendations on those, this forum contains plenty of threads on the topic.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.