xcode

Release build loading cached files

For a reason unknown to me, the Release version of my application has started loading cached static files. If i build in debug mode all is well and it loads the correct most recent files, this occurs on the device and inside the simulator. ...

back ground for grouped uitableview in iphone sdk

hi guys a new problem has crept up for me.I want to set an image as a table's background.Its a grouped table view.im doing this using IB. i set the background color property for the table view as clearcolor and placed tan image view in the view on which the table view is placed./it looks good on ib,but when the application is loaded t...

How to compare 2 Xcode targets

Hey guys, How would I compare the differences between two targets of the same project in Xcode? I'd like to see the differences in the source, and perhaps build-info too. Thanks in advance, ...

How to remove event From Iphone Calendar using EKEventStore?

EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *event = [EKEvent eventWithEventStore:eventStore]; event.title = appDelegate.title1; NSLog(@"%@",event.title); event.startDate = appDelegate.currentDateName; NSLog(@"%@",event.startDate); event.endDate = appDelegate.alertTime; [event setCalendar:[eventStore...

calculate calendar week

Hi, how can I calculate the calendar week? A year has 52/53 weeks and there are two rules: -USA -DIN 1355 / ISO 8601 I'd like to work with DIN 1355 / ISO 8601. How can I manage that? Edit: NSDate *today = [NSDate date]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"ww"]; NSString *weeknum...

xcode library search path troubles

I've copied a .a library into my xcode project. Actually, I've copied two versions of it: one for the simulator, one for the device. Each in its own folder. Each assigned to the appropriate target. Still, the XCode build process wants to find the library via -L/-l to the directory I copied the library from! And, worse, it insists on usi...

problem with listener pattern using fast enumeration

Hey, right now I have implemented my own listener pattern. I will send an update to the listeners using fast enumeration. the code will look like this - (void) updateListeners { for (id<AProtocol>listener in _listeners) { [listener update]; } and in listener, i implement method for AProtocol, which is update. suppose there are n ob...

Running shell script without environment variables in Xcode?

Xcode sets variety of environment variables related build when running shell script. Is there a way to running shell script without setting of those variables? ...

Xcode is displaying the results of Backspace/Delete incorrectly, does anyone know how to get it working again?

The Backspace key in Xcode appears horribly broken, but in reality just seems to be causing a horrible display issue. The first time I hit backspace the display adds an extra line of code under the line I was editing, places the cursor there, and starts deleting that line. As I continue to press backspace it kills characters on the line ...

Xcode SVN - do you really have to import every new file?

You can commit and update already existing files in Xcode - great. But when someone else creates a new file and adds it to the repository, there seems to be no way to refresh Xcode so that it recognizes it, even after "update entire project". The files are added in Finder, but to get them into Xcode you have to manually import them. Am I...

Simple Twitter iPhone xCode problem

Hey guys Just a quick question, I'm currently working through a tutorial on making a Twitter client for iPhone, nothing special just trying to figure out a bit more about xcode before buying books etc to learn about it http://www.yousendit.com/download/UFVxQ3Q1TlFTSUJFQlE9PQ That is a link to my current file, it is saying that I have ...

Application Loader CFBundleResourceSpecification and Application failed codesign verification errors

While using Application Loader to submit my application, I receive 2 errors: 1) Info.plist does not containt a CFBundleResourceSpecification 2) Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. For the latter, I am a registered paying developer that has creat...

How to compile a C++ program in Xcode 3.2.3?

I want to know how I can compile a C++ program with Xcode 3.2.3? In the previous version of Xcode, there was a C++ tool available for command line utility. However, after I upgraded to the latest version of Xcode 3.2.3, these options are gone. ...

How do you use AVCaptureStillImageOutput, captureStillImageAsynchronouslyFromConnection in particular?

How do you setup the completion handler for: captureStillImageAsynchronouslyFromConnection:completionHandler: for AVCaptureStillImageOutput? (void)captureDelegate:(CMSampleBufferRef)buffer error:(NSError *)error; ? ...

Adding a button to UIDatePicker

Is it possible to add a 'Done' button to a UIDatePickerView,so that users can tap it to dismiss the view. ...

get coordinates on tap in iphone application.

Hi, I am create a iphone Mapkit application. I want to get the coordinates where the user has tapped on the map screen. Best Regards, Naveed Rafi ...

What is the purpose of active executable in xcode project?

Hi Just want to know what is the purpose of active executable in xcode project? Thanks Saurabh ...

JSON validation error

[[["您好世界","Hello world","N n h o sh ji "]],,"en"] this is json object: contentOfResponseDataInJsonValue I want to get 你好世界. How do it ? NSString *returnStr=[[[[contentOfResponseDataInJsonValue JSONValue] objectAtIndex:0] objectAtIndex:0] objectAtIndex:0] ; do this ,error: JSONValue failed. Error trace is: ( "Error D...

changing the tint color of navigation bar changes the size of the view

I have a tabbar based application in which the controller of each tabbar item is navigation controller. on the navigation controller I have an image view(added by the code) starting just below the navigation bar. The problem is when i changes the tint color of the navigation bar as self.navigationController.navigationBar.tintColor = [UI...

How to measure distance between two iphone devices using bluetooth?

Hi, Everyone, I'd like to do something in the following using bluetooth. Measure and display how far my iPhone is from another iPhone. Display direction of my iPhone. For example, I'd like to display something in the following on my iPhone application. My iPhone is connected to another iPhone:Harry's iPhone. In this case, Dist...