Questions tagged [cocoa]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

How do I download C++ IDE for mac?

I have a mac High Sierra, version 10.13.6. I want to install c++ IDE Eclipse on my mac, am I able to download the software for mac cocoa? Does my mac run on mac cocoa? How do I find out?
user avatar
2 votes
1 answer
1k views

install gem for older ruby 1.8 on Mac OS X 10.9 Maverics

I installed osx-trash using the answer here but got the error: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot ...
user avatar
  • 137
2 votes
2 answers
1k views

Why cocoa packet analyzer shows "capture packets to a trace file" menu?

I am trying to use 'cocoa packet analyzer'('C.P.A'). I uses mac OSX and I installed this from appstore. After installed this, when I launch this program a popup comes out. Others say that to get ...
user avatar
2 votes
1 answer
2k views

How to make my Mac screen a mirror of iPhone using AirPlay

I'm new to AirPlay. I want to find a good tutorial to learn about Airplay and its APIs and how I can use it for sharing my iPhone screen on my Mac device. What I learned: iPhone 4S+ will support ...
user avatar
2 votes
0 answers
543 views

Issues installing .pkg file on OS X

I'm having a real hard time installing an app I made for Mac. I created the package with Xcode 4.6.1 on OS X 10.8. I can run the .pkg fine on 10.8. The deployment target was set to OS X 10.7. However, ...
user avatar
1 vote
2 answers
294 views

Where does sandboxing stop?

I used Norton's iAntivirus app from the Mac App Store to scan my entire hard drive. As expected, it presented me with an Open dialog at the root of my hard drive. I clicked "Open" and let it scan. ...
user avatar
0 votes
1 answer
211 views

Block Internet Connection through cocoa

In unix (ubuntu) we have iptables command, using which we can block Internet connection for one user. I want to know if there is any cocoa, carbon API using which a user can block his Internet ...
user avatar
  • 113
0 votes
1 answer
153 views

MAC Application hangs after some time

I am working on a MAC (Cocoa) application. It is a time tracking tool. It works fine for some time, but after 40 minutes the app gets slow, timer value not changes, UI responds very late. If i try to ...
user avatar
  • 1
5 votes
1 answer
851 views

Accessing the Unix environment from emacs and Cocoa apps in OS X Mountain Lion

I use emacs on my mac, I install the Cocoa version of emacs using homebrew. One problem is that in order to see the "Unix path" I had to replicate my path from .profile to .MacOSX/environment.plist I ...
user avatar
  • 151
1 vote
1 answer
884 views

How do I tell if I've Carbon or Cocoa installed on my Mac?

I need to compile some program with either Cocoa or Carbon windowing system. I have a 10.6.8 Snow Leopard installed on a i386 (at least uname -a tells me this) system. I opened the system-profiler and ...
user avatar
  • 2,503
0 votes
0 answers
62 views

Hide Dashboard in Lion 10.7

In 10.7.2 lion, i can hide widgets by typing in the command - defaults write com.apple.dashboard mcx-disabled -boolean YES killall Dock But the above does not seem to be working on 10.7. Any idea ...
user avatar
  • 157
4 votes
2 answers
21k views

How to start SAMBA on MAC OS X from Terminal?

I am trying to enable SAMBA (SMB) from terminal. This enables AFP and File Sharing: sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist But I want enable SMB too ...
user avatar
  • 237
2 votes
1 answer
11k views

How to disable Guest Access from Terminal in Mac OS X?

I'm trying to disable Guest Account from terminal. I need the same effect like disabling System Preferences → Accounts → Guest Account → Allow guests to connect to shared folders. I think Guest ...
user avatar
  • 237
1 vote
1 answer
254 views

Have shift act as state key (like iOS keyboard?)

It occurred to me today that I could type more efficiently if the shift key on my Mac desktop keyboard behaved the same way as the iOS keyboard. When I press shift, the next character would get ...
user avatar
4 votes
2 answers
337 views

How does iTunes keep on playing music if the entire system is frozen?

I've noticed this today - my entire system froze up solid, clock is frozen, nothing responds to clicks and key presses, and my time machine animation stopped going. While repartitioning my boot drive. ...
user avatar
  • 141
1 vote
0 answers
211 views

Switch between Tabs with Applescript

I have a cocoa-applescript application whose GUI interface has 3 tabs.The identifiers for these 3 tabs are "item 1" "item 2" and "item 3" respectively. Tab1 is the default tab with a form on it. Tab ...
user avatar
  • 1,318
12 votes
3 answers
12k views

Is it possible to control the CAPS LOCK LED on OS X?

I don't use the CAPS LOCK functionality in OS X, so I disabled the key under the system preferences. Now that key is completely useless to me - ok, I could map the CMD/CTRL/ALT key to that key, but I ...
user avatar
  • 732
4 votes
2 answers
5k views

How do I set my initial window position in Cocoa emacs?

I have the following set in my .emacs file: (if (window-system) (set-frame-height (selected-frame) 60) (set-frame-position (selected-frame) 50 30)) It sets the frame height correctly but not ...
user avatar
  • 2,359
1 vote
1 answer
1k views

tutorial to use Chicken of the VNC

How can i use Chicken of the VNC(cotvnc). Please let me know if there is any tutorial for using it.
user avatar
1 vote
1 answer
489 views

How do I get my cocoa emacs on Mac OS X to load my .emacs visual customizations for new windows (any document opened after the first)?

So I just downloaded emacs 23.1 for my new snow leopard macbook pro from http://emacsformacosx.com/ and it works like a charm, except... I have visual customizations in my .emacs, a few lines are ...
user avatar
2 votes
2 answers
2k views

On OS X, how do I start Cocoa emacs *and* bring it to front?

I wrote a little zsh function to allow me to run emacs from the command-line: function emacs() { /Applications/Emacs.app/Contents/MacOS/Emacs $@ & } This works perfectly, but it seems to ...
user avatar
  • 7,692