xcode

i installed xcode beta 5 and no ipad simulator

I installed Xcode beta 5 and no iPad Simulator. Where do I find it? thnx ...

Objective C / iPhone comparing 2 CLLocations /GPS coordinates

have an app that finds your GPS location successfully, but I need to be able to compare that GPS with a list of GPS locations, if both are the same , then you get a bonus. I thought I had it working, but it seems not. I have 'newLocation' as the location where you are, I think the problem is that I need to be able to seperate the long ...

What resources do folks use for learning about Xcode templates?

I do a lot of prototyping and need more Xcode templates for the different classes of apps that I prototype. My current source of information for Xcode templates is a set of links from the web. What other resources do folks use for Xcode iPhone templates design and development? ...

referencing an instantiated object in another class in objective C

hi, I am working in xcode on an ipod app in objective C, and I have a field (navigationController) in one of my classes (rootViewController). How do I reference the instantiated rootViewController's navigationController from another class? For example, how would I do this if I want to reference the navigationController from the FirstVi...

What's the proper way to setup different objects as delegates using Interface Builder?

Let's say I create a new project. I now add two text fields to the view controller in Interface Builder. I want to respond to delegate events that the text fields create, however, I don't want to have the main view controller to act as the delegate for both text fields. Ideally I want a separate file for each text field that acts as the ...

Need Help With Simple Counting Bug in iPhone SDK

So I'm basically making an app that adds a count to a number and then displays it each time you tap the button. However, the first tap issued doesn't take any action but adds one (just as planned) on the second tap. I've searched to the ends of the earth looking for the solution with no luck, so I'll see what you guys can make of this. ...

How do I call a static bool method in main.m

This is Objective-C, in Xcode for the iPhone. I have a method in main.m: int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; //I want to call the method here// int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal; } static BOOL do_it_all () { //code here// } ...

Is it possible to develop iPhone applications on Mac without Xcode?

Thanks, interdev. ...

using xcodebuild command line to put an app on the iPhone

Is this possible? How does Xcode actually deploy iPhone apps that were built into the iPhone? Or is there another tool which I'm missing out on? clarification: by "deploy" I mean actually install and run gdb on the iPhone like when you do run>debug ...

Is there a way to automatically uppercase comments in Xcode?

Is there a way to automatically uppercase comments in Xcode? Either when typing individual comments or globally after the fact? ...

Iphone App crashing on launch

Hey, My simple iphone app is crashing on launch, it says "the application downloadText quit unexcpectedly i none of these windows that pop up when a mac app crashes and has a send to Apple button. My .h is below and i would greatly appreciate it if anyone could give me a hand as to what's wrong? thanks, Declan ` #import "downloadTextV...

Playing sounds in iPhone SDK?

Does anyone have a snippet that uses the AudioToolBox framework that can be used to play a short sound? I would be grateful if you shared it with me and the rest of the community. Everywhere else I have looked doesn't seem to be too clear with their code. Thanks! ...

Display WCHAR Strings in Xcode Debugger

I'd like to preview WCHAR strings in the variable display of the Xcode 3.2 debugger. Bascially if I have WCHAR wtext[128]; wcscpy(wtext, L"Hello World"); I'd like to see "Hello World" for wtext when tracing into the function. ...

How to create an iPhone Album's "email photo, MMS, Assign To Contact.." like sliding view?

I learned how to create a view controller and make the view slide in from bottom. But the one in iphone album looks different. It darkens the rest of the visible portion of the screen when the view slides in. How do I create a similar one? I want to add buttons like "save, cancel, email" etc into the sliding view. ...

Core Data - Breaking A Relationship

Hi, I have a Patient entity and a List entity. A Patient can belong to several different lists and a list can have several different patients. Say I have a patient who belongs to 3 lists (A, B, C). I want to remove the patient from lists A & B. I do not want to delete lists A & B themselves though obviously. How do I go about doing thi...

Best way to add a large chunk of text to a UIScrollView?

What is the best way to display a large chunk of text (taken from a .txt file in the app) in a UIScrollView so a user can scroll about it? Length of the text is variable. ...

Objective C / iPhone comparing 2 CLLocations /GPS coordinates help

Ok , so thanks to Claus Broch I made some progress with comparing two GPS locations. I need to be able to say "IF currentlocation IS EQUAL TO (any GPS position from a list ) THEN do something My code at the moment is : CLLocationCoordinate2D bonusOne; bonusOne.latitude = 37.331689; bonusOne.longitude = -122.030731; Which is th...

How to use the default background image for iPhone UIView?

How can I use the default background image for a UIView? ...

Build and test on 2.2.1 iPod Touch with XCode 3.2.2?

I've just installed Xcode 3.2.2 with iPhone SDK 3.2 Beta 5 (Snow Leopard) This version of Xcode didn't come with any iPhone SDKs older than 3.0. But I want to create an app that runs on all devices from iPhone OS 2.2.1 -> 3.1.3. I managed to add older SDKs into Xcode by downloading iPhone 3.1.3 with Xcode 3.1.4 and installing each 2.x ...

How to put a UITextField inside of a UITableViewCell (grouped)?

How to put a UITextField inside of a UITableViewCell (grouped)? I want a user to be able to edit it. ...