Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in automatic-ref-counting

In which situations do we need to write the __autoreleasing ownership qualifier under ARC?

Do I set properties to nil in dealloc when using ARC?

Some questions about Automatic Reference Counting in iOS5 SDK

Fix warning "Capturing [an object] strongly in this block is likely to lead to a retain cycle" in ARC-enabled code

ARC and bridged cast

How do I implement an Objective-C singleton that is compatible with ARC?

Disable Automatic Reference Counting for Some Files

Why is @autoreleasepool still needed with ARC?

How do I declare an array of weak references in Swift?

How does the new automatic reference counting mechanism work?

Custom dealloc and ARC (Objective-C)

capturing self strongly in this block is likely to lead to a retain cycle

How do I avoid capturing self in blocks when implementing an API?

What kind of leaks does automatic reference counting in Objective-C not prevent or minimize?

What is the difference between a weak reference and an unowned reference?

Always pass weak reference of self into block in ARC?

When converting a project to use ARC what does "switch case is in protected scope" mean?

Semantic Issue: Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

Objective-C declared @property attributes (nonatomic, copy, strong, weak)

Why does Apple recommend to use dispatch_once for implementing the singleton pattern under ARC?