How to release an instance of BBXIAPTransactio safety?

44 views
Skip to first unread message

wshao

unread,
Aug 1, 2012, 1:59:24 AM8/1/12
to bee...@googlegroups.com

Hi,

It is a very good project.

I have to add it to my apps.

Can I release bbxTransaction like this:

BBXIAPTransaction *bbxTransaction = [[BBXIAPTransaction alloc] initWithTransaction:transaction];

[bbxTransaction validateWithCompletionBlock:^(NSError *error) {

    // xxxxxxxxxxxxxxxxx

    [bbxTransaction release];

    bbxTransaction = nil;

}];

Thank you very much!

Marco

unread,
Aug 2, 2012, 5:44:12 PM8/2/12
to bee...@googlegroups.com
Hm, my non-ARC coding is a bit rusty, but that might work. I would recommend checking with Instruments if you see any error.

wshao

unread,
Aug 3, 2012, 8:38:24 AM8/3/12
to bee...@googlegroups.com
Thanks!
And, another problem:
I use Google Chrome to visit http://beeblex.local/api/v1 by my computer
Google Chrome prompts this error: "Error 105 (net :: ERR_NAME_NOT_RESOLVED) Unable to resolve the server's DNS address". I had change my dns to 8.8.8.8, but the result is still exist.
I remember that it can be accessed  three days ago.
Thanks for your reply!

在 2012年8月3日星期五UTC+8上午5时44分12秒,Marco写道:

Marco

unread,
Aug 3, 2012, 9:12:47 AM8/3/12
to bee...@googlegroups.com
That's not our actual URL—it should be either http://www.beeblex.com/api/v1 or https://www.beeblex.com/api/v1 (though you should never have to hit this URL directly). The .local address is an internal URL that we use for testing purposes, so you won't be able to hit that from the outside world.
Message has been deleted

wshao

unread,
Aug 3, 2012, 11:49:30 AM8/3/12
to bee...@googlegroups.com
You are right, my problem had been solved perfect.
Thanks!
在 2012年8月3日星期五UTC+8下午9时12分47秒,Marco写道:
Reply all
Reply to author
Forward
0 new messages