Data dodania Pytanie
2017-10-12 23:10 How to compile objective C code on mac terminal involving AVCapture »
I'm a beginner in objective C and need to compile a program in the mac terminal which includes AVCapture that captures images from two webcam. The cod...
(1) odpowiedzi
2017-10-10 17:10 How to change Ruby version for Homebrew in macOS in Travis CI? »
Trying to run if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi in before_install, I end up with /usr/local/Homebrew/Library/Home...
(2) odpowiedzi
2017-10-06 15:10 ~./zshrc : command not found: $ »
I'm currently going through Django tutorials on ProjectDjango.com. However I'm stuck on the very first bit! I'm told to enter the following into the...
(3) odpowiedzi
2017-10-01 10:10 Rails : how to use Jruby instead of the native Ruby on MacOs »
I am trying to use Jruby in mac. I see that there is Ruby already installed in usr/bin I like to use my custom jruby rather than the default ruby ins...
(0) odpowiedzi
2017-09-29 17:09 Matching AppKit and SpriteKit colors »
I am building a small utility app for macOS that combines SpriteKit with AppKit. Specifically, I am using an SKView as the "background" for the app wi...
(0) odpowiedzi
2017-09-28 19:09 How get the time when i call NSLog in format string and further to use this time? »
How get the time when i call NSLog in format string and further to use this time? I need time to microseconds? 2017-09-28 20:19:39.383263+0300 NIR[56...
(1) odpowiedzi
2017-09-27 11:09 ARC doesn't work in Objective-C++ »
I've got a c++ function that gets a std::map object and convert it to CFMutableDisctionryRef in order to use it on method CFNotificationCenterPostNoti...
(2) odpowiedzi
2017-09-26 14:09 AVCaptureDevice doesnt find any device »
This line of code is the problem I got today (macOS app): NSArray *devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]; After I updat...
(0) odpowiedzi
2017-09-25 15:09 JRuby download for Mac - where is the image file to install? »
I just downloaded this version from http://jruby.org/files/downloads/9.1.5.0/index.html Apple novice but how do i then install it? What file do i u...
(0) odpowiedzi
2017-09-24 11:09 Add pointer to defined Objective-C class in .h file of Objective-C++ »
Is possible to create class in Objective-C++ which has field that is a pointer to an Objective-C interface ( inside the .h file ) ? To clarify a litt...
(1) odpowiedzi
2017-09-24 04:09 Jruby 1.7.4 installation with rvm is failing for Mac 10.12 »
I am setting up environment for rails project which support 1.7.4. I am using rvm and hence proceeded with installing Jruby 1.7.4 on Mac 10.12.6 (Macb...
(0) odpowiedzi
2017-09-19 15:09 How to use/test NSProgress userInfo changes of a child NSProgress instance »
I'm implementing NSProgress support in a library, and I wrote some unit tests to test that everything's working correctly. While ideally I'd like to b...
(2) odpowiedzi
2017-09-18 15:09 Plugin Framework in Office for Outlook on Mac »
In windows, ms-office has the functionality of Installed Addins, wherein people can extend functionality of office. is there any such framwork for add...
(2) odpowiedzi
2017-09-17 13:09 Cocoa app, how to show the badge label when app isn't running? »
I've noticed the Spark mail app manages to show a badge count even when the app isn't running. The app is a mac app store app so it must not be using ...
(1) odpowiedzi
2017-09-17 06:09 How should i fix npm run deps/dev not working after removing package.json »
i removed ~/package.json and now i tried to install this SwitchyOmega. the first steps works fine # Install node and npm first (make sure npm --versi...
(1) odpowiedzi
2017-09-15 03:09 sbt corrupts terminal display »
This is a head scratcher for me; I'm on Mac OS 10.11.6 and I recently started using sbt for scala. I'm running into the situation that every time I r...
(1) odpowiedzi
2017-09-11 11:09 Get NSTextFieldCell value using AppleScript »
I am trying to automate a few tasks where I need to get the text displayed on a dialog box (the 6 digit code). Accessibility Inspector revealed the...
(2) odpowiedzi
2017-09-03 20:09 swift calculate distance between two locations »
I would like to get the distance between two locations. I tried this code: func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation)...
(2) odpowiedzi
2017-08-28 12:08 How to create card views that fit to content parent size when reorder »
Any idea to make this behavior on macOS app? For example, if I move the card 4 to position of the card 1, card 1, 2 and 3 should be reordered to old ...
(0) odpowiedzi
2017-08-26 17:08 TkMessageBox doesn't close after clicking OK »
I have the following code, which should open a popup window. Now, if the user click "Yes" in the popup, it should show the main program window, and ot...
(0) odpowiedzi
2017-08-23 09:08 dyld: lazy symbol binding failed: Symbol not found: _clock_gettime - in mongodb laravel »
I am using Laravel 5.4 version to implement mongodb CRUD operation using link. I am using Mac OS El Captain 10.11. I have installed mongodb.so extensi...
(2) odpowiedzi
2017-08-23 04:08 Code style showing "line is longer than allowed by code style (> 100 symbols)" »
I want to use android studio on Mac as a code editor . but when I edit C/C++ Code , always prompt dialog like : line is longer than allowed by code st...
(1) odpowiedzi
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