osx-yosemite

Xcode & Swift - Window without title bar but with close, minimize and resize buttons

﹥>﹥吖頭↗ 提交于 2019-11-29 18:49:37
I am currently using Swift in Xcode 6, Beta 5. I am trying to remove the title bar, or any visible difference between the title bar and the actual content. If I enable "Unified title and toolbar" in the Attributes Inspector on a Window, nothing visibly happens. I have already left the title out. When no title is entered, the title bar will still be distinguishable because of the border line and background difference with the rest of the window, separating it from the actual content. An excellent example would be the current Yosemite, OS X 10.10, Notes app. No title bar is visible or

How to install mod_perl 2.0.9 in Apache 2.4 on OS X Yosemite?

瘦欲@ 提交于 2019-11-29 17:49:22
问题 With the release of OS X 10.10 Yosemite, Apple upgraded its Apache server to version 2.4. At release time, mod_perl 2.0.8 was incompatible with Apache 2.4, and mod_perl 2.0.9 had not yet been officially released (more info). So, Apache was included without mod_perl. I work locally on a web site using perl and need to install mod_perl. I'm an experienced programmer, but I have never done anything like this before and have only my main machine to work on. I don't mind spending some time to

Troubleshooting SSL certificates, Ruby, Mac OS X Yosemite

左心房为你撑大大i 提交于 2019-11-29 17:28:21
On OS X Mavericks, I am getting the following error from my Ruby programs when I try to connect to various APIs: Seahorse::Client::NetworkingError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed What is the recommended solution to this? In my case the problem was the following: Ruby installed as a binary with RVM assumed OpenSSL is in /etc/openssl OpenSSL had been installed with Homebrew to /usr/local/etc/openssl => Mismatch; and symlinking /etc/openssl -> /usr/local/etc/openssl did not help. Compile RVM Ruby from sources: rvm install VERSION -

iOS Devices do not show up on Xcode 6.1.1 - until after rebooting the Mac

跟風遠走 提交于 2019-11-29 13:36:45
问题 Since updating to Xcode 6.1 all of my iOS devices will not be recognized by the Mac after a period of time. It used to be every couple of days, but now it is happening several times a day. The only remedy is to reboot the Mac. This is completely unacceptable and counter to any UNIX based OS. I have run this same Mac for months before installing Yosemite, without issue. The only clue is in the System logs: 12/22/14 8:42:53.681 PM Xcode[385]: AMDeviceConnect (thread 0x128e11000): Could not

NetLogo R Extension Installation Error in Mac OS X Yosemite

帅比萌擦擦* 提交于 2019-11-29 12:12:53
I am having problems installing the R extension for NetLogo. I'm using NetLogo 5.05 and version 1.3 of the extension, which is supposed to work with R version 3.0 or higher. My version of R is 3.1.2. Following the instructions from this page , I have changed the .plist file within the NetLogo app so that it points to jri and to my R installation: <key>NSJavaRoot</key> <string>..</string> <key>LSEnvironment</key> <dict> <key>JRI_HOME</key> <string>/Library/Frameworks/R.framework/Resources/library/rJava/jri</string> <key>R_HOME</key> <string>/Library/Frameworks/R.framework/Resources</string> <

Backward compatibility of Xcode OSX

喜欢而已 提交于 2019-11-29 11:47:28
How to use features such as viewDidLoad or appDidBecomeActive in Xcode 4.6.1 for OSX 10.8, which are available only for OSX 10.10 and above. Please suggest the alternative ways to use these functions. To expand on Ken Thomas's comment; this is the code that I use: - (void)loadView { [super loadView]; // if we're running on 10.8 or older… if (NSAppKitVersionNumber <= NSAppKitVersionNumber10_8) { [self viewDidLoad]; // call viewDidLoad (added in 10.9) } } // // This will be called by loadView pre-10.9; directly otherwise // - (void)viewDidLoad { // --- YOUR CODE HERE --- } // viewDidLoad I'd

Using Image Editing extensions on Yosemite in own app

走远了吗. 提交于 2019-11-29 11:39:01
问题 In my OS X app, I want to let the user edit images with the appropriate action extensions installed on his/her Mac, e.g the image markup extension as present in Mail.app or TextEdit (for RTFD files with images) - or Pixelmator's repair tool if available. As far as I can recall, Apple announces at WWDC '14 there would be a public API for this task. Unfortunately I cannot find any starting point on how to use extensions from a host app perspective, neither documentation- nor sample-code-wise. I

How can the context menu in WKWebView on the Mac be modified or overridden?

北城余情 提交于 2019-11-29 11:26:23
问题 I'm using a WKWebView in a Mac OS X application. I want to override the contextual menu that appears when the user Control + clicks or right clicks in the WKWebView , but I cannot find a way to accomplish this. It should be noted that the context menu changes depending on the state of the WKWebView and what element is under the mouse when the context menu is invoked. For example, the context menu only has a single "Reload" item when the mouse is over an "empty" part of the content, whereas

Eclipse: The specified JRE installation does not exist

蹲街弑〆低调 提交于 2019-11-29 11:25:25
问题 I used to have Eclipse configured well and work fine before. But I just uninstalled it and installed Eclipse Juno again on my Mac OS 10.10 today. But I kept getting this error: "The specified JRE does not exist." I know it's a pretty simple and commonly seen problem, I just needed to install JRE and/or JDK into this clean Eclipse, however things didn't get work out. And I've searched extensively on Stack Overflow: The posts I've looked at including: How to install JRE 1.7 on Mac OS X and use

yosemite svn 1.6.6 segmentation fault

淺唱寂寞╮ 提交于 2019-11-29 10:57:46
svn stopped working in my Mac after upgrade to Yosemite. I know there is a very similar question with no answer, Segmentation fault: 11 in SVN checkout , however I've spent pretty much the whole day with this and I'm adding more information on the issue. I'm hoping somebody maybe somebody can help... I'm really stuck. I cannot upgrade svn and I'm planning to go back to Mavericks. The error I get: svn update Segmentation fault: 11 I was already working with svn from a binary I compiled myself (although not so familiar with C). There was some months ago an update of Xcode that removed the old