Re: Scary Stuff!

2015-06-17 Thread Doug Hill
This is indeed some scary stuff. The problem with apps creating a local web server for Web Socket support also seems particularly worrisome. I second Jens’ suggestion to read the paper because it will cause eyes to bug out. For most of the security problems, you could rewrite your app to

Re: Language options: Objective-C, Swift, C or C++?

2015-06-17 Thread Jens Alfke
On Jun 17, 2015, at 12:30 PM, Ariel Feinerman arielfap...@gmail.com wrote: Why just do not use some clone of Smalltalk for Mac OS X before inventing new language? Maybe because it wouldn’t achieve any of Apple’s stated goals, like high performance and type-safety? I used Smalltalk-80

Re: Scary Stuff!

2015-06-17 Thread Jens Alfke
As usual, don’t put too much weight into the bite-size digests from the press, especially the Register, which has a track record of sensationalism. Unfortunately the actual truth is fairly bad. I recommend reading the paper: https://drive.google.com/file/d/0BxxXk1d3yyuZOFlsdkNMSGswSGs/view

Re: Language options: Objective-C, Swift, C or C++?

2015-06-17 Thread Ariel Feinerman
Why just do not use some clone of Smalltalk for Mac OS X before inventing new language? On Wed, Jun 17, 2015 at 11:16 AM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 17, 2015, at 00:56 , Graham Cox graham@bigpond.com wrote: To me this is actually a good thing that

Re: Why doesn't my Swift method get called.

2015-06-17 Thread James Cicenia
Hmm, I had a bad UIImage(named: menu-new”) should have been menu-news as an array element in the parameter. On Jun 17, 2015, at 9:09 AM, Dave d...@looktowindward.com wrote: What happens when you put a breakpoint in the method, rather then trying to step into it? On 17 Jun 2015, at

Re: Language options: Objective-C, Swift, C or C++?

2015-06-17 Thread Scott Ribe
On Jun 17, 2015, at 2:04 PM, Jens Alfke j...@mooseyard.com wrote: Guys, talking about Swift vs. Obj-C/C/C++ has a slight amount of use, but if we start dragging everyone’s pet language into the fray (Algol? Burroughs B5000 assembly?) Dylan, dammit ;-) -- Scott Ribe

Re: Scary Stuff!

2015-06-17 Thread Britt Durbrow
I’ve skimmed the paper; and it seems to me that there is no API/system-level solution possible. I’m not familiar with the Keychain API; owing to not having needed to use it, but it seems to me that a best practices approach can solve that issue: check that the keychain item’s properties (ACL

Re: Scary Stuff!

2015-06-17 Thread Doug Hill
On Jun 17, 2015, at 2:07 PM, Jens Alfke j...@mooseyard.com wrote: On Jun 17, 2015, at 1:17 PM, Doug Hill cocoa...@breaqz.com mailto:cocoa...@breaqz.com wrote: For most of the security problems, you could rewrite your app to opt-out of the insecure APIs, system services, etc. and use

Re: Scary Stuff!

2015-06-17 Thread Michael David Crawford
I was a Debug Meister for Apple in the mid-90s. It was fascinating work but I applied for an internal transfer because I had the sense that my work would never be finished. That is, we will never run out of bugs. It gets me down sometimes. Michael David Crawford, Consulting Software Engineer

Re: Scary Stuff!

2015-06-17 Thread Jens Alfke
On Jun 17, 2015, at 1:17 PM, Doug Hill cocoa...@breaqz.com wrote: For most of the security problems, you could rewrite your app to opt-out of the insecure APIs, system services, etc. and use your own implementation. (see Google Chrome not storing passwords in the Keychain anymore) Does

Re: recycleURLs with authorization

2015-06-17 Thread sqwarqDev
Thanks Sean That's certainly interesting, but seems like overkill in my case. SMJobBless seems to be addressing a bigger problem - how to let an app run privileged tasks without authorizing the entire app and without repeatedly asking the user for a password. That's not quite what I want. I

Re: recycleURLs with authorization

2015-06-17 Thread Sean McBride
On Thu, 18 Jun 2015 08:16:48 +0700, sqwarqDev said: Hi list I'm trying to move some files to the trash with my app, but I need OS X to throw an authentication dialog when the requested file needs permission to be moved. I need a solution that will work from 10.6 onwards, so I've been looking

[OT] We also appeared in Product Hunt

2015-06-17 Thread Sal Conigliaro
We also made it onto Product Hunt! http://www.producthunt.com/tech/fresh-air-2 It's an app for the Watch and iPhone that provides real-time air quality info from the U.S. EPA -- Sal Conigliaro, e design http://www.erinedesign.com @sconig ___

recycleURLs with authorization

2015-06-17 Thread sqwarqDev
Hi list I'm trying to move some files to the trash with my app, but I need OS X to throw an authentication dialog when the requested file needs permission to be moved. I need a solution that will work from 10.6 onwards, so I've been looking at NSWorkspace's recycleURLs rather than

Re: [OT] We appeared in Product Hunt

2015-06-17 Thread Maxthon Chan
Congratulations bro :) Max On Jun 18, 2015, at 00:34, Juanjo Conti jjco...@carouselapps.com wrote: Hey! Today we appeared in Product Hunt http://www.producthunt.com/tech/screensaver-ninja Yesterday we lunched our 1.0 version for Mac OS X. Thanks for all the support in this mailing list!

