On all the sample projects from apple's site (like Simple Drill Down) when I do a compile I get "copystrings failed with exit code 71".
And old project of mine compiles. Seems to be be an issue with localized strings:
"copystrings failed with exit code 71" My old project doesn't have any localized strings of course.
here is a screens...
I'm programming an iPhone app using Objective-C.
Here's the error Xcode gives me:
error: assignment of read-only variable 'prop.149'
The code:
// Create CATransition object
CATransition *transition = [CATransition animation];
// Animate over 3/4 of a second
transition.duration = 0.75;
// using the ease in/out timing function
transit...
Is it possible to have an Xcode project file which contains both the Cocoa (MacOSX) and CocoaTouch (iPhone) versions of a component?
I thought I was getting close until I realized that you need to set "Base SDK for All Configurations" in the Project Settings in order for the cross-compiler to be called (and for any CocoaTouch frameworks...
My code is: dvController.selectedCountry = selectedCountry;
Why do I get the error "request for member 'selectedCountry' in something not a structure or union"?
...
In Xcode, a lot of the auto-generated class files (especially those for UIViewController subclasses) will include methods that resemble the following:
- (void)dealloc {
[super dealloc]
}
To me, this seems fairly pointless - if all a method is going to do is call super, why have it at all? Is there a purpose to these methods being g...
Which would be a more appropriate repository to host a small, XCode, Objective-C based project? Both appear to offer SVN, which XCode likes. The documentation and issue tracking systems would surely accommodate a small project. A Google search surfaces a number of opinions preferring Google Code, but the motivations seem to be somewhat 2...
I've been seeing this for well over a year and I can't figure out if it's a bug or I'm doing something wrong.
When I declare a property in one of my classes like
@property (nonatomic, retain) NSString *aString;
And I go to use this somewhere else like
myObject.aStr[ESC]
When the list pops down with all the suggestions, aString is ...
Hi,
my team is currently using buildbot to automate overnight and continuous-integration builds and regression tests. For builds and unit tests, the builder just invokes a script which syncs the sources from p4 and then runs xcodebuild. The regression tests are also launched by a shell script, and are themselves combinations of shell sc...
Visual Studio tracks cursor positions and lets you move forward and backward through these positions. For example, you can type Ctrl+- to navigate backwards and Ctrl+Shift- to navigate forwards.
I see that XCode tracks the history of which files you've visited, but does it also allow me to go forward and backward through the cursor loc...
I'm trying to use the built-in Subversion server on OS X per Apple's instruction I'm trying to use SVN through SSH and not apache
It's not working out though. When I try to configure the repository, I get the following error:
Error: 210002 (Network connection closed unexpectedly) Description: Connection closed unexpectedly
As a sanit...
My question involves a simple game that 2-4 people can play. This is a game that is played on one iphone/ipod touch so no networking is required. When the game is started, the user will select the number of players that will play.
For each player I need to create and instance of the Player class. My question is how do I code so that on...
I have an indexed table view and I want it to have a detail view when I click something but right now it just comes up with a screen with a navigation bar but no title and not text. Does anyone know of a tutorial that teaches you how to do that?
Thanks
...
is there a way to customize the uistatusbar???
...
I'm sure there is a better way to do this. I have this chunk of code that I use to wipe out the DocumentsDirectory on an iPhone or Simulator. Sometimes I just want a clean slate, and sometimes I make changes to a database and I need to rebuild it.
So, in one of my functions that gets called when I turn on my app, I have this code comme...
I am currently using xcode and I find it's lack of tabs quite disturbing.
I currently use command-shift-d to search through all the files, or ctrl-1 to open the history of files that were recently opened.
It works but I find it less effective than just tabbing through the few files i am currently working on.
Is there any way, third pa...
When initializing an NSMutableArray array with object, Why put nil at the end?
e.g.
NSMutableArray *fruits = [[NSMutableArray alloc] initWithObjects:apple,
watemelon,
nil];
In Xcode, when using auto comple...
Hello,
I just want to realize a simple animation, where a picture is faded in a few seconds after the beginning of the application and then it should be faded out and totally disappear. I've never done any animations on the iPhone so I'm stuck. When using something like image.opacity = 1.0; like in the Developer Documentation I get: erro...
I have the following code:
(void)loadStateChanged:(NSNotification*)notification
{
if ([[movie attributeForKey:QTMovieLoadStateAttribute] longValue] >= kMovieLoadStatePlayable)
{
[[NSNotificationCenter defaultCenter] removeObserver:self];
long movieScale = [[movie attributeForKey:QTMovieTimeScaleAttribute] longValu...
Hello
I have been here before, asking for a mapping library that could store objects in a database. Some one told me about the Core Data Framework. I have read a bit about it and I kindda understand it.
I have created some "test Core data projects", where I have worked with simple problems and models ala Person and Group. But now I wan...
Hi, I am trying to drag a UIImageView around the iphone screen in my app.
Currently The drag functionality I have set up is fine and dragging the image does move it around the screen, the trouble is that you don't have to drag the image view to move it, you can also drag anywhere on the screen and it will move the image.
I am new to t...