Data dodania Pytanie
2017-08-09 14:08 How to get the Objective-C class name corresponding to an AXUIElement? »
Apple's Accessibility Inspector tool displays the Objective-C class corresponding to the currently inspected UI Element. See NSButtonCell at the very ...
(1) odpowiedzi
2017-07-31 20:07 Trying to access the long double Math macros and the precision of long double »
First of all I am trying to access these long double macros defined on Math.h. /* Long-double versions of M_E, etc for convenience on Intel where lo...
(2) odpowiedzi
2017-07-27 16:07 Accessing a C array of blocks inside a block »
I have a C array of blocks defined like this: void (^block1)() = ^void() { doSomething1(); doSomething2(); }; void (^block2)() = ^void() { doS...
(1) odpowiedzi
2017-07-19 19:07 Run a shell command on Objective c and simultaneously get output »
Let's say I want to run curl -o http://example.com/file.zip via an Objective C app and I want to have a label or text box containing the download stat...
(1) odpowiedzi
2017-07-15 19:07 How to use MySQL-Connector-C++ in a brew environment in Sierra? »
I have been trying to test a code to connect to MySQL using C++ on a MacBook Pro, but I always get an error about boost/filename.hpp not found. I fix ...
(0) odpowiedzi
2017-07-10 13:07 NSView inconsistent render of custom fonts »
I am using a custom font along with an attributed label for my button and every so often the button seems to be rendered differently to how I expect w...
(0) odpowiedzi
2017-07-06 06:07 IOS - How to send all DNS traffic to go through the VPN configured internal DNS server? »
When VPN connection is established, DNS servers configured by ISP will be in 1st resolver list (list contains Domains and name servers). DNS servers ...
(0) odpowiedzi
2017-07-03 23:07 How to use UnsafeMutablePointer<OpaquePointer> in Swift? »
How does one use an UnsafeMutablePointer<OpaquePointer> in Swift with some Core Foundation framework? Why have an UnsafeMutablePointer<Opaqu...
(1) odpowiedzi
2017-07-03 20:07 When tapping Quartz events, what is CGEventType 0x1D (29)? »
When dealing with Quartz events I can not seem to find any documentation on what event 0x1D, 29 is and how to deal with it. I have looked here and at...
(1) odpowiedzi
2017-07-01 09:07 Creating a software patcher in mac »
I'm an IOS developer and I know objective C. I wanna to create a stand alone mac app whose sole functionality is to patch another app available in sam...
(1) odpowiedzi
2017-06-30 10:06 How to map an UnsafePointer to another type? »
I'm trying to convert an UnsafePointer<UInt16> to an UnsafePointer<Float> and so far I ended with this solution: let bufferSize = 1024 le...
(1) odpowiedzi
2017-06-27 12:06 Get macOS default browser name - LSCopyDefaultApplicationURLForContentType »
I am developing a macOS application in Xcode. One of the things I need to do, is to open URL's the system detault web browser. I have an alert that po...
(2) odpowiedzi
2017-06-25 18:06 How to create a scroll wheel event that scrolls diagonally? »
The docs are really stingy regarding this but from the info I gathered online, the wheelCount should be 1 for Y-only, 2 for Y-X, 3 for Y-X-Z. To my ...
(0) odpowiedzi
2017-06-23 11:06 Getting "cannot load Java class org.sikuli.script.Keys" while trying to run cucumber test using sikuli »
I'm trying to set up testing environment using sikuli+jruby+cucumber. So I've installed latest JDK, Sikulix 1.1.1 , and latest JRuby, set up the cucum...
(0) odpowiedzi
2017-06-09 09:06 Permanently change HTML element »
I'm browsing a website a few time a day, and one button is disabled, I have to manually enable it from developer menu / Element <div class="actio...
(2) odpowiedzi
2017-06-02 00:06 Why are MAC_OS_X_VERSION_MIN_REQUIRED and MAC_OS_X_VERSION_MAX_ALLOWED no longer being honored after upgrading to macOS Sierra/Xcode 8? »
My libui project must both compile on and target OS X 10.8 and newer, so I have #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_8 #define M...
(2) odpowiedzi
2017-06-01 19:06 postgres is running, but I am not able to uninstall it »
So I originally downloaded PostgreSQL 9.4.10-1. The problem is I am trying to use Vagrant and Virtual Box, however Vagrant defaults to using port 5432...
(0) odpowiedzi
2017-05-26 15:05 Why is macOS system printing quicker than Chrome or lpr? »
I noticed that printing the exact same pdf file to the exact same printer does not always take the same amount of time: Printing from macOS preview'...
(1) odpowiedzi
2017-05-23 17:05 CSS Card Effect: Back face not showing on top of parent background »
I have an element with a black background color and 2 child elements with different background colors. They are set up to flip like a card, showing th...
(1) odpowiedzi
2017-05-23 04:05 NSTextField setBackgroundColor makes both fields the latter color setting? »
2 TextFields are created to be 2 different backgrounds. But both are colored "yellow" instead of "blue" and "yellow" ? In fact, if I switch the 2 ite...
(0) odpowiedzi
2017-05-17 18:05 macOS Swift: How to properly add application as Login Item »
I have spend about 1 day (maybe a little more) on trying to add my application to Login Item in order it start up at macOS launch (user login). Fir...
(2) odpowiedzi
2017-05-16 15:05 Chrome OSX SSL This certificate has an invalid issuer »
I am getting an 'invalid issuer' error when trying to access a local site. As can be seen in the screenshot, the root CA certificate has been imported...
(0) odpowiedzi
2017-05-14 23:05 github not accessible on a browser from mac »
For some reason I can get to every site on the internet (practially it seems) from a browser EXCEPT for git hub using a web browser! I've tried in chr...
(0) odpowiedzi
2017-05-06 08:05 PasteboardResolvePromises API change: Porting from SDK MacOSX 10.11 to 10.12 »
After porting my code from MacOSX10.11 SDK to MacOSX10.12 SDK, I am getting following error: Null passed to a callee that requires a non-null argu...
(0) odpowiedzi
2017-05-03 23:05 Huge OpenGL performance difference in Linux versus macOS, same hardware »
I'm building an OpenGL application. The only inconvenient thing it does with OpenGL is that it uses a few (5 or more) rather large (2000x2000 and larg...
(2) odpowiedzi
2017-05-01 20:05 Storing and accessing object array in dictionary - Swift 3 - macOS »
So I'm not 100% sure if this is even the right way about this but I have a class that stores a few variables, I then have an array that stores theses ...
(2) odpowiedzi
2017-04-30 21:04 OS X / iOS & TCP: Why CFSocketSendData crashes application if called after connection is reset? »
I using client code similar to this: #import <CoreFoundation/CFSocket.h> #include <sys/socket.h> #include <netinet/in.h> void rece...
(1) odpowiedzi
2017-04-28 16:04 dlopen() dynamic library for iOS Simulator, in macOS application »
I have a "fat" framework built for iOS, which is being used in a debugging tool built for macOS. Previously I was linking this framework statically, w...
(1) odpowiedzi
2017-04-26 11:04 Ruby strftime '%Z' method returns '0545' instead of 'NPT' »
After upgrading my MacOS to latest version, I am having some weird issue with the Time#strftime method. Time.now.in_time_zone("Kathmandu").strftime("...
(1) odpowiedzi
2017-04-22 10:04 Enable Transfer Acceleration for AWS SDK for macos »
Disclaimer: I posted this originally on Code Review but as the code does not currently work I was suggested to post at SO instead. I have converted ...
(0) odpowiedzi
2017-04-22 04:04 macOS Server 5.3 Calendar pg_ctl not starting »
After updating macOS Server to 5.3 (running on macOS 10.12.4) my Calendar & Contacts have stopped syncing. It seems that it's having trouble star...
(0) odpowiedzi
2017-04-18 19:04 MDQueryGetResultAtIndex and UnsafeRawPointer in Swift 3 »
I'm having trouble exploring the results of a Spotlight search in Swift 3 using MDQuery. I expect MDQueryGetResultAtIndex to yield an MDItem, and in C...
(1) odpowiedzi
2017-04-18 19:04 How to compile Swift from command line for distribution »
I have a single file Swift command line script (it dumps the contents of the menu bar given a process id). To give an idea of the APIs I am using, he...
(1) odpowiedzi
2017-04-14 09:04 Firebase Notification Integration on cocoa os x application »
I am currently doing a R & d to add firebase to mac os x application. I found a pod 'FirebaseOSX' and install it, but i can't find how to integra...
(1) odpowiedzi
2017-04-12 07:04 NEVPNManager in OSX 10.11 - how to set up IKEV2 VPN connection »
I want to create (Xcode 8.2, OSX 10.11) a IKEV2 VPN Connection with NEVPNManager. // setup protocol NEVPNProtocolIKEv2 *p = [[NEVPNProtocolIKEv2 all...
(0) odpowiedzi