I have a rather difficult to trace problem with memory management that is related to OpenGL code. I am 99% certain the problem is a memory leak, but am finding the exact problem difficult to trace.
...

I am using MFMailComposeViewController for sending mails.
I have cutomise set the navigation bar with blue color
But issue is that its working fine in my simulator and ipod 5 but color of navigation ...

I have a map with the view controller as it's delegate, I call the below method to add some custom pins to the map and also get the route to them.
I want to add the distance of the route to the pins, ...

In one of my app I have used block for webservice calling and getting response. Now I want to write this app in swift, but I am getting trouble to use blocks/Closure in Swift.
Here is my objective C ...

I need to create an entity on the server and then upload few images to the server.
So first block display success creating entity on the server then I starting upload 10 images one by one in cycle, ...

I am using Parse.com and I am executing a query. Part of the data I fetch is a PFFile and then I load the image as said in the documentation. Inside the getDataInBackgroundWithBlock, once the image is ...

I am using the following code to download a file from the web. How do i structure the code (using blocks) such that, if it fails, it will be retried with a max of retrycount. Here is the code that i ...

I am new to blocks and while reading over the internet I found that I must use weak variables to blocks, because blocks retains the variables. I am little confuse while using self with blocks. lets ...

I've got an assignment for "performance analysis" class and decided to do some testing in gcc and clang using the Man or Boy test. I've completed my assignment already, but something odd came up.
The ...

I have button click event. Inside that I am calling to another method inside another NSObject class. That method is calling to web service within a dispatch block. My button click even is like this
...

I have a chunk of code here, which basically calls my servlet (which it did), and then return the result. However, if I added the sync/blocking portion in (refer to if(isSync)), the completion block ...

I have a paging tableView that loads a new page every time the user over scrolls, sort of like the instagram feed. The reloading of the tableView happens in a callback after the new page was fetched. ...

Let SomeObject have a member variable _someBlock. SomeObject starts an operation which will cause _someBlock to be executed later. Sometime before the block execution, SomeObject is deallocated.
What ...

When user taps on button im navigating to the another view,and set the background image for that view.But the image is from URL.To convert into NSData format its taking some time.So,How can i achieve ...

I have an app that may require the user to authenticate during navigation. If this is the case, I'd like the login event to return a callback back to the operation that requested the login event, for ...

I'm trying to get variables and properties in self in a block for actions to complete, but, if I reference self or a global variable in self when self is the object running the block, it warns me of a ...