On 18 May 2016, at 12:44, Dave wrote:
> I got side-tracked with some other issues and will be taking another look at
> this on Friday and I will certainly have a good look at the available
> methods/properties of NSWorkspace, but from memory I don’t think there is a
> method that returns the cu
On 18 May 2016, at 14:25, Dave wrote:
> My curiosity got the better of me and I looked at NSWorkspace again and found
> the activeApplication but it was deprecated in 10.11, however when I looked
> for closely I found frontmostApplication which is (I think) exactly what I
> want! Thanks for the
> On 26 May 2016, at 15:43, Uli Kusterer wrote:
>
> On 18 May 2016, at 14:25, Dave wrote:
>> My curiosity got the better of me and I looked at NSWorkspace again and
>> found the activeApplication but it was deprecated in 10.11, however when I
>> looked for closely I found frontmostApplication
I'm presenting a popover from a UINavigationBar UIBarButtonItem. The point of
origin of the popover never seems to come out of the center of the
UIBarButtonItem. The code I'm using is:
@IBAction
func
shareModel(inSender: AnyObject)
{
if let model = self.model
{
let source = Model
In my master-detail UI, selecting something on the left side of the split
changes the view controller on the right (by removing the current one and
adding the new one).
Each time I do this, it resets the position of the split based on some unknown
but consistent criteria (each right-side view a
I have an OS X app (10.11.5) which has a button called AirDrop, which does:
- (IBAction)airDrop: (NSButton *)sender
{
NSArray *shareItems = list of one or more urls of pdf files
NSSharingService *service = [ NSSharingService sharingServiceNamed:
NSSharingServiceNameSendViaAirDrop
I have an OS X app (10.11.5) which has a button called AirDrop, which does:
- (IBAction)airDrop: (NSButton *)sender
{
NSArray *shareItems = list of one or more urls of pdf files
NSSharingService *service = [ NSSharingService sharingServiceNamed:
NSSharingServiceNameSendViaAirDrop