I want to input data into a sqlite database so that core data can read from the file but I was wandering if there's a way of populating the sqlite data via xcode or do I have to spend lots of money on an sql manager of some kind like RazorSQL to do it?
Thanx...
...
I'm trying to compile a program I've been working with on OSX 10.6
It compiles fine under 10.5 but now I get an undeclared error for something called BlockZero.
I'm not sure what this function is, what it does or where it lives.
What do I have to import to fix this?
Some Googling suggests it might be part of Carbon. Is there a particu...
Hello experts!
I have currently changed to Mac from Ubuntu and for some reason viewing xml files in Firefox differ between the two. In Ubuntu Firefox(3.5) I get a XML tree but in Mac OS(10.6) Firefox(3.6) i get plain text. To se the xml tree i need to check the source. It is the same xml file.
Could someone please explain why and how t...
Exposition:
I am writing an GLFW app on MacOSX. The app is a Mac bundle.
I want my app to run in fullscreen mode (easy, use GLFW_FULLSCREEN). Problem is .. my code is still buggy, and I do not know how to kill a full-screened app that infinite loops (i.e. if the exit(0); is not called in the program; I don't know how to force kill it)....
I'm trying to get a compile command (rake cucumber) to run with a specific ruby version on my Mac OS X system, I use rvm to do this currently in the terminal. My ~/.MacOSX/environment.plist has the correct path in it, but emacs insists on prepending to this path and therefore making it useless. I've also tried:
(when (equal system-type...
In Interface Builder.app (and some other cocoa apps), image dragging has a very nice/sexy effect of morphing the drag image while you drag a draggable item out of its window.
For example in Interface Buildler.app:
Show the Library Palette (⇧⌘L, or Tools Menu -> Library)
Drag an item out of the Library palette
NOTE: as you drag the ...
I've spent several hours over the past few days trying to get PostgreSQL to play nice with RoR on my Mac.
I've followed several tutorials using several different methods such as installing PostgreSQL manually and installing from various 1-click installers
However the all the different methods I tried failed on the last step of installi...
I am working on a cross platform library that needs to draw text using fonts into a device context. The width of the text combined with the user selected font is proving difficult to calculate.
In Windows we use BOOL GetTextExtentPoint32(HDC hdc, LPCTSTR lpString, int cbString, LPSIZE lpSize) this works without problem. On Mac OS X we u...
My standard Linux way of profiling app is:
1) compile with g++ -pg
2) run prog
3) gprof
Apparently gprof is broek on MacOSX 10.5, and I am supposed to use Shark. All the tutorials I've found aby Shark involves XCode (whereas my build is done with Makefiels and g++).
Can someone post step by step instructions for using shark on an app...
I need to write a "virtual printer driver" for OSX, so that when the user presses Command+P to open the Print dialog, he sees my virtual printer...which will be used to generate files of various types, instead of physically printing to paper.
I'm new to the subject, I looked around a bit but found nothing. Do you have any link or refere...
I haven't used Ruby for a while on my Mac. Obviously something has changed in my environment as gem is no longer working as it should.
Some info from my machine, running OSX 10.5.8:
% gem --version
0.9.0
% gem env
Rubygems Environment:
- VERSION: 0.9.0 (0.9.0)
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- GEM PATH:
...
Hello
I was reading today question on IDEs fo C++, and there are very good ones like Netbeans.
My question is about creating a software in C++ on Windows Environment, but let users install and run my software also on Linux and OSX.
Does netbeans has a compiler to do the job, or is there any good IDE which has a compiler for targeting...
I have a C++ app called ./blah (to which I have the source code)
when I run ./blah
I can run "top" and see how much memory & cpu "./blah" is using.
Now, is there anyway for "./blah" to access that information itself? I.e. when I run ./blah, I want it to every second dump out it's CPU & Memory usage. What library should I be using to d...
I need to save the contents of a pixel editor application into a .png file but I am having trouble finding the best way to accomplish this. The pixel data is stored in a 32 bit RGBA buffer. Can anyone suggest any good tools I could use to accomplish this?
EDIT:
Unfortunately, CGImage and representationUsingType: are not supported by...
I'm building a Preference Pane for an application, it's Universal (PPC/32-bit/64-bit) but when I install it on the System Preferences, i'm forced to run it on 32-bit. Any idea why and how to solve it?
if i run file FILE_PATH i get:
FILE_PATH: Mach-O universal binary with 3 architectures
FILE_PATH (for architecture x86_64): Mach-O 64...
I know the UUID of a volume - as found in Disk Utility.
How can I get additional information on the volume?
Most importantly, I want to know its mount point.
Looking at /etc/fstab doesn't do the trick. This does not list the root volume. I would at least need to figure out the UUID of the root volume to verify my known UUID against it...
I am new to cocoa development
Can any one please tell me how I can make my cocoa application scriptable.
I want my application to perform certain actions,in response to scripts. I could not find easy guide or help.
...
I'm running python 2.6 on an Intel Mac OS X 10.5
I'm trying to install pycurl 7.16.2.1 (as recommended here http://curl.haxx.se/mail/curlpython-2009-03/0009.html), but for some reason, the installation sees my libcurl 7.16.3, yet it still insist I install 7.16.2 or greater (doesn't 7.16.3 satisfy that?)
Here's the error output:
Runnin...
I am a newbie to libhistory, so I was looking at the sample found with readline library. Compiled it on command prompt using: gcc -o ./a.out /usr/local/share/readline/histexamp.c -lreadline -L/usr/local/lib/It compiles and maintains history.
Then crated a xcode project with the same file and linked against readline library it compiles f...
Hi to all,
I installed cache in macos x. But i cant able to open a studio there and i cant able to see cache cube there.How do i will open it and create clasess,routines,...etc in cache in mac osx.
...