Creating an abstract class in Objective-C

前端 未结 21 2697
感情败类
感情败类 2020-11-22 15:44

I\'m originally a Java programmer who now works with Objective-C. I\'d like to create an abstract class, but that doesn\'t appear to be possible in Objective-C. Is this poss

21条回答
  •  爱一瞬间的悲伤
    2020-11-22 16:21

    Cocoa doesn’t provide anything called abstract. We can create a class abstract which gets checked only at runtime, and at compile time this is not checked.

提交回复
热议问题