xcode

pointers in objective-c, how do i call the function in the right way - beginners question

i have a dynamically made prototype: typedef double ICEDouble; -(BOOL) getPosition:(SyDRpcInterfacePositionType)type longitude:(ICEDouble *)longitude latitude:(ICEDouble *)latitude; and i would call it so, because i have no plan, how to do it in the right way: NSNumber* longitudeReturn; NSNumber** latitudeReturn; [prx getPositi...

how to assign a color for particular text in xcode

Hi friends,, How to assign a color to the particular text. i don't want to use the textview. Thanks ...

writeToFile Output .plist not writing correct values

Hi Guys I've been trying to write a simple shopping list program but when i try to write the modified values back to a plist file i only get the original values that were in the file to start with. My original plist file is one large array (dataArray) of dictionaries with only two fields in each dictionary one bool and one string when ...

How to disable highlighting in XCode's Interface Builder

Is there a way to disable object highlighting in interface builder? I am testing out a lot of different colors for an object, but the highlighting is making it a difficult process. Thanks in advance! ...

Loading a table view nib after button push

Dear All, I have used the following code to add a button to my navigation bar that when pressed will call the method showCountries: UIBarButtonItem *countriesButton = [[UIBarButtonItem alloc] initWithTitle:@"Countries" style: UIButtonTypeRoundedRect target:self action:@selector(showCountries:)]; self.navigationItem.leftBarButtonIte...

XCode 'Build and Archive' menu item disabled

I have been using the new 'Build and Archive' feature of the latest XCode 3.2.3. I like it. Now I noticed that it is always disabled for some reason. I can't seem to figure out what I changed to cause this. Does anyone have any ideas? Thanks! ...

Linking of UITable Objects to URLS in xcode

In xcode, how do I link an object to a URL so that when a user taps the object, it automatically links him to the URL. I already have a table view with some objects on it ...

develop android apps in xcode

hi im trying to develop an android app in xcode. ive downloaded java, java jdk and the android sdk and have loaded a half finished (but working with no errors) app. i also changed the target to: Build Tool: /usr/bin/ant Arguments: install but when i try to build it i get Build file build.xml does not exist i couldn't figure...

Adding Images in a TableView in Xcode

I tried to add images with the size of 32 by 32...it worked but it shows me only the first image for all the objects on the table view... In other words only image for all the other objects ...

Xcode iPad or iPhone Build Size Question

Had a question and if anyone has found similar issues. It seems my file size keeps growing. I have had to import existing files and then delete them from the project. It seems that it keeps those files somewhere. From being 40mb and importing a few .WAV files at 30mb each it goes up to 100mb. After I deleted them it seems it doesn't chan...

How does Xcode store "project info" and "file info"

I need to know how Xcode stores the stuff that comes up when you press the blue "info" button. Is there a text file somewhere or anything like that? Thanks ...

How to create view from a nib file in xcode?

Hello I have the following code to create a view and put it in scrollview to allow paging the code works fine however what I couldn't do is loading views from a nib file in other words I want to use "initWithNibName" instead of "initWithFrame"? - (void)createPageWithColor:(UIColor *)color forPage:(int)page { UIView *new...

Linker errors after upgrade to xcode 3.2.3 for iphone app

I've just upgraded to XCODE 3.2.3 and upgraded my base sdk from 3.0 to 3.2 iphone sdk. After doing this I started getting a bunch of link errors with barely any info, here's what I got: ".objc_class_name_CATransition", referenced from: ".objc_class_name_NSObject", referenced from: ".objc_class_name_NSFileManager", referenced from: "....

Can I get default audio files of Iphone (marimba, alarm, ascending,...)?

Hello everyone, Currently I am working on iPad. I would like to retrieve system audio files by default in iPad (I think it is the same in iPhone). Does anyone know how to retrieve it? I have tried AudioServicesCreateSystemSoundID or AVAudioPlayer but I can get these audio files (Marimba, alarm or ascending,...) Thank you ...

How do I put images on the iPad Simulator

Is there anyway of placing images on the iPad simulator? ...

In XCode Instruments, Core Data Fetchs, what's the unit of the "Duration" column?

It's not milliseconds for sure. I think it's microseconds, but couldn't find an authoritative source to confirm it. ...

Import comma-delimited text to xcode plist

I have a very long (well, 4000+ items) in a csv file which I would like to put into a plist in xcode for my program to use. Does anyone have any idea how to do this, just in xcode & not using parsing code? Many thanks. ...

Xcode, Dev Docs Search Field Loosing Focus?

I am having a strange issue with the developer documentation (which i have only noticed after installing Xcode 3.2.3). My problem is that as you type in the search field (upper right) it looses focus and immediately starts looking for the first few letters you type. For example if you looking for "NSObject" you start typing "NSO" and as ...

iOS4 UIImagePickerController doesn't suport mediaTypes = [NSArray arrayWithObject:(NSString *) kUTTypeMovie] ?

In my application,I want to open the camera in Video mode.So I write the following codes - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [window addSubview:viewController.view]; [window makeKeyAndVisible]; UIImagePickerController *ipc; ipc = [[UIImagePi...

How to Activate Breakpoints in a Dependent Project (a framework) in XCode

I have an Xcode project that has an other project as a dependent project. My main Xcode project links agains a framework in that dependent project. Now I want to track down something in my framework. How can I set break points in that dependent project so that when I'm starting my main Xcode project they stop in the dependent project? ...