Detecting user termination of an iOS auto-renewing subscription

2016-09-25 Thread Lou Zell
Hi all, Using the App Store receipt verification system, is there a way to detect when an auto-renewing iOS subscriber terminates their subscription _before_ the expiration date of their current subscription passes? I am referring to a user going through: iTunes > Account > View My Account >

Re: formatted strings in Swift

2016-09-03 Thread Lou Zell
On Fri, Sep 2, 2016 at 10:02 PM, Gerriet M. Denkmann wrote: > > How to create a formatted string? > I use a little helper workaround that essentially looks like this: let str = "hi".nulTerminatedUTF8 let padded = str.withUnsafeBufferPointer() { return String(format:

Re: Proper setup for embedded framework

2016-08-19 Thread Lou Zell
Phases for HarpApp, Create an additional Copy Files phase 8. Set the Destination to "Frameworks" 9. Add the HelloFramework that's nested under HelloApp [1] https://github.com/lzell/WorkspaceExperiment On Tue, Aug 16, 2016 at 7:50 AM, Lou Zell <lzel...@gmail.com> wrote: > Thank

Re: Proper setup for embedded framework

2016-08-19 Thread Lou Zell
wondering if there is a build setting to edit or what that will make targets from sibling projects be recognized as possible dependencies On Mon, Aug 15, 2016 at 8:18 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Aug 15, 2016, at 19:28 , Lou Zell <lzel...@gmail

Proper setup for embedded framework

2016-08-15 Thread Lou Zell
Hello, tl;dr; what is the proper way to have a framework project as a dependency in another project in the same workspace? I have a framework A that gets embedded in an iOS app B. My Xcode workspace has different projects for A and B. The framework A will be distributed, but it is also used as

side by side xcode, open scripts

2011-08-16 Thread Lou Zell
Just giving back a little here in case anyone else is struggling with side by side Xcode3 and 4. Two quick scripts are below. Xcode3 is installed at /Xcode3, and Xcode4 at /Xcode4. xcode3 open script: #!/bin/bash open /Xcode3/Applications/Xcode.app --args `cd $1; pwd` xcode4 open script:

getting a unique ID to store IAPs in keychain

2011-08-10 Thread Lou Zell
Hi Devs, I'm storing non-consumable In-App Purchases in the Keychain. I would like to query the Keychain using a key that is specific to the iTunes account that was used to make the purchase. It doesn't have to be the exact iTunes account name, just something that is unique per account. Does

Cocoa alternative for method aliasing?

2011-03-29 Thread Lou Zell
Mornin' Devs, Is there a recommended pattern for passing events up the responder chain without subclassing a class and overriding the methods I'm interested in? Here is an explanation of what I'm trying to do: I have a subclass of UIButton, call it MyButton, that I would like to function as a

Re: Cocoa alternative for method aliasing?

2011-03-29 Thread Lou Zell
David, Matt, Thanks for the responses and pointing me towards UIControlEvents. -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [[self nextResponder] touchesBegan:touches withEvent:event]; } Don't do that. The way to pass touches up the responder chain is by calling

Re: Cocoa alternative for method aliasing?

2011-03-29 Thread Lou Zell
On Tue, Mar 29, 2011 at 5:16 PM, WT jrca...@gmail.com wrote: On Mar 29, 2011, at 4:25 PM, Matt Neuburg wrote: On Tue, 29 Mar 2011 11:20:31 -0700, Lou Zell lzel...@gmail.com said: I have a subclass of UIButton, call it MyButton, that I would like to function as a vanilla UIButton but also

Re: Using NSWindow without NIB (XIB) file ?

2011-01-25 Thread Lou Zell
On Tue, Jan 25, 2011 at 2:48 AM, David Remacle lis...@clampin.com wrote: Hello Is it possible to use NSWindow without NIB file ? Below is a code sample I put together when I was trying to accomplish the same thing. I was pretty against Interface Builder when I first started with Cocoa

Generating a low level key event with pre-Leopard HID APIs

2011-01-03 Thread Lou Zell
would I go about generating an event that _would_ make it into the event queue setup in ListenForKeys, and hence, MAME OS X? I have been working on this for quite some time; any help would really be appreciated. Thank you, Lou Zell ___ Cocoa-dev mailing