學寫iPhone程式 第31堂 - 完成長方型

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
638 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Link to this comment:

Share to:

Uploader Comments (tongsanba)

  • 獲益良多,thank a lot.

  • @iccwkm 唔洗客氣xDDDD

  • Vincent 請問上述例句中,你有時在NSLog中會用r.width , r.height, [r area], [r perimeter], 係吾係有持別用意? r.width and r.height = [r width] and [r height] ?

  • @iccwkm 係一樣的, 依個係叫dot notation(點運算符式)

    例子for getters method: myVar = [someObject foo]; 係等於 myVar = someObject.foo;

    例子for setters method: someObject.foo = myVar; 係等於 [someObject setFoo:myVar];

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • 這堂很有用, 謝謝!

    

  • Thank you

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more