Why Am I Getting These Compile-Time Warnings?

Discussion in 'iOS Programming' started by kaydell.leavitt, Apr 21, 2010.

  1. kaydell.leavitt macrumors regular

    Joined:
    Apr 19, 2010
    #1
    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 :confused:
     

    Attached Files:

  2. ChOas macrumors regular

    Joined:
    Nov 24, 2006
    Location:
    The Netherlands
    #2
    Try using:

    Code:
     
     [self isXXXEmpty]
    
    instead of

    Code:
     isXXXEmpty()
    
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    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.
     
  4. kaydell.leavitt thread starter macrumors regular

    Joined:
    Apr 19, 2010
    #4
    What would be a good forum for that?

    I thought that you could use any C in Objective-C. Is that not right?
     
  5. chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #5
    Ha I didn't catch that either. (Looks fine from a C/ C++ standpoint :p)

    Don't feel bad OP I end up doing similar things. I accidentally format in C++ sometimes.
     
  6. kaydell.leavitt thread starter macrumors regular

    Joined:
    Apr 19, 2010
    #6
    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 :D
     
  7. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #7
    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.
     

Share This Page