Hi there,
Recently I changed the repository directory to reside under a different location.
What I did was to basically copy the entire Subversion directory to the desired location (and rename the old one to test that it is indeed working) and then in the XCode change the Repository location to reflects the new location.
Ever since the...
Hi,
I use NSLog in my application. And I'd like to get rid of the annoying beginning of each string: "2009-07-01 21:11:06.508 MyApp[1191:207]".
Is there a way to do so? Probably another logging function?
Thanks.
...
I'd been using OCUnit (the default installation that comes with XCode) in XCode 3.0. I've been happy being able to run my tests and see the results in the Build Results window, as well as any NSLog() messages I output.
However, with XCode 3.1 the tests run fine, but I suddenly lose my NSLog() output. Anybody know where it went?
...
The Core Data Documentation states that:
The fetch request associated with the [fetched] property can have a sort ordering, and thus the fetched property may be ordered.
How do I specify the sort descriptors for the fetched property in Xcode's data model editor? I can't find a relevant field anywhere. I'm developing for the iPhon...
Hi,
I'm traing to build a lite version for my app the way it is described in this post:
http://stackoverflow.com/questions/549462/how-do-i-manage-building-a-lite-vs-paid-version-of-an-iphone-app
After creating the two targets the full version can be built the lite version stops building with this error at the 'linking' stage:
"library...
I have an iPod touch with OS 2.2.1 and an iPhone 3GS with OS 3.0 both attached to my Mac. They both show up in Xcode Organizer. I now would like to be able to select which one of them an application gets installed on when running it from Xcode during testing. Is there any way at all to do this (except unplugging one of the devices, of co...
i have a string like this A. rahul VyAs
and i want to remove A. and the Space After The A. so that new string would be rahul VyAs
how do i achieve this?
...
I followed this guide from Apple to create doxygen documentation. I did need to modify the script to put variables in quotes so when it parses a directory with spaces, it doesn't treat it as two separate arguments.
That said, I recently switched to use subversion in XCODE instead of using the Snapshot stuff, which has a notorious histor...
i'm getting this two messages:
warning: 'MainView' may not respond to '-switchToNoGridView'
Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments
1st here:
//GridView.m
#import "GridView.h"
#import "MainView.h"
@implementation GridView
-(IBAction)switchToNoGridView {
[mainView...
i want to access a integer and a string from a class to all the other classes?
what is the best way to do it?
i want to increase the values any where in the program and then want to update them in the class declared....
any idea how to achieve this???
...
XCode 3.1.2 using built-in OCTest unit testing.
I'm getting a crash when unit tests run. I want to run w/ a few extra environment variables (MallocCheckHeapStart, MallocCheckHeapEach, for example).
I'm a beginner with this and can't figure out how to run my app's OCTest unit tests from the command-line. Or alternatively, to convince ...
Hi, Can you please tell me how can I set a global #define in my Xcode project?
I don't want to put #define DEBUG in every .h of my project.
Thank you
...
I'd like to include a zip file as an attachment to in app email (OS 3.0). I've added the file to my Xcode project and get this message during building:
Checking Dependencies
warning: skipping file '/Users/account1/Developer/Doc4_5.zip' (unexpected file type 'archive.zip' in Frameworks & Libraries build phase)
Is there something else I...
I get these errors when I build and run for the device. Should I be worried about them? The app runs fine.
run
Running…
[Switching to thread 10755]
[Switching to thread 10755]
warning: Couldn't raise load state for requested shlib: "libobjc.A.dylib" for breakpoint 1.
(gdb) continue
warning: Unable to read symbols for ""/Users/tim/Code/...
I'm looking into unit testing and TDD for a Cocoa desktop application and I'd like to find some code examples.
I am aware of Chris Hanson's excellent articles, but I'd like to crowdsource finding some examples of actual tests in a code base.
...
I am creating my Xcode key bindings by editing PBKeyBindings.dict, since this seems to be the way to create commands that are sequences of method calls. This works fine, but one must reload Xcode to have the changes take effect. Is there some way to prod Xcode into reloading this file as it is running?
...
I'm a newbie to Unit Testing and I'm after some best practice advice. I'm coding in Cocoa using Xcode.
I've got a method that's validating a URL that a user enters. I want it to only accept http:// protocol and only accept URLs that have valid characters.
Is it acceptable to have one test for this and use a test data file? The data fil...
I'm using a powerful library called TiMidity, which I'm sure many iPhone developers have used already used. This is a platform-independent set of programs, but during compile-time in XCode (gcc compiler), there are hundreds of dependency errors that come up.
If anyone here has used TiMidity before for their apps, your advice will be gol...
I would like to check to see if I have an Internet connection on the iPhone using the Cocoa Touch libraries.
I came up with a way to do this using an NSUrl. The way I did it seems a bit unreliable (because even Google could one day be down and relying on a 3rd party seems bad) and while I could check to see for a response from some othe...
Hi I need to graph some arrays to analyse signals, I have a cocoa project going. Can anyone tell me where I can find tools to simplify this task?
Basically i want to display my arrays like on a graphing calculator.
...