Data dodania Pytanie
2017-11-25 01:11 sqlite3_open works in swift playground not swift app »
when I run the following code in swift playground it returned success. When I copied it to my Xcode project it returned failure. I figure it has som...
(1) odpowiedzi
2017-11-18 12:11 Newbie - Javascript code on a mac to control Chrome »
I've been learning javascript looking through through openstack and need a little guidance, I've written the below code to open a website in chrome (m...
(2) odpowiedzi
2017-11-18 04:11 Aladdin eToken smartcard not showing on keychain access app - OSX High sierra »
I am having Aladdin eToken smart card and installed TokenD using OpenSC package for Mac.But inserted smart card certificate is not showing the in Keyc...
(0) odpowiedzi
2017-11-10 18:11 How to install JRuby-9.1.13.0 with Java 9? »
I'm trying to install JRuby-9.1.13.0 with rbenv on MacOS. The issue is that for some reason still Java 7 (1.7) is required, which no longer officially...
(0) odpowiedzi
2017-11-07 08:11 Activate a window using its Window ID »
How would I programmatically activate i.e move-to-front-and-focus a window on macOS (not belonging to my app) given its Window ID. My app would run wi...
(1) odpowiedzi
2017-11-05 06:11 Creating a pixel buffer Objective-C »
I want to create an NSOpenGLPixelBuffer for offscreen rendering. For now, I'm even unable to init it. Here's the code: NSOpenGLPixelFormatAttribute a...
(2) odpowiedzi
2017-11-05 02:11 Control key in web browser on Mac »
I don't have a Mac, but I have seen its keyboard on pictures and there is a Control key. However the strange thing to me is that on most keyboards sho...
(1) odpowiedzi
2017-11-01 11:11 WDIO Automation. Spec symbols are missed in set text after update chrome browser »
After update chrome browser to the Version 62.0.3202.75 (Official Build) (64-bit) spec symbols are missed in set text and browser settings page is ope...
(1) odpowiedzi
2017-10-26 08:10 MacOS - Get running apps ordered by most recently used first »
Using Swift (or objective-C) I want to get the list of apps currently running on the macOS, in order of recent usage. That would be the order in which...
(1) odpowiedzi
2017-10-17 21:10 What's happening behind the scenes in XCTest's @testable? »
I know that @testable import MyModule gives ability to explore non-public members of MyModule from a "test" (built with "testTarget") module MyMod...
(1) odpowiedzi
2017-10-17 19:10 Haskell first steps compile error »
I've just installed Haskell platform full with the installer from here https://www.haskell.org/platform/mac.html Now, as the noob I am, i created a ...
(1) odpowiedzi
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