| Thread | Last Post | Replies |
|
| Standard include path for compiling c++ code on os X. | 18 Aug 2005 09:35 GMT | 3 |
I am using os X 10.3.9 with gcc version 3.3. I am trying to compile a small code that I have written. This code uses a library written in c, called lp_solve. The header file "lp_lib.h" for this library has the following piece of code:
|
| MacOS questions: Porting game from Windows, striving for nativity | 17 Aug 2005 17:58 GMT | 5 |
In porting a Windows game to MacOS, I've noticed that there is a number of ways to do the same things. Ultimately, I want to end up using native methods whereever possible. My build environment is Scons and GCC, not Xcode. Answers to one or
|
| "when to release" confusion | 17 Aug 2005 01:25 GMT | 2 |
I asked about this a few days ago, and I thought the general answer was that if I get an object as the return value of a function, it has already been autoreleased and I don't have to release it myself. However, the following code (which is from an email I posted earlier today ...
|
| small compile warning, not sure why | 16 Aug 2005 19:09 GMT | 1 |
I took this code verbatim out of the CFPreferences docs: int dropMethod = 0; CFStringRef dropMethodKey = CFSTR("dropMethod"); CFNumberRef dropMethodVal = CFPreferencesCopyAppValue(dropMethodKey,
|
| 3-d models and file formats | 16 Aug 2005 17:03 GMT | 10 |
For a program I'm writing, I want to show a 3-D model of an airplane changing in roll, pitch, yaw, position, etc. I assume that the way to do this is to grab a 3-D model of an aircraft off the web, in a standard file format, use a simple OpenGL call to
|
| reading 10 bit uncompressed 4:2:2 QuickTimes? | 16 Aug 2005 09:54 GMT | 1 |
How is it possible to read QT movies compressed with 10 bit and 16 bit (PER CHANNEL) codecs? The only code I have found to read QT movies uses 32-bit GWorlds. I tried creating a 64-bit GWorld (on QT for Windows) and it failed.
|
| Obtaining textfield within a window | 14 Aug 2005 17:02 GMT | 8 |
Assuming I have a pointer to an NSPanel, say, can I obtain pointers to its NSTextField objects? I realize that one way to do this is make a class in IB, create outlets for each textfield I'm interested in, and control-click-drag to connect the class to the textfields.
|
| Can TCPA affect Mac developers? | 14 Aug 2005 10:36 GMT | 3 |
I'm wondering if TCPA in Macs could affect the development of freeware/shareware, or other developers with a low budget. All of we have been hearing many apocalyptic rumours of how TCPA can affect the future of users (and even more after the rumour that Apple
|
| how to unselect all textfields | 14 Aug 2005 07:33 GMT | 1 |
I have a panel with a bunch of text fields (names and scores in a high scores list). If the user gets a high score, I make its corresponding player name textfield selectable, editable, bezeled, and finally call selectText on it. Seems to work. These settings seem to be ...
|
| CFDictionaryGetValue and CFRelease | 14 Aug 2005 03:32 GMT | 18 |
After you get a CF object from CFDictionaryGetValue(), are you _NOT_ supposed to call CFRelease() on the item retrieved? I had in my code: cfStringRef = CFDictionaryGetValue(thePropertyListRef, CFSTR("test"));
|
| Erasing NSView at startup | 14 Aug 2005 01:12 GMT | 4 |
I have a subclassed NSView that I paint black for a Tetris background. Works fine. However, I don't start the game at launch. I wait for a New Game menu command. That triggers a game init that erases the NSView and starts the game. Works fine.
|
| Creating a CGI with Xcode | 14 Aug 2005 00:57 GMT | 2 |
Where might I find an example of building a Mac OS X CGI with Xcode that would work with Apache? Thanks in advance. Jonathan Hoyle
|
| XCode and location of info.plist file | 14 Aug 2005 00:53 GMT | 3 |
I'm using XCode 2.1 and I want to have the project's info.plist file be in a subfolder of the project (the subfolder is called Resources). So, in other words, I have: /Volumes/MacHD/MyProject/MyProject.xcodeproj
|
| NSXMLParser; getting the content of elements | 13 Aug 2005 22:29 GMT | 5 |
Hi folks. I am building a class that imports a filemaker database into a core data database. I managed to get a "hand-taylored" xml from filemaker, in order to match the core data entity fields. I am trying to use the NSXMLParser class; I considered using XML Tree
|
| reading NSTextField value | 13 Aug 2005 20:34 GMT | 2 |
I know how to set an NSTextField value using any of the easily found set functions in NSControl. I can't find any methods for reading their values. Seems like an obvious command, but I don't see it in NSTextField, NSControl, or NSResponder. I think it might have something to ...
|