You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, I found this in your MagicalRecordHelper.m.
In dateFromString method, you allocate formatter object but not releasing.
So I change this line to
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
Is't correct?
The text was updated successfully, but these errors were encountered:
This is not the same
The code you found is for use with the new ARC compiler, which inserts releases for you automatically….
If you want to use MagicalRecord under a previous SDK, please download the 1.0 tag of MagicalRecord from github.
Thanks,
Saul
On Aug 7, 2011, at 8:19 PM, tronyx wrote:
hello, I found this in your MagicalRecordHelper.m.
In dateFromString method, you allocate formatter object but not releasing.
So I change this line to
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
Is't correct?
Reply to this email directly or view it on GitHub: #57
hello, I found this in your MagicalRecordHelper.m.
In dateFromString method, you allocate formatter object but not releasing.
So I change this line to
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
Is't correct?
The text was updated successfully, but these errors were encountered: