Re: referencing a Swift Dictionary from Objective-C

2016-09-11 Thread Gavin Eadie
> On Sep 11, 2016, at 1:31 AM, Charles Srstka wrote: > >> On Sep 11, 2016, at 12:16 AM, Gavin Eadie wrote: >> >> I’m moving some code from Obj-C to Swift and, from time to time, I open a >> gap I cannot see across. This is one, and I’d love some assistance

referencing a Swift Dictionary from Objective-C

2016-09-10 Thread Gavin Eadie
I’m moving some code from Obj-C to Swift and, from time to time, I open a gap I cannot see across. This is one, and I’d love some assistance. I converted a pile of utility Obj-C code that included a class method of the form on the rhs of: xxx = [UIColor colorFromName:@"aliceblue"] In the n

Re: Apple Bug no response

2016-03-09 Thread Gavin Eadie
#4145901 .. June 12, 2005 > On Mar 9, 2016, at 4:02 PM, Gary L. Wade wrote: > > My oldest open bug will be 10 years old by WWDC 2016. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: SCNView : setting "overlaySKScene" doesn't render anything

2016-02-26 Thread Gavin Eadie
ot; don't render the overlay either). This is the "renderingAPI" required property of the SCNRenderer protocol that SCNView obeys; it's most easily set in IB. On Fri, Feb 26, 2016 at 5:19 PM, Gavin Eadie wrote: > I have struggled long and hard with this .. I think I’ve looked

SCNView : setting "overlaySKScene" doesn't render anything

2016-02-26 Thread Gavin Eadie
I have struggled long and hard with this .. I think I’ve looked at 'everything' related on Google, but I’m still flummoxed. This is on Mac OS 10.11.3, build with Xcode 7.2, and this is what I think is the salient code. override func viewDidLoad() { super.viewDidLoad() let s

Re: App Transport Security exceptions App Store signed app

2016-01-27 Thread Gavin Eadie
> On Jan 27, 2016, at 7:14 PM, Alex Zavatone wrote: > > Here’s another discussion on nscurl that might help from Quinn at Apple DTS > with a little more info. Thanks for the tip, Gavin. .. Quinn’s a god! .. Here’s the CocoaHeads presentation I mentioned: https://www.dzombak.com/talks/2

Re: App Transport Security exceptions App Store signed app

2016-01-27 Thread Gavin Eadie
> On Jan 27, 2016, at 12:55 AM, Trygve Inda wrote: > > Calls to http on my domain (xericdesign.com) work. Calls via http to my > other domain (earthdeskcloudhost02.com) do not work. .. you (and others) may find this option on the nscurl command nscurl --ats-diagnostics --verbose http://www

Re: Swift struggles with arithmetic ?

2015-08-29 Thread Gavin Eadie
> On Aug 29, 2015, at 4:55 PM, Quincey Morris > wrote: > > I think you can assume that the error message is in effect a secondary error. > The expression complexity isn’t the issue, but rather the (internal) path > Swift follows to compile it. .. that seems very wise. I keep getting caught b

Swift struggles with arithmetic ?

2015-08-29 Thread Gavin Eadie
Apologies if off-topic, but Swift appears a lot on cocoa-dev, so maybe it’s OK I’ve been using Swift and moving some Obj-C code over to it, but I’m concerned that it thinks this is “too complex to be solved in reasonable time”: import Foundation let y = 1.0 * sin(1.0) + 1.0 * sin(1.0) +

Re: Cheating a synchronous call on the main thread

2015-06-29 Thread Gavin Eadie
Somewhere in this email a lightbulb gets turned on! > On Jun 29, 2015, at 2:49 PM, Scott Ribe wrote: > > The problem is that the requirement is self-contradictory: "synchronous" > means wait, and "without impacting performance" means don't wait. While the > real requirement is probably more li

Re: Cheating a synchronous call on the main thread

2015-06-29 Thread Gavin Eadie
> On Jun 29, 2015, at 1:19 PM, Scott Ribe wrote: > >> The problem with the callback to “after” is that “after” is just the >> continuation of the program and possibly nothing to do with what happens in >> “fakeSyncrony” .. > > Then why does it need to wait? > > This is really sounding like pr

Re: Cheating a synchronous call on the main thread

2015-06-29 Thread Gavin Eadie
> On Jun 29, 2015, at 12:28 PM, Scott Ribe wrote: > >> […] we have a counterexample in the form of the Canon ED-SDK, which somehow >> does accomplish this. > > I seriously doubt that. It's probably performing the work on a background > thread, > then using some callback to execute the "after"

Cheating a synchronous call on the main thread

2015-06-29 Thread Gavin Eadie
It’s standard knowledge that any operation which causes an app’s main thread to wait is bad, and that diverting such delays off the main thread allows the app to remain optimally responsive to external events. That diversion can happen via a couple of mechanisms: ‘callbacks’ (delegation and cl

Apple Developer Update

2013-07-24 Thread Gavin Eadie
http://devimages.apple.com/maintenance/ > Apple Developer Update > > We apologize for the significant inconvenience caused by our developer > website downtime. We’ve been working around the clock to overhaul our > developer systems, update our server software, and rebuild our entire > database

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Gavin Eadie
With the greatest of good will, and the gentlest of requests, can we drop this topic? Please. ___ 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-d

Re: new to Cocoa/Objective-c: many points of confusion

2013-02-12 Thread Gavin Eadie
On Jan 22, 2013, at 1:10 AM, Alex Hall wrote: > I understand the concepts of modern programming (methods, classes, objects, > inheritance, all that) quite well thanks to that degree, but we never delved > much into C-style languages. Now, I am trying to teach myself Objective-c, > with the goa