robotmedia / RMStore

A lightweight iOS library for In-App Purchases
Apache License 2.0
2.43k stars 450 forks source link

Why does RMStoreTransaction set ivars directly in initializers instead of setting properties? #158

Closed AlexTalis closed 9 years ago

AlexTalis commented 9 years ago

RMStoreTransaction has some "copy" and "strong" properties, but initializers always set ivars directly, like this: _productIdentifier = paymentTransaction.payment.productIdentifier; Is this because something else is always holding on to the data or is this a bug?

AlexTalis commented 9 years ago

I understand how this works now. Sorry about the premature question.