Passing address of non-local object to __autoreleasing parameter for write-back

Returning a Result as the Argument 在希望通过函数的参数返回Objective-C 对象

2014-07-28 11:46:11

阅读数 2236

评论数 0

Implementing __autoreleasing ownership qualifier

__autoreleasing ownership qualifier Assigning an object to any variables qualified with __autoreleasing is equivalent to calling the autorelease m...

2013-12-17 22:32:34

阅读数 665

评论数 0

Implementing __weak ownership qualifier

__weak ownership qualifier Next, we learn about the __weak ownership qualifier. We show what happens when an object is disposed of or when a newly...

2013-12-17 22:25:57

阅读数 882

评论数 0

Implementing __strong ownership qualifier

__strong ownership qualifier Let’s see how the variables that are qualified with __strong work, using NSMutableArray class method “array” as an ex...

2013-12-17 22:24:33

阅读数 477

评论数 0

Array under ARC

Array I explained the ownership specifiers with ‘id’ or object type variables. In this section, I explain how we can use the specifiers with arrays....

2013-12-17 21:03:53

阅读数 530

评论数 0

ARC Rules

ARC Rules To write and compile source code for ARC, you have to take care of a few things. Just by following the rules in the list below, you can ...

2013-12-17 20:07:42

阅读数 1045

评论数 0

Ownership qualifiers of Objective-C: In Details

详细介绍Objective-C的Ownership Qualifier,帮助更好理解ARC是怎么回事,实现细节;绝对算是专业级的讲解,找工作前理清思路、提高自信的必需品。 With ARC, ‘id’ and object type variables must have one of the ...

2013-12-17 10:44:30

阅读数 1673

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