That’s not going to work.
__builtin___CFStringMakeConstantString is a special compiler function that
requires a constant string to work in the first place, as it tells the compiler
to generate CFString literal.
I doubt the compiler will accept anything else as parameter.
> Le 7 juin 2015 à 03
In my delegate:
-(void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray
*)transactions
I call: (to make sure we are on the main thread):
case SKPaymentTransactionStatePurchased:
[self
performSelectorOnMainThread:@selector(completeTransaction:)
withObject:transact
> On 8 Jun 2015, at 06:14, Greg Parker wrote:
>
>
>> On Jun 6, 2015, at 2:43 AM, Roland King wrote:
>>
>>
>>
>> public class RDKBLEService : NSObject
>> {
>> let peripheral : CBPeripheral
>>
>> public init( peripheral: CBPeripheral )
>> {
>> self.peripheral = pe
> On Jun 6, 2015, at 2:43 AM, Roland King wrote:
>
>
>
> public class RDKBLEService : NSObject
> {
> let peripheral : CBPeripheral
>
> public init( peripheral: CBPeripheral )
> {
> self.peripheral = peripheral
> }
> }
>
> It’s a designated initialiser, t