I FINALLY got the new version of xcode and the iOS4 downloaded and was finally going to attempt to put my first app onto a device. I was going through the provisioning profile and got to the point where I needed to open xcode - then all it says in the "Device" pulldown is "Base SDK Missing". WTF??
If I go to Project - Set Active SDK -...
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark
{
[self doLog:[placemark.thoroughfare description]]; [self doLog:[placemark.locality description]];
if ([geocoder retainCount]) [geocoder release];
}
Displays as:
How can I make this work so that I can display these (thoroughfare & locali...
I'm new on Cocoa OBJC and iPhone dev.
Where to find the default background that apple uses everywhere (like the one on the iphone's default setting app) ?
It's possible to set the image from interface builder or you have to set by line code?
Thanks
...
For some reason I cannot get the Settings.bundle to recognize my additional languages. I must be missing something obvious, but I just cannot figure it out. Here's what I've got:
Project Structure in XCode:
Root.plist file:
French Root.strings file
From everything I've read, I believe the project structure is right. The Stri...
I'm building an app to iOS 4.0 and it crashes upon launching when xcode installs it. It crashes when loading my root view controller. It crashes at:
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor blackColor];
UIButton *button1 = [UIButton buttonWithType:UIButtonTypeCustom];
When I step th...
I have successfully downloaded an sqlite datafile from my testing app on my provisioned iPhone using the Xcode organizer. How might I upload an sqlite file to the iphone to replace the data store that I am using in my app?
...
A beginner question here.
My goal: to understand the design rationale behind this.
When I created a Command Line tool project that links against Foundation class, xcode generated the following code snippet.
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code...
Instruments launches my app on the device and listens to the allocations. (In "Allocations" mode) It launches extremely slow. Then the app quits after about 35 seconds. On the simulator Instruments runs fine.
Is there a solution to this? Is iOS killing my app? How am I supposed to debug this if Instruments increases launch time that much...
HEllo,
I have just installed xcode 3.2.3 and SDK4. I need to use ASIHttpRequest and then follow the instruction setup for this.
I need to add several frameworks and lib (as described here: http://allseeing-i.com/ASIHTTPRequest/Setup-instructions but I cannot find CFNetwork in the list.
xcode only shows "Base SDK Missing" in the list wher...
How can I upload Video on Facebook..........?
If anyone has source code please Reply Me .....
...
I keep getting this warning
warning: passing argument 1 of 'CGPathMoveToPoint' discards qualifiers from pointer target type
I am calling the function like this
const CGAffineTransform m = CGAffineTransformIdentity;
CGPathMoveToPoint(path, &m , nextPos.x, nextPos.y);
I already tried
CGPathMoveToPoint(path, NULL , nextPos.x, nextP...
I want to use a command-line with a argument to call my cocoa app , but in my cocoa app ,how to receive the argument , this argument is a file path, thank you very much!
...
Hi all,
I want to develop an iphone app which communicate with the hardware by using tcp/ip.
Now, the app send to the hardware is ok.
For the convenience to develop, i want to use fire event to develop the receiver.
Does anyone has any ideas?
Joe
...
I would like to use the libical library in my project, but I have never used an external library before. I have downloaded the libical files, but I am pretty much stuck there. I do not how how, or even if, I need to build/extract them and then how to get them into Xcode. Any help would be greatly appreciated. Thank you.
...
Hi
Anybody can help me with compiling mp4v2 on Mac OS X? I've tried configuring and compiling as per the instructions but I got a lot of errors originating from the C++ headers. The configure command was ./configure --enable-ub followed by plain make at the Terminal.
From the looks of the error messages, it seems that a number of hea...
Hey,
Up until recently I was working alone on all of my iPhone project code. I recently added another member to my team and was wondering what's the best way to work on the same project together? Where to put the actual code online (right now we're using dropbox)? Which source/version control tools are best to use with small teams worki...
Hi guys,
I'm developing an application where I have a login screen. I'd like to have the user credentials stored in a MySQL database.
I have a database created with id, username and password fields. I can run a select statement and the console shows the results.
I was wondering how would I go about making a login screen with usernam...
How do I get the following process to work.
I create a blank new XCode project with a Console target.
If I build and debug it now, it prints "Hello World".
I add a new target to my project - I want a dynamic library. Add a .c file that contains at least some function so that building the dylib project produces an output file.
I right c...
Hey i'm new to objective C and developing apps, i'm a web developer and would like to link a certain image in my project to a certain page
(like a href in html)
But i have no idea how to do it.
Any help would be much appreciated.
edit:
Sorry, i should have been clearer. i would like it to link internally to another part of my app. essen...
I noticed on Xcode 3.2.3 that of the three simulators available both the iPhone(water drops) and iPad(night sky) show background images. Is there a way to add a few photos to Photos so that I can set one as a backdrop.
NB: I tried dragging an image to Safari in the simulator and then clicking/holding and saving but the image does not sh...