Alterplay/APAddressBook

Crash Report in APThread.m

Opened this issue · 3 comments

Hi , I can not use Your Classes in my Project :(
every time my Application Crashs in "APThread.m" in "- (void)performBlock:(void (^)())block" line 43 block ()
Crash message is EXC_BAD_ACCESS(code=2 , .... ) and some one code is equal to 1 : EXC_BAD_ACCESS(code=1 , .... )

// ******
my code is :
APAddressBook *addressBook = [[APAddressBook alloc] init];

[addressBook loadContacts:^(NSArray <APContact *> *contacts, NSError *error)
{

   // someAction

}];

actually application will crash every time that I use addressBook with one 'Block' !
Thanks

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.

Yes it is Correct ;)
I stored some new Field in AddressBook ;)

On Jun 8, 2016, at 4:38 PM, Alexey Belkevich notifications@github.com wrote:

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #127 (comment), or mute the thread https://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.

Do you try 'Example' app in this repo? If not please, try it. Also, could you provide the screenshot of stack trace of the error?

26 июня 2016 г., 8:14 +0300, Ali Azadehnotifications@github.com, писал:

Yes it is Correct ;)
I stored some new Field in AddressBook ;)

On Jun 8, 2016, at 4:38 PM, Alexey Belkevichnotifications@github.comwrote:

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/127#issuecomment-224569915, or mute the threadhttps://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.


You are receiving this because you commented.
Reply to this email directly,view it on GitHub(#127 (comment)), ormute the thread(https://github.com/notifications/unsubscribe/ABObNdZ8Mrv000hu-ONcPVFsmPVgM_Lxks5qPgqfgaJpZM4IwOr8).