Re: access modifiers in protocols

2015-06-17 Thread Quincey Morris
On Jun 16, 2015, at 22:37 , Roland King r...@rols.org wrote: No - can’t have a stored property in an extension (Someone just asked basically the same question in the dev forums, but with a different example. Was that you?) The following compiles for me without error: public protocol Foo {

Scary Stuff!

2015-06-17 Thread Dave
Hi, Has everyone seen this? http://www.theregister.co.uk/2015/06/17/apple_hosed_boffins_drop_0day_mac_ios_research_blitzkrieg/ http://www.theregister.co.uk/2015/06/17/apple_hosed_boffins_drop_0day_mac_ios_research_blitzkrieg/ Scares the living daylights out of me! Cheers Dave

Re: Language options: Objective-C, Swift, C or C++?

2015-06-17 Thread Quincey Morris
On Jun 17, 2015, at 00:56 , Graham Cox graham@bigpond.com wrote: To me this is actually a good thing that I’ll be sorry to see go away in Swift. With a separate header that only contains the public stuff, I can see at a glance what a class does without being overwhelmed by its

Re: Language options: Objective-C, Swift, C or C++?

2015-06-17 Thread Graham Cox
On 13 Jun 2015, at 1:31 pm, Quincey Morris quinceymor...@rivergatesoftware.com wrote: One of the biggest old-school reason is source duplication. You have to write everything “twice”, once in @interface, once in @implementation. This has been mitigated somewhat over the years, but Obj-C

Re: access modifiers in protocols

2015-06-17 Thread Roland King
On 17 Jun 2015, at 14:12, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Jun 16, 2015, at 22:37 , Roland King r...@rols.org mailto:r...@rols.org wrote: No - can’t have a stored property in an extension (Someone just asked basically the same question in the dev forums,

Re: Scary Stuff!

2015-06-17 Thread Torsten Curdt
Wow - and not fixed in those 6 months. That does not sound good. ___ 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(at)lists.apple.com

Why doesn't my Swift method get called.

2015-06-17 Thread James Cicenia
I added a swift file to my project. I wanted to use an open source sidebar. I have checked my targets, etc. Xcode compiles, builds and runs my code without a problem. But when I debug it, it just goes over and never into the method. Why would it do that? It builds and compiles, and even if I

Re: Scary Stuff!

2015-06-17 Thread Dave
On 17 Jun 2015, at 09:44, Torsten Curdt tcu...@vafer.org wrote: Wow - and not fixed in those 6 months. That does not sound good. That’s the scariest part! I thought that Apple might have made an announcement about it after the article appeared on The Register, but not seen anything yet!

Re: Why doesn't my Swift method get called.

2015-06-17 Thread Dave
What happens when you put a breakpoint in the method, rather then trying to step into it? On 17 Jun 2015, at 14:47, James Cicenia ja...@jimijon.com wrote: I added a swift file to my project. I wanted to use an open source sidebar. I have checked my targets, etc. Xcode compiles, builds

[OT] We appeared in Product Hunt

2015-06-17 Thread Juanjo Conti
Hey! Today we appeared in Product Hunt http://www.producthunt.com/tech/screensaver-ninja Yesterday we lunched our 1.0 version for Mac OS X. Thanks for all the support in this mailing list! -- Juanjo Conti jjconti http://goog_2023646312@carouselapps.com jjco...@carouselapps.com Software