muscle-fibers 发表于 2025-3-26 22:20:08

http://reply.papertrans.cn/71/7003/700219/700219_31.png

相一致 发表于 2025-3-27 01:14:18

Do While Loops,. loops are used for the same reasons as . loops and . loops. The syntax is different, and . loops are notable because the code in the block will execute at least once. This is because the ending condition is not evaluated until the end of the loop. Here is how you would code a . loop to count to 10:

无畏 发表于 2025-3-27 07:39:57

http://reply.papertrans.cn/71/7003/700219/700219_33.png

树木心 发表于 2025-3-27 10:10:26

http://reply.papertrans.cn/71/7003/700219/700219_34.png

folliculitis 发表于 2025-3-27 16:18:05

http://reply.papertrans.cn/71/7003/700219/700219_35.png

figurine 发表于 2025-3-27 20:46:38

Class Methods,In Chapter 16, we described how to define classes with properties and methods. The type of method we focused on was instance methods. Instance methods are methods can only be used with objects. When you want to use an instance method, you send a message to an object.

悲观 发表于 2025-3-27 22:15:08

http://reply.papertrans.cn/71/7003/700219/700219_37.png

FLAX 发表于 2025-3-28 05:42:10

Categories,Categories are used to extend classes without using inheritance. When you use a category, you can add properties and methods to a class without declaring a super class.

大范围流行 发表于 2025-3-28 09:22:37

http://reply.papertrans.cn/71/7003/700219/700219_39.png

保全 发表于 2025-3-28 12:49:05

http://reply.papertrans.cn/71/7003/700219/700219_40.png
页: 1 2 3 [4] 5 6 7
查看完整版本: Titlebook: Objective-C Quick Syntax Reference; Matthew Campbell Book 2013 Matthew Campbell 2013