mac

UIDatePicker storing only time in core data

I am using a UIDatePicker with time only, How can I store this type in the core data, would it be date:S. Thanks ...

Update SVN under my Mac OSX 10.5

Hi, I had downloaded and installed the 1.6.9 version of SVN from http://subversion.tigris.org/. After the installation I noticed that if I launch the command "svn" from the terminal, my Mac still uses the old version, the 1.4.4. If i want to use the new version, I need to specify its path, like this: - /opt/subversion/bin/svn commit inst...

Standard way of distributing source code?

I am relatively new to programming, and have built a few working C++ commandline programs with Xcode in Mac OS X (no dependencies on Mac-only libraries or APIs). My question is: What is the standard way of packaging and distributing the source code (and possibly compiled binaries)? i.e. Almost all Linux programs seemed to be distributed...

Is there a source insight like code reader on Mac?

Or what app do you use to read code on Mac? ...

Flash files are playing laggy /Jerky in screensaver

I have developed a screen saver for MAC OS X. Screen saver plays flash files. Whene I run screen saver on display resolution higher than 1300 X 1000 then flash files play very jerky / laggy. When I run it in low resolution then files play fine.Even flash files are playing fine in desktop application. This problem is more on 10.6 Snow Leo...

XCode and developer tools

I want to use the FileMerge utility on my mac, but it isn't installed. I searched in Google and there is written that it will be installed with the developer tools. Where can I find the developer tools? I downloaded the iPhone SDK 3.2 beta 5 and installed it, but I can't find the download location of developer tools. ...

Trying to build the LEVMAR math library on a mac using the Accelerate Framework

Hello. I want build levmar-2.5 math library on a mac using the included Makefile. It requires LAPACK, another math library which is included in the Accelerate Framework. I do not know how to modify the Makefile to indicate the location of the library so that it builds correctly. There is a libLAPACK.dylib in the framework. Ultimately...

How to speed up/slow down application's 'time'

I guess I am not saying it right in the title. What I intend to do is to hook to some system api,like a time interrupt happens every amount of time (which is how every application in the operating system interprets time) and make an application's call to this api return some bigger/smaller result. So from the point view of an applicaiton...

iPhone: save log files and transfer to PC

Hi, In my iPhone application, there is a requirement to save a few log files in the phone(files are run-time generated). Then I have to copy/transfer the files into the pc. Can anyone suggest the best way to do this. Pls consider this as a newbee question. Thanks in advance.. ~Dhanesh ...

ld reports missing symbols, but symbols seem to exist

I'm trying to link my mac application to the wonderful libancillary library. However, I have changed the library build script to create a shared library. I can inspect the symbols in this library using nm libancillary.dylib - the result is: libancillary.dylib(single module): U ___sF U __keymgr_get_and_lock_processwide_...

Mac gcc non-virtual thunk error

I'm getting these non-virtual thunk errors only in the Deployment build of my app. It uses a private framework called Lgi. Building on 10.5.8 using XCode 3.1.4 (latest for leopard?) The error looks like this: Ld /Users/matthew/Code/Scribe-Branches/v2.00/build/Development/Scribe.app/Contents/MacOS/Scribe normal i386 cd /Users/matthew...

Mac OS X Services: enable without user interaction?

I wrote a simple Mac 'Service' for Finder, that executes a command. Basically: this adds a ContextMenu in Finder. If I right-click a file in Finder, a menu item pops up. If the user clicks it, it executes my script. (kind of like 'Send to Bluetooth device, ...') In OS X Leopard (10.5) and earlier, all services are enabled. In 10.6 (Sno...

How to avoid XCode framework weak-linking problems?

Hi, I'm building an application that takes advantage of Mac OS X 10.6-only technologies, but without giving up backwards compatibility to 10.5 Leopard. The way I do this is by setting the 10.6 SDK as the base SDK, weak-linking all frameworks and setting the deployment target to 10.5 as described in: http://developer.apple.com/mac/libr...

C + GUI + Mac OS

i know c and I want to develop applications with GUI for Mac OS. Where do I start? ...

Cocoa contentsOfDirectoryAtPath: method failing with error for certain users - Mac OS X

Here's a snippet of the code: // Get into the data folder of it keychainPath = [keychainPath stringByAppendingPathComponent:@"data/default"]; DLog(@"Keychain data path: %@", keychainPath); // Define Filemanager NSFileManager *fm = [NSFileManager defaultManager]; // Catch any errors NSError *dataError = nil; // get all the files in t...

Cocoa - Timer object that can be started, suspended, resumed?

I'm looking for a repeating timer object that allows me to create it once and then suspend and resume it as needed for the lifetime of my application. I've seen documentation for NSTimer and although I think I can make it do what I want by building an abstraction on top of it that creates/invalidates timer objects multiple times, I was ...

Cocoa Browser Air missing iPhone docs. Can't find xcode DocSets?

I installed Cocoa Browser Air at home from the same installation file (for 2.4.1) that works fine at work. Its info for Mac OS X 10.6 looks OK, but there's nothing under either iPhone 3.1 or 3.2. I've installed the appropriate Documentation Sets in Xcode Preferences->Documentation, and I have an iPhone SDK, which is required to refer t...

Can I make online multiplayer games using flash?

I want to make a simple game so that I can play against my friends at school. The school uses macs. Also if you can't make online games with flash what can I use. Also can they be 3-d if I eventually get good at making games? ...

OS X Dock API? Retrieve OS X active application's icon with badges and other modifications.

Is there an API for retrieving the icons of the currently open apps on Mac OS X? I am trying to retrieve all the icons of the active applications along with any badges on top of the application (i.e. number of new messages in mail, or current download rate in Transmission). Is there some sort of Dock API? The only mention of an OSX API ...

this one-line shell script not working on Mac - any ideas how to fix?

Hi, This unix command I haven't got quite working on Mac yet - any ideas what needs adjusting: find . | grep '.*\(css\|js\|rjs\|rhtml\|rb\)$' | sort | while read in; do printf "\n\n####\n# FILE: %s\n####\n\n" ${in} >> onebigfile; cat "${in}" >> onebigfile; done thanks ...