If I type UITa, then it might show an autocompletion of UITableViewDataSource. So I press enter and that's what I get. But what I wanted was UITableViewDelegate. If this was when we input the file name in the command line of bash, then it would have auto-completed up to UITableViewD, and then I would have to enter a to get an autocomplet...
I want to share my Xcode project as a static library for other people to use in the xcode emulator (giving them as little raw source code as possible). How do you use an AppDelegate from a .a library file in Xcode or UIBuilder?
I copied the main Window.xib file to a new project and included all of the other source files in a static .a ...
Can you install an Ad-Hoc iPad distribution on an iPad emulator?
...
When trying to run my iOS app on a device, I get the following from GDB, and resulting in my app exiting just right after it started so I never get the chance to debug it. Anyone knows what I'm doing wrong or what I can do to fix it?
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 UTC 2010)
Copyright 2004 Free Soft...
hi there,
looking for some help.. i have 2 controllers, 1 contains a custom cell table. when user selected a cell, i will be display at the other controller. so far my approach is when at controller 1, if cell selected, save to plist, than at controller 2, load the plist.
my saving and loading code:
NSMutableArray *selectedData;
sel...
Would it make sense to develop an app in Monotouch and With XCOde in parallel or with Monotouch as a prototype. (I would be learning both while developing).
Since both use the same interface-builder. Could I just take the files and create a SDK version from the same interface files the same way just after?
How can I set it up so that...
I have an image that changes due to a button press. I have the code set up like this:
UIImage *example = [UIImage imageNamed: @"Example.png"];
UIImage *stuff = [UIImage imageNamed: @"Stuff.png"];
UIImage *bob = [UIImage imageNamed: @"Bob.png"];
UIImage *thing = [UIImage imageNamed: @"thing.png"];
It used to be so that the last image ...
I had some sample code I was working on and broke the link to a Reference Bindings and can't find how to get it back. The docs are not helpful at all and google is not return anything useful. The original looked like this http://mp.polymicro.net/pastebin/20100821-CaptureIt-Picture-1.png
...
I am having a hard time wrapping my head around data models. Let me start with showing how I would declare the class if I just had to have in-memory objects.
@interface PlayerState {
NSSet /* of SavedDie */ *savedDice;
NSSet /* of SavedDie */ *immediateRolls;
}
@property (nonatomic, retain) NSSet *savedDice;
@property (nonatomic,...
Possible Duplicates:
Develop iPhone app without a Mac?
iPhone Programming in Mac OS X runnning not in a Mac Computer
hey. i'm 14 and i'm interested in making apps for the iphone. i'm not a noob at programming, but i'm not that good. i have no idea what i'm doing when it comes to Objective-c, but i was wondering if it were poss...
The example that XCode generates for an OpenGL ES App, creates a square using the following coordinates:
static const GLfloat squareVertices[] = {
-0.5f, -0.33f,
0.5f, -0.33f,
-0.5f, 0.33f,
0.5f, 0.33f,
};
How does this generate a square when the sides are clearly of unequal length? Has the scaling been set up ...
Hi Guys,
I met a problem in XCode. And my problem was similar to this one: http://www.iphonedevsdk.com/forum/iphone-sdk-development/40121-expected-specifier-qualifier-list-before.html
So I want to know how to solve the problem in the link above?
Thanks in advanced!
Nick
...
I'm working on a game application for the iPad and now that I've made the game work in a single view I wish to add an opening menu where a user can either go to the game or change the settings. How do you lay this out in xCode? Many thanks in advance from a puzzled programmer.
...
Dear all,
Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically)...
How can i check whether is a plist is empty?
...
Hi Everyone,
I'm using XCode version 3.1.2 and am developing for iPhone using the Simulator with iOS 2.2.1 on Leopard. I had an image file named "img.jpg" in my project which I decided to switch for a different file. After adding the new file into the XCode Resources folder, I removed the first file and renamed the new file to the same ...
It says code sign error. What should I change maybe in plist to cancel this error ?
The question here http://stackoverflow.com/questions/1549225/xcode-iphone-project-code-signing-error doesn't answer my problem:
I don't want to run my app on my iphone just on SIMULATOR so I don't need to sign.
In fact I have compiled successfully seve...
I am following this tut
http://monoclestudios.com/cocos2d_whitepaper.html
to integrate coco2sd. I have created a project, modified the sources, added external directory to project, delete some files within and added coco2sd to proect as they requested.
There are a lot more to do by hands.
If I had to do it again oh my, so is there a t...
I have a clear history button which clears the data in plist. Now, loading is fine; I load it to an array.
Can I just use:
self.dataClear = NULL;
and save back the array to plist to clear it?
So that I can use
if([self.dataClear count] == 0)//if plist is empty
to check?
...
I need to move a ball in a circular path. Any guide or tutorials that I can refer to on how do I go about doing it? Thank you.
...