Another solution: use Objective-C.
It will also allow your screen saver to be compatible with older OS X
releases (10.8 if you are using ARC).
On Fri, Jul 24, 2015 at 7:13 PM, Juanjo Conti wrote:
> I wonder why the second line doesn't' compile
>
> var screens = NSScreen.screens() as! [
Can someone please provide an example of how to call
CMFormatDescriptionEqual?
For example:
var fd1:CMFormatDescription
var fd2:CMFormatDescription
if CMFormatDescriptionEqual( desc1:fd1, desc2:fd2 ) {}
"Cannot invoke CMFormatDescriptionEqual with an argument list of type
(desc1: CMFormatDe
On Jul 25, 2015, at 9:10 PM, Marco S Hyman wrote:
The declaration for CMFormatDescriptionEqual is
func CMFormatDescriptionEqual(_ ffd1: CMFormatDescription!,
_ ffd2: CMFormatDescription!) -> Boolean
so I’d think this should work (but untested)
if CMFormatDescripto
Hi All
I would like to have my application build mostly around WKWebView, with
computationally hard bits (lots of CoreAudio) done in c (well, mix of Swift, C
and ObjC)
However, I am not able to load files from the local file system
let url : NSURL = NSURL(fileURLWithPath: "/Users//main
The path in your example (starting with /Users) isn't valid for iOS. What path
are you really using? Are you sure that it's a real path to an HTML file?
--Jens [via iPhone]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Sorry, massive omission on my part. I'm building a desktop OS X 10.10.4
application. Using the latest Xcode
On Sunday, July 26, 2015, Jens Alfke wrote:
> The path in your example (starting with /Users) isn't valid for iOS. What
> path are you really using? Are you sure that it's a real path to a