Any native API for credit/ debit card info scan

2015-08-26 Thread Devarshi Kulshreshtha
In iOS 8, Apple has a new feature in Safari that allows users to scan a credit card with the device’s camera rather than manually entering the number when making a purchase online. Does it also expose native APIs for the same to be used by developer community as well? Any ideas? -- Thanks, Deva

Re: Any native API for credit/ debit card info scan

2015-08-26 Thread Jonathan Hull
I don’t think there is a way to access this functionality in the system frameworks, but we have had good results with Card.io: https://www.card.io Thanks, Jon > On Aug 26, 2015, at 12:23 AM, Devarshi Kulshreshtha > wrote: > > In iOS 8, Apple has a new feature in Safari that allows users to s

Re: Any native API for credit/ debit card info scan

2015-08-26 Thread Devarshi Kulshreshtha
Card.io is awesome, only problem is - it does not extract user's name from card :( On Wed, Aug 26, 2015 at 1:12 PM, Jonathan Hull wrote: > I don’t think there is a way to access this functionality in the system > frameworks, but we have had good results with Card.io: > https://www.card.io > > Th

Re: Auto layout in XCode 6.4

2015-08-26 Thread Dave
> On 25 Aug 2015, at 13:27, Alex Zavatone wrote: > > It's not the most straightforward thing in existence. > > I've found that watching several YouTube videos will do more good than most > anything else. > > Sadly, there is one 7 minute video that made things pretty clear but I can't > find

NSSegmentedControl & NSSegmentStyleSeparated & autolayout

2015-08-26 Thread Jacek Oleksy
Hi All, I want to set NSSegmentStyleSeparated on my NSSegmentedControl (managed by autolayout). However, when I create constraints for the parent view, I get an exception: Assertion failure in -[NSSegmentedControl ns_widgetType], /SourceCache/AppKit/AppKit-1348.17/Layout.subproj/NSUserInterfaceThe

Re: NSSegmentedControl & NSSegmentStyleSeparated & autolayout

2015-08-26 Thread Ken Thomases
On Aug 26, 2015, at 7:04 AM, Jacek Oleksy wrote: > I want to set NSSegmentStyleSeparated on my NSSegmentedControl > (managed by autolayout). However, when I create constraints for the > parent view, I get an exception: > > Assertion failure in -[NSSegmentedControl ns_widgetType], > /SourceCache/

Re: NSSegmentedControl & NSSegmentStyleSeparated & autolayout

2015-08-26 Thread Jacek Oleksy
Nope, I am still getting the exception. J. On Wed, Aug 26, 2015 at 3:31 PM, Ken Thomases wrote: > On Aug 26, 2015, at 7:04 AM, Jacek Oleksy wrote: > >> I want to set NSSegmentStyleSeparated on my NSSegmentedControl >> (managed by autolayout). However, when I create constraints for the >> parent

removeItemAtPath in 10.7

2015-08-26 Thread sqwarqDev
I built my app in Xcode 6.4 on 10.10.5. Runs without issue on Yosemite and Mavericks. However, when I boot into Lion 10.7, I get an “unrecognized selector” error on the “removeItemAtPath” line. Here’s the snippet" NSError *err; int i; for (i=0; i < offendersList.count; i++) {

Re: NSSegmentedControl & NSSegmentStyleSeparated & autolayout

2015-08-26 Thread Thaddeus Cooper
I just checked the documentation and did not see NSSegmentStyleSeparated in the list of NSSegmentStyle enums. Here is the list: enum { NSSegmentStyleAutomatic = 0, NSSegmentStyleRounded = 1, NSSegmentStyleTexturedRounded = 2, NSSegmentStyleRoundRect = 3, NS

Re: removeItemAtPath in 10.7

2015-08-26 Thread Conrad Shultz
> On Aug 26, 2015, at 8:11 AM, sqwarqDev wrote: > > I built my app in Xcode 6.4 on 10.10.5. > > Runs without issue on Yosemite and Mavericks. However, when I boot into Lion > 10.7, I get an “unrecognized selector” error on the “removeItemAtPath” line. > Here’s the snippet" > > NSError *err;

Auto Layout and XCode/IB Warnings

2015-08-26 Thread Dave
Hi All, I’m getting these warning in a xib file: Draw Frame View Expected: Height=436 Actual: Height=48 Image View Expected: y=464 Actual: y=76 And a few others of the same nature and I’m at a loss to know what to do in XCode/IB to fix it? Any help greatly appreciated. All the Best Dave _

Auto Layout and XCode/IB Warnings

2015-08-26 Thread Dave
In the end I had to delete all the constraints and start again - the XCode interface is pretty naff IMO. I’ve now added a view I copied from another xib file, the view is very simple and just has two buttons. It was ok in the original xib file, but in the file I’ve copied it to, I now get these

Re: Auto Layout and XCode/IB Warnings

2015-08-26 Thread Conrad Shultz
> On Aug 26, 2015, at 10:10 AM, Dave wrote: > > Hi All, > > I’m getting these warning in a xib file: > > Draw Frame View > Expected: Height=436 > Actual: Height=48 > > Image View > Expected: y=464 > Actual: y=76 > > > And a few others of the same nature and I’m at a loss to know what to do

Re: Private Methods

2015-08-26 Thread Dave
>> Does anyone prefix their private method names like Apple recommends when >> subclassing a large Cocoa framework class? >> >> Also why does Apple say "If you are subclassing a large Cocoa framework >> class”. What if I am subclassing a small Cocoa framework class. What >> difference would it

NIB Loading Problem

2015-08-26 Thread Dave
Hi, I’m trying to adapt some sample code. I have a WindowController with a .xib file. In the xib file, I have an outlet to another view controller called OtherViewController. OtherViewController is a subclass of DisclosureViewController. When I run the app I get the following error message: 2

Re: NIB Loading Problem

2015-08-26 Thread Dave
> I’ve put a break point in both of these methods, but I still get the error. I > seem to remember having this problem a long while ago but I can’t remember > how I fixed it. Sorry, I meant I’ve put a breakpoint in both these methods but it doesn’t hit it. ___

Re: NIB Loading Problem

2015-08-26 Thread Dave
Found it! You set the name in the attributes inspector in IB. Sorry for noise. Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(