Profile Photo
I am looking for a way to apply custom fonts and colors to context menus. I was able to change UIAction text color with the appearance manager:   [[[UILabel class] appearanceWhenContainedInInstancesOfClasses:@[NSClassFromString(@"_UIContextMenuActionView")]] setTextColor:[UIColor greenColor]]; But doing the same with the font does not work for me:… (Show more)
in Cocoa Touch
Profile Photo
So, when copying a file or directory (particularly to an external drive) i've noticed there is a huge difference in performance between a sandboxed and non-sandboxed app.   When copying a directory and the app isn't sandboxed, the copy finishes in reasonably fast (like a minute..didn't time it though). When sandboxed, copying is still going… (Show more)
in Files and Storage
Profile Photo
Using the COPYFILE_EXCL flag with the copyfile function works as expected when copying files (the copy fails if a file at the destination path already exists).   But when copying a directory, if you specify this flag and the destination already exists copyfile will just copy the directory inside of the already existing directory, instead of… (Show more)
in Files and Storage
Profile Photo
Not sure if I have to do this programmatically or if there is something I should specifically use but I want to display a Progress Indicator when copying / moving files including the ability to cancel ?   Also making the copy Async.   (local hdd not web)
in Files and Storage
Profile Photo
Is there still no way to use SF symbols in an appkit app (with NSImage)?
in Cocoa
Profile Photo
Can someone explain the distinction between these two attributes: NSURLVolumeIsLocalKey and NSURLVolumeIsInternalKey?   The documentation for NSURLVolumeIsLocalKey: Key for determining whether the volume is stored on a local device, returned as a Boolean NSNumber object (read-only).   And the documentation for NSURLVolumeIsInternalKey: Key for… (Show more)
in Cocoa
Profile Photo
Greetings. With Xcode 11 .crash files can be opened in Xcode and appear as if you were in an active debug session by showing the stack in the debug pane. However, clicking on any of the symbols doesn't seem to do anything, even if I know my code is sync-ed up to the version of the app that crashed. I also surprisingly have not been able to find… (Show more)
in Debugger
Profile Photo
So I noticed when sending data using MultipeerConnectivity I'm not sure exactly how I'm supposed to distinguish between an error or a declined invitation. For example I have Device Sender & Device Receiver.   1) Device Sender sends device Receiver an invitation using MCNearbyServiceBrowser's method -invitePeer:toSession:withContext:timeout: 2)… (Show more)
in Networking
Profile Photo
In previous versions of Xcode you could preview UI in Interface Builder in another localization by doing this:   1) Open the xib. 2) Open the Assistant Editor and select Preview. Then in the bottom right corner it showed a language, which you could change.   In Xcode 11 is there a new way to do this? Or do I have to change my default language… (Show more)
in Interface Builder
Profile Photo
I am getting a new warning in XCode 9 that says "xcode 9 fixed width constraints may cause clipping". I intentionally have fixed with constraints on buttons with icons and text where I am using an icon font. In both these cases localization will not change the text thus causing clipping. Is there a way to turn this warning off? It would be nice to… (Show more)
in Xcode IDE and Editor
Profile Photo
Was wondering if there is a way to sniff the users trackpad settings for 3 finger dragging. The reason why I want to do this because I noticed a situation where NSScrollview sometimes scrolls during 3 finger dragging and swallows the 3 finger drag event.   To workaround this, I could subclass NSScrollview and block scrolling during 3 finger drag.… (Show more)
in Cocoa
Load more items