Re: Image data from pasteboard?

2016-02-21 Thread Ken Thomases
On Feb 21, 2016, at 6:47 PM, Graham Cox wrote: > > So is there a way, given that if +canInitWithPasteboard: returns YES, to get > the (NS)data off the pasteboard in whatever format it’s in, knowing that it’s > good for making an image? You can use [NSImage

UI to allow user to scale and crop image within a circle

2016-02-21 Thread Charles Jenkins
I’m trying to do something that’s so simple, conceptually, that I’m sure there’s a demo program for it, if only I could find the right Google search to locate it. I want to allow iOS users to select an image (either from the camera roll or by taking a photo) and display it in a CIRCLE for

Image data from pasteboard?

2016-02-21 Thread Graham Cox
Hi all, I can use +[NSImage canInitWithPasteboard:], and then +[NSImage imageWithPasteboard:] to make an NSImage object. But I’d like to get the actual original image data from the pasteboard, knowing that the data is good to make an NSImage. The reason is so that when pasting an image, I

Re: How to bind OS-X UI to display the App Bundle "CFShortVersionString" value?

2016-02-21 Thread Ken Thomases
On Feb 21, 2016, at 2:30 PM, Motti Shneor wrote: > > I simply want an NSTextField (Label) in one of my windows, to display the > “short version string” which is in the App Bundle’s info-plist, at the > “CFShortVersionString”. I hoped to do this via binding in my .xib -

How to bind OS-X UI to display the App Bundle "CFShortVersionString" value?

2016-02-21 Thread Motti Shneor
Hello, and excuse this novice question. I really googled around, and even re-briefed Cocoa Binding docs and so on - but something eludes here - I want something very simple, yet all the methods I can think of are quite cumbersome and indirect. I simply want an NSTextField (Label) in one of my

Re: calendar & repeating events api

2016-02-21 Thread Eric Gorr
> On Feb 16, 2016, at 9:52 PM, Greg Parker wrote: > > >> On Feb 16, 2016, at 6:34 PM, Eric Gorr wrote: >> >> When setting up a repeating event in Apple’s Calendar application, there is >> a lot of flexibility. For example, I can specify that an event

Remote files

2016-02-21 Thread Jan E. Schotsman
Hello, I would like to implement something similar to AVAssetReferenceRestrictions. One case is AVAssetReferenceRestrictionForbidCrossSiteReference where references of a remote file to a remote file are not allowed. This means that the referencing file and the referenced file are remote