xcode

Access viewcontroller which resides inside a Tab Bar

I'm trying to access it in my AppDelegate by doing this Course *rootController = (Course *)[navigationController tabcontroller]; but it won't work doesnt seem to get the "Course" root controller. Thanks ...

Interface Builder - XCode link broken with iPad-converted xib

In porting my app to a universal iPhone / iPad app, the xibs I created by using Interface Builder's "Create iPad Version" will not link to the project properly: They don't pick up on classes and images from the project file. IB tells me that "there is no xcode project associated with this document" with a gray light in the status bar. Y...

How to change to a grouped table view in xcode without using Interface Builder

I have a table that I created within xcode so there is no nib file in this case. I want to make my table into the 'Grouped' style but im not sure how. I think it has somthing to do with the method below, the problem is Im not really sure how to call it, I do understand how methods work I'm just not too sure on where to start with this o...

Where is the TableView loaded in the Navigational-based iPhone App

Using XCode's Navigational-based application project type, where is the code that loads the table view that is there by default? ...

Xcode debugger warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable

What does this means? Seems to appear in the console occasionally when I run with breakpoints on in the debugger. warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable ...

OpenGLES Add User Interactions

http://www.switchonthecode.com/tutorials/getting-started-with-opengl-es-for-the-iphone From the above link they created tutorial by No Nib File. But i need to add User interactions like , adding Progress View. Please help me. i am new to iphone OpenGLES. Thanks In Advance. ...

How to do a mouse rollover action on a Label in Xcode?

How do I link up a mouse rollover action on a label, or any invisible object I can place over the label. I can't find it the label's action list Using xcode 3.2 and Interface builder ...

XCode+SVN coloring the modified lines?

Hi all! I am probably asking for too much: does anyone know a way to get XCode color the lines of code according to their subversion status (modified, added, etc.)? It would be nice to have it integrated in XCode. ...

Unable to find CFNetwork in Xcode

Hello, I am trying to use CFNetwork in my app so I tried adding CFNetwork.framework from the Edit Target dialog in Xcode. The interesting thing is that CFNetwork is not visible in the dialog box at all. Am I missing anything? Do I have to add/install CFNetwork in some other way? Screenshot - Thanks in advance. ...

Should I be aiming for no analyzer results when I run Build and Analyze

I have read numerous times that Build and Analyze is not perfect. When I run it, it does turn out some useful information and has definitely improved my code, but it also gives results that are not necessary problems. At the minute I'm changing my code to try and get rid of all the Analyzer results, whether they are a problem or not. Is ...

Create Android Applications using Xcode?

Hi, I'm using Xcode for a while, and I'd like to start developing Android Applications. However, the SDK is for Eclipse. I personally don't like Eclipse, because of the UI and it starts to suck on my iMac. I was wondering if it is possible to create Android Applications with the Xcode Tools so I can stay with my old friend Xcode (and ma...

How to see bounds of RgnHandle passed to SetPortVisibleRegion in Instruments?

I've got a difficult drawing bug that I am trying to track down. I know what is going on - during the draw routine, the region returned by GetPortVisibleRegion is wrong. I believe it is because someone has done something to cause SetPortVisibleRegion to be called with the bad region. I cannot just search for all of the calls to SetPortVi...

How to do visual effects for iPhone? (Plasma / Lava like)

Hi, I need to create an animated Plasma/Lava like effect, that resembles this image: http://dl.dropbox.com/u/1977230/example.png but slightly animated. I have absolutely no idea how to actually do those kind of effects on the iPhone. This would have to run as an UIView background, with some elements on top. Would that be feasible? A...

How to check in which position (landscape or portrait) os the iPhone now?

I have an app with a tab bar, and nav controllers in each tab. When user shakes the device, a UIImageView appears as a child view in the nav controller. But the UIImageView must contain a special image, depending on the device's current orientation. If I write just - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrienta...

How to do a login screen?

I have this working but I don't think it is working correctly so I just wanted to get your feedback. I am trying to display a screen that has two buttons - one that takes you to a login screen and the the allows you to register. II am testing in the appDelegate if they are logged in and if they aren't I am showing the signLogIN view....

Adding Existing Framework to Xcode (iPhone) error

I have added the <QuartzCore/QuartzCore.h> to my Frameworks folder in my iPhone project and added the #import "<QuartzCore/QuartzCore.h>" statement at the top of a custom UIView class. However the custom UIView class gives me a "No such file or directory" compliation error in relation to the <QuartzCore/QuartzCore.h> framework. Is ther...

Return Selected Phone Address from iPhone Address Book

Hey, I found a tutorial online that extends that Apple QuickStart Application which is the basic Address Book Application and another that returns the first phone number regardless of what phone number was clicked. I want to display only the selected phone number in the label. The label is called phoneNumber: - (BOOL)peoplePickerNaviga...

How to access a command line application's bundle in C

Hi, I am on a Mac, programming with Xcode. I have a command line application that will read/write to files in it's bundle and I was wondering how to access these files. Thanks, Mr. Man EDIT: Would it work better if I just made a folder in the user's library folder? ...

get image from iphone, using phonegap camera api

I'm new to Xcode and iPhone apps. I want to select an image from iPhone (camera or library) and send to php via ajax. http://wiki.phonegap.com/iPhone:-Camera-API I'm using the phonegap framework, Xcode iPhone SDK version 3.1.x. On clicking button it calls function with parameter 0 or 1, but it does not initialize camera or display the...

How do I package an SDK (static lib + xibs) for the iPhone?

I am creating an SDK for a client that includes predefined view controllers. What is the recommended way to package everything (static lib, .xib(s), and .png(s)) for easy use? SDKs that I've used (e.g. Pinch Media) do a good job of just providing a .h and .a file that expose only user accessible functionality and hiding everything else....