jdg/MBProgressHUD — Issue #38: Solve "PerformSelector may cause memory leak..." warning
Author: JoseExposito
Created: 2012-01-17 07:42:49+00:00
State: open

Hi!

To fix this warnings only is necessary to change all the "[targetForExecution performSelector:methodForExecution withObject:objectForExecution];" calls by "[targetForExecution performSelectorInBackground:methodForExecution withObject:objectForExecution];" if you want to execute the task in background or "performSelectorOnMainThread" if you want to execute the task in the GUI thread.

Greetings!