随笔分类 -  英文博客

Objective-C Inheritance
摘要:One of the most important concepts in object-oriented programming is that of inheritance. Inheritance allows us to define a class in terms of another 阅读全文

posted @ 2018-03-06 16:09 东方🐺 阅读(222) 评论(0) 推荐(0)

Objective-C Data Encapsulation
摘要:All Objective-C programs are composed of the following two fundamental elements: Program statements (code): This is the part of a program that perform 阅读全文

posted @ 2018-02-27 10:44 东方🐺 阅读(294) 评论(0) 推荐(0)

Objective-C Protocols
摘要:Objective-C allows you to define protocols, which declare the methods expected to be used for a particular situation. Protocols are implemented in the 阅读全文

posted @ 2018-02-22 16:09 东方🐺 阅读(277) 评论(1) 推荐(0)

Objective-C Log Handling
摘要:NSLog method In order to print logs, we use the NSLog method in Objective-C programming language which we have used right from the Hello World example 阅读全文

posted @ 2018-02-22 16:03 东方🐺 阅读(283) 评论(1) 推荐(0)

Objective-C Loops
摘要:There may be a situation, when you need to execute a block of code several number of times. In general, statements are executed sequentially: The firs 阅读全文

posted @ 2018-02-09 17:35 东方🐺 阅读(318) 评论(0) 推荐(0)

Objective-C Fast Enumeration
摘要:Fast enumeration is an Objective-C's feature that helps in enumerating through a collection. So in order to know about fast enumeration, we need know 阅读全文

posted @ 2018-02-09 11:24 东方🐺 阅读(125) 评论(0) 推荐(0)

Obj-C Memory Management
摘要:Memory management is one of the most important process in any programming language. It is the process by which the memory of objects are allocated whe 阅读全文

posted @ 2018-02-09 11:15 东方🐺 阅读(358) 评论(0) 推荐(0)

Objective-C Operators and Expressions
摘要:What is an Expression? The most basic expression consists of an operator, two operands and an assignment. The following is an example of an expression 阅读全文

posted @ 2018-02-09 11:05 东方🐺 阅读(301) 评论(0) 推荐(0)

Objective-C Numbers
摘要:In Objective-C programming language, in order to save the basic data types like int, float, bool in object form, Objective-C provides a range of metho 阅读全文

posted @ 2018-02-09 11:05 东方🐺 阅读(145) 评论(0) 推荐(0)

Objective-C Polymorphism
摘要:The word polymorphism means having many forms. Typically, polymorphism occurs when there is a hierarchy of classes and they are related by inheritance 阅读全文

posted @ 2018-02-08 10:48 东方🐺 阅读(142) 评论(0) 推荐(0)

导航