Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in objective-c-blocks

Using weak self in dispatch_async function

Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior

How to dispatch on main queue synchronously without a deadlock?

UIButton block equivalent to addTarget:action:forControlEvents: method?

Which is the right one, nil or NULL, to mark "no Objective-C block"?

Implementing a method taking a block to use as callback

Calling [self methodName] from inside a block?

Why do nil / NULL blocks cause bus errors when run?

How to store blocks in properties in Objective-C?

Custom completion block for my own method [duplicate]

What is the difference between a __weak and a __block reference?

Blocks instead of performSelector:withObject:afterDelay: [duplicate]

Alternatives to dispatch_get_current_queue() for completion blocks in iOS 6?

Declare a block method parameter without using a typedef

Objective-C pass block as parameter

When to use enumerateObjectsUsingBlock vs. for

Store a closure as a variable in Swift

Retain cycle on `self` with blocks

Waiting until two async blocks are executed before starting another block

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