Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Torsten Curdt
I just hope that was meant with a wink. If not... Why would the library itself need to be in swift? https://developer.apple.com/library/ios/documentation/swift/conceptual/buildingcocoaapps/MixandMatch.html Just use it from swift. On Thu, Oct 30, 2014 at 7:38 PM, David Hoerl dho...@mac.com

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Charles Jenkins
My day job is programming in C# for Windows computers. I was really excited when Swift came out because it’s so similar to other languages I know well and use and admire. But it turns out that for me, the language is not at all the hurdle for learning Cocoa programming. Apple’s incredibly

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Andreas Mayer
Am 31.10.2014 um 12:40 schrieb Charles Jenkins cejw...@gmail.com: optionals and named arguments could be deprecated and Swift would then be an easier and better language to use. Even though it doesn't look like it, I really hope you were joking ... Andreas

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Fritz Anderson
On 31 Oct 2014, at 6:40 AM, Charles Jenkins cejw...@gmail.com wrote: My day job is programming in C# for Windows computers. I was really excited when Swift came out because it’s so similar to other languages I know well and use and admire. I’ll take this as the root theme of your message.

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Angela Brett
Sent from my iPad On 31 oct. 2014, at 18:22, Fritz Anderson fri...@manoverboard.org wrote: On 31 Oct 2014, at 6:40 AM, Charles Jenkins cejw...@gmail.com wrote: My day job is programming in C# for Windows computers. I was really excited when Swift came out because it’s so similar to

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Charles Jenkins
On Friday, October 31, 2014 at 13:22, Fritz Anderson wrote: On 31 Oct 2014, at 6:40 AM, Charles Jenkins cejw...@gmail.com (mailto:cejw...@gmail.com) wrote: My day job is programming in C# for Windows computers. I was really excited when Swift came out because it’s so similar to other

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread David Duncan
On Oct 31, 2014, at 12:50 PM, Charles Jenkins cejw...@gmail.com wrote: On Friday, October 31, 2014 at 13:22, Fritz Anderson wrote: On 31 Oct 2014, at 6:40 AM, Charles Jenkins cejw...@gmail.com (mailto:cejw...@gmail.com) wrote: My day job is programming in C# for Windows computers. I was

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-31 Thread Graham Cox
On 1 Nov 2014, at 6:50 am, Charles Jenkins cejw...@gmail.com wrote: as for the table view, isn’t it notoriously difficult for noobs to learn and work with? Just to pick up on this point, I think the answer, unenlighteningly, is it depends. When I was a Cocoa noob, I found NSTableView to be

Can an use introspection to determine if its a production app from the App Store?

2014-10-30 Thread David Hoerl
Can an iOS app examine some property to determine if its been installed as a development style app (ie Test Flight, or Xcode, etc), or was installed via the App Store. [I support a library where the app is suppose to pass a flag, but clients are making errors...] David

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-30 Thread David Brittain
The following seems to work from experimentation... For an application installed through TestFlight Beta the receipt file is named StoreKit\sandboxReceipt vs the usual StoreKit\receipt. Using [NSBundle appStoreReceiptURL] you can look for sandboxReceipt at the end of the URL. NSURL *receiptURL =

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-30 Thread Torsten Curdt
You could also inspect the provisioning profile: https://github.com/tcurdt/TCMobileProvision cheers, Torsten On Thu, Oct 30, 2014 at 6:44 PM, David Brittain websi...@paperetto.com wrote: The following seems to work from experimentation... For an application installed through TestFlight Beta

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-30 Thread David Hoerl
Looks great, but I cannot read Objective C anymore - where is the Swift version??? On 10/30/14, 2:28 PM, Torsten Curdt wrote: You could also inspect the provisioning profile: https://github.com/tcurdt/TCMobileProvision cheers, Torsten On Thu, Oct 30, 2014 at 6:44 PM, David Brittain

Re: Can an use introspection to determine if its a production app from the App Store?

2014-10-30 Thread Graham Cox
On 31 Oct 2014, at 5:38 am, David Hoerl dho...@mac.com wrote: Looks great, but I cannot read Objective C anymore - where is the Swift version??? Obj-C isn't going anywhere soon, and Swift isn't yet ready for hardcore commercial use. I can't see the transition taking any less than five