osx-yosemite

In OS X 10.10, can I implement an NSControl without an NSCell?

丶灬走出姿态 提交于 2019-12-03 03:57:44
I am learning about NSControl . I am aware that NSCell has begun its road to deprecation in OS X 10.10 Yosemite, and so I'd rather not use an API that is going away. Also, the NSControl Class Reference shows all cell accessors have been deprecated. I understand all this, but what is not as clear is what the recommended course is for people writing NSControl subclasses on 10.10. All of the Apple guides on the subject make no mention of the deprecation of NSCell . I suppose I could just do things the old way, but then I'd need to change my code when Apple advances the deprecation of NSCell to

Genymotion Error: “Unable to load VirtualBox Engine” on Yosemite. VirtualBox installed

半世苍凉 提交于 2019-12-03 03:40:22
问题 I have a Macbook Pro 13 inch with OS X Yosemite [Memory 8 GB, Graphics Intel Iris Graphics 6100 1536 MB]. I am trying to setup Genymotion as Android Emulator. I installed Oracle VirtualBox first from https://www.virtualbox.org/wiki/Downloads [VirtualBox-5.0.0-101573-OSX.dmg], and then Genymotion for personal use from Genymotion [genymotion-2.5.0.dmg]. But I get the following error - I checked all the previous answers on StackOverflow and the Google search results, and I did the following, but

Crash Jetbrains ide with Yosemite Mac osX (Webstorm, intellij)

限于喜欢 提交于 2019-12-03 03:32:51
This is a tip in reference to Yosemite ´s users (10.10). Yosemite erase 1.6 apple jdk and install 1.7, but JAVA´s IDE for example Intellij or Eclipse needs 1.6, if you haven´t reinstalled this version, your ide will crash at the beginning... after this process you can configure your ide with 1.7 version. Here the link : Apple JDK 1.6 Please do not edit your Info.plist file as it will break the application digital signature and prevent the patch updates . I was able to get phpStorm working properly again on my Mac ( Yosemite ) by installing this apple support package: Java for OS X 2014-001Java

Safari Web inspector keeps disconnecting

不想你离开。 提交于 2019-12-03 02:10:23
问题 I've Safari 8.0.6 with iOS 8.3 on my iPad, while debugging through Web Inspector on my Mac (10.10.3) , the connection keeps on disconnecting (I don't see the device name under Develop menu upon disconnection) but can resume if I quit safari followed by a relaunch then I'm able to refresh and inspect remotely again. 回答1: There are a few things to try: 1. Test on the Xcode Simulator: Open the iPhone simulator in Xcode and debug there with Safari Web Inspector. Sidenote : Maybe you need to

To open “Eclipse” you need to install the legacy Java SE 6 runtime

▼魔方 西西 提交于 2019-12-03 02:10:14
问题 Just installed a fresh version of Kepler 64bit "for Java Developers" on Yosemite, getting this error on first launch. Any thoughts on how to fix? Really do not want to downgrade my Java version! 回答1: I just encountered this in another Eclipse-based app on Yosemite and figured out (with help from the references below) how to get the app running without installing the legacy Java SE 6 JRE. Here are the steps in case it helps other devs get Eclipse working. PRECONDITIONS $ sw_vers

How to detect dark mode in Yosemite to change the status bar menu icon

前提是你 提交于 2019-12-03 02:00:03
问题 The status bar app icon has to be changed when dark mode is enabled in Yosemite. How to detect if dark mode has been enabled ? Is there any notification for the same ? Is it better to display another image or change the alpha value of existing Image ? Need inputs on which is the better way to go ?? 回答1: You should make use of template images wherever possible because they allow your UI to automatically adapt to changes made by the system (at least when there's not a bug in the system... http:

iTerm2 slide down over full screen app

蓝咒 提交于 2019-12-03 01:41:15
问题 I always have my IDE (phpStorm) in full screen mode (Yosemite). I want my iTerm2 hotkey to slide my terminal window down over the IDE, so it doesn't open up a new space for the terminal window. As once the window slides back up it leaves me on an empty space, rather than going back to phpStorm. 回答1: Attention ! See Update3 for new iTerm versions (works for 2.1.5) Original Answer This command allows iTerm to work over fullscreen apps defaults write ~/Applications/iTerm.app/Contents/Info

Unable to connect to postgresql database after upgrading to Yosemite 10.10

不问归期 提交于 2019-12-03 01:09:23
After updating to Yosemite 10.10 I cannot connect to my postgresql database. I run the rails console and try and get the first user but get this error... > ➜ game_golf git:(master) ✗ rails c > Loading development environment (Rails 4.1.4) > [1] pry(main)> User.first > PG::ConnectionBad: could not connect to server: Connection refused > Is the server running on host "localhost" (::1) and accepting > TCP/IP connections on port 5432? > could not connect to server: Connection refused > Is the server running on host "localhost" (127.0.0.1) and accepting > TCP/IP connections on port 5432? > from

compiling caffe on Yosemite

隐身守侯 提交于 2019-12-03 01:05:39
I'm trying to install caffe on Yosemite, and my C is not the strongest. Here is my error: Alis-MacBook-Pro:caffe ali$ make all NVCC src/caffe/layers/absval_layer.cu /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp(27): error: expected a ";" /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp(29): error: inline specifier allowed on function declarations only /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp(29): error: incomplete type is not allowed /usr/local/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp(29): error: identifier

Undefined symbols for architecture x86_64: for caffe build

旧街凉风 提交于 2019-12-03 00:26:51
I got this error for caffe build. How can I fix it? I'm using Mac OSX Yosemite 10.10.1. CONSOLE LOG Machida-no-MacBook-Air:caffe machidahiroaki$ /usr/bin/clang++ -shared -o .build_release/lib/libcaffe.so .build_release/src/caffe/proto/caffe.pb.o .build_release/src/caffe/proto/caffe_pretty_print.pb.o .build_release/src/caffe/blob.o .build_release/src/caffe/common.o .build_release/src/caffe/data_transformer.o .build_release/src/caffe/dataset_factory.o .build_release/src/caffe/internal_thread.o .build_release/src/caffe/layer_factory.o .build_release/src/caffe/layers/absval_layer.o .build_release