Hi folks,
I want to create a sidebar in one of my mac applications. Basically it will look much like the Things sidebar.
Here is the picture that I basically want to recreate - http://i48.tinypic.com/c25ix.png
I can't figure out how to show the "sections" (collect, focus and active projects) and how to have certain items always show u...
Hi there,
I'm just starting out on my first 'real' cocoa app. Note that this is Mac, not iPhone.
This function is called when my async download of onemanga finishes, and is intended to parse an NSArray list of manga from it. I get a NSArray from nodesForXPath, and retain it to make sure it's mine. (Also tried retaining it twice, heh). ...
Although I have a feeling that this isn't technically possible, it's worth asking anyways. Is it possible to turn on the Macbook Pro's keyboard backlights for individual keys? I am working on a piece of grid-based software which allows the user to navigate around by pressing any key on the keyboard to position the cursor at that point ...
I cannot figure out how to do this.
All I want to do is to select some text and then change the color of that text to red, say. I've lost 20 minutes of my life trying to do this.
Typing 'font color' into help search brings up a reference to lesson 2, which doesn't even contain the word font or color. (Is TextWrangler low quality?)
How...
Hi,
I'm trying to use Growl Python binding to write a small application. One of the feature that's currently missing is the click notification sent to Python.
I know in Objective-C, when a user click the notification, it will send the trigger to the running application. I'd like to do the similar thing in Python binding. When a user c...
NOTE: user377519 (answer below) pointed me in the right direction. I've posted the 'fix' at the bottom of the questions, in case you found this and need more than a 'pointer'
I can't figure out why the second call to "gem env" doesn't have the same environment as the first?
Any pointers? This is driving me crazy!!!!
$ which gem
/usr...
So I'm using Apple's PictureSharing/PictureSharingBrowser samples to send and receive data. This uses an NSFileHandle on the server side to send a picture using NSFileHandle's writeData method.
NSFileHandle * incomingConnection = [[aNotification userInfo] objectForKey:NSFileHandleNotificationFileHandleItem];
[[aNotification object] acc...
I've been using virtualenv + pip for python development. I'm not sure what happened, but suddenly whenever I try to run a command-line tool or import libraries, I get this error message:
Traceback (most recent call last):
File "/Users/kyle/.virtualenvs/fj/bin/pip", line 4, in <module>
import pkg_resources
File "/Users/kyle/.vir...
Hi Everybody,
Has anybody compiled xalan 1.11 using ICU?
I am building it using ICU and its generating one library called libxalanMsg.111.0.dylib and its being generated using the below mentioned steps
============
/tmp/brijesh/ICU//bin/genrb -p xalanMsg -d ../../../nls/icu-i ../../../nls/icu ../../../nls/icu/en_US.txt
echo ../....
how do i exclude more that one directory in this case ... find ./dir1 -name '.git' -prune
...
I am creating custom view to add child controller like radio button,text field etc. I am sub classing NSView and overriding drawRect method to get custom drawing via NSBezierPath. but when I am clicking or focus changes for text field ,radio button. I am getting artifacts until I call setNeedsDisplay. Is there any better way to manage t...
Is there any tutorials or references, if such thing is possible, to make GUI applications out of command line apps?
What I mean is, having a command line app, wrap it into an app bundle and create a Cocoa GUI app that would have a simple interface to execute the command line app with its flags and parameters.
...
Hi,
i'm trying to get started with the iPhone development and viewing the Stanford iPhone talks from iTunes U. In the first demo they added Class Actions and Class Outlets to an Object. Since they used SDk 3.1 and I have 4.0 things differ a bit. I don't have these elements they have there. I looked but I didn't find anything similar.
H...
Hey All,
Our site seems to render smooth fonts correctly on some computers ( looking at on mac's ), but doesnt render the fonts smoothly on other's.
Only seems to happen on Safari (v 5.0), and is being tested on mac, macbook pro and desktop.
Anybody seen anything like this before?
Thanks for any suggestions, seems to be an odd bug
...
How can i change values in the binary plist under linux os?
I know i can to it under mac with defaults or PlistBuddy.
I found some perl that convert from binary to text Mac::PropertyList::ReadBinary
...
Hi all,
i shortly started Programming Mac OS X Applications with Cocoa, so its a realy New bee question. Sorry about this.
At first my code snippet:
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
Purchaser *actPurchaser = [tableViewDataArray objectAtIndex:row]...
I need to set the date and time on my Mac (Intel, Snow Leopard) to a specific date and time each time it boots. Does anyone know how I can accomplish this using AppleScript or something else?
...
I read some articles discouraging of the use of DYLD_LIBRARY_PATH, as the the path of dynamic library should be fixed using -install_name, @rpath, and @loader_path.
In terms of making a program that runs both on Linux and Mac OS X, DYLD_LIBRARY_PATH of Mac OS X does exactly what LD_LIBRARY_PATH of Linux. And, we can share (almost) the ...
I'm having some trouble with colors in interface builder and cocoa. I built out my interface in photoshop, and when i copy the RGB values from photoshop and set my UI elements in interface builder, or through code, the colors are not even close. I've messed around with setting color profiles in photoshop but can't seem to find one that m...
I have been struggling to enable autocompletion on Eclipse (mac) for Qt classes.
I added /Library/Frameworks/QtCore (and QtGui) to the C++ Path and Symbols tab on the preferences dialog but for some reason although it can find the class names it refuses to autocomplete the class methods and member attributes. Tried to use both INCLUDE an...