advertisement

Article:
  The Objective-C Language
Subject:   Question
Date:   2001-05-08 12:38:40
From:   uwiz
I have a question concerning the following syntax:


- (void)setXLocation:(double)x yLocation:(double)y


I don't understand the yLocation:(double)y part.
Isn't yLocation an instance variable in the given
example? Why is an instance variable listed in
a method declaration?


thanks




1 to 2 of 2
  1. Michael Beam photo Question
    2001-05-08 15:20:23  Michael Beam | O'Reilly Author [View]

  2. Michael Beam photo Question
    2001-05-08 15:12:51  Michael Beam | O'Reilly Author [View]

    • Question
      2001-05-10 14:41:38  kcrawford [View]

      • Michael Beam photo Question
        2001-05-11 06:13:54  Michael Beam | O'Reilly Author [View]

        • Question
          2001-05-11 09:19:15  kcrawford [View]

1 to 2 of 2