IPhone SDK Help!

In the video tutorial in iTunes for the introduction to iPhone SDK, it says for my project template to be Cocoa Touch List. I don't have any cocoa touch options displayed on my project templates!

If you're running the official version, you won't see it anymore. You'll have to manually create the classes.

Similar Messages

  • IPhone SDK:  What are my options for getting help?

    I am an experienced programmer, but new to the mac and iphone. I've installed the sdk, but am not able to build the sample programs. I see from this forum that others have had the same problem, but I don't see an answer. I understand that there are many helpful people on this forum, but what do I do if I can't get my question answered? Should I spend the $99 to enroll and be able to get an answer?
    BTW, my question is about not being able to target the iphone or simulator, and getting an "ibtool cannot open files of this type" error, even though I've installed the iphone and simulator sdks. More at http://discussions.apple.com/thread.jspa?messageID=8559012.
    I appreciate any help, whether it's with my build problem or advice on where I should turn to for help.

    gvsguy wrote:
    Should I spend the $99 to enroll and be able to get an answer?
    If you're really using a G5 iMac, I doubt you'll get much help from Apple. The iPhone SDK is only supported on Intel Macs, so they probably wouldn't be able (or not very willing) to help. Google is more likely to be helpful, assuming someone has found a way to use the iPhone SDK on PPC Macs at all.
    charlie

  • Help-I downloaded iPhone SDK - Installed, but I cannot see it.

    I have a PPC G5 2GB of RAM running Leopard.
    I installed iPhone SDK but when I use XCode 3.1 Beta, no iPhone projects show up nor does the documentation for the iPhone APIs show up either.
    Does the iPhone SDK only work for Intel architectures?
    Thanks,
    Jim

    I have a Rev A G4 PowerBook, and from the individual packages on the SDK dmg I was able to install the "Aspen" simulator files. I had to put them into the Developer's folder for everything to work. When I run the simulator I only have access to photos, preferences, addresses and safari. Fun to play around with - but it is only a simulated iPhone (we Canadians must be happy with that for now). I'm trying to build a simple app in xcode now.
    Good luck...

  • Learning iPhone SDK - Trying to draw an image

    Although I have programmed for Mac in the last years, I have never used Mac-specific technologies as Cocoa (I have programmed more in OpenGL, SDL, and the like).
    Now I am getting started with the iPhone SDK. I'd like to do some OpenGL|ES stuff, but since it is not supported in the Simulator, and you need to join the Developer Program to test stuff on directly on the device (and admission of new members is closed right now), I am focused on other stuff right now, like using Core Graphics for drawing images on the iPhone.
    My application is based on the Cocoa Touch Application template. I left the default code except for a few changes.
    In file "UntitledAppDelegate.m", I have changed the method applicationDidFinishLaunching to:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    contentView = [[[MyView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease];
    [window addSubview:contentView];
    [window makeKeyAndVisible];
    Then, in the MyView interface file (MyView.h), I have added the attribute "UIImageView* image;" to the class, which is declared as a property, and synthesized.
    In the class implementation (MyView.m), I have changed the method initWithFrame to:
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    self.backgroundColor = [UIColor darkGrayColor];
    image = [self loadImageView:@"box01.png"];
    [self addSubview:image];
    return self;
    loadImageView is a private method I have implemented as:
    - (UIImageView *)loadImageView:(NSString *) imageName {
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *theView = [[UIImageView alloc] initWithImage:img];
    return theView;
    Since I have loaded the UIImage, and initialized a UIImageView with it, and the image view is added as a subview of the main view attached to the window, I thought it should be everything needed to draw an image on the screen. But nothing is visible. The screen is simply black when I run this on the Simulator. It doesn't even set the background to dark gray.
    So I need some help with this, I sure that anyone with experience in Mac programming will know how to help me.
    Thank you in advance.
    Message was edited by: Jedive

    I removed the XIB file from the project, but that didn't help. It was a problem with my inexperience with Objective-C. When accessing class properties in a method of the same class, i was not putting "self." before the property (in C++ that's redundant). For example, in the line "window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];". After adding it, it works correctly.

  • Problem in set selectedTextcolor in uitableview cell in iPhone SDK 3.1.2

    Hello,
    I set selected text color in uitableview cell using cell.selectedTextColor = [UIColor whiteColor]; for iPhone SDK 2.2.1.
    Now i use iPhone SDK 3.1.2, So for that i make change as per documentation for that i use textLabel properties. But selectedTextColor is not exit.
    So Now for SDK 3.1.2 how to set selectedTextColor?..
    Thank you.

    The textLabel property is an instance of UILabel, so it has its own textColor, textAlignment, and font properties. E.g.:
    cell.textLabel.text = @"foo";
    cell.textLabel.textColor = [UIColor whiteColor];
    cell.textLabel.textAlignment = UITextAlignmentLeft;
    Hope that helps!
    - Ray

  • IPhone SDK : Communication between iPhone client and a remote server

    Hi,
    This is w.r.t iPhone Cocoa Touch native application.
    i need to populate my application 's data from a remote application server ( which in turn connects to the database) . I require some tips in the communication between client sitting on the iPhone and the remote application server. I am planning to proceed in XML transaction way.
    I referred the SeismicXML sample application provided by Apple. In this sample,client reads the physically existing xml file from @"http://earthquake.usgs.gov/eqcenter/catalogs/eqs7day-M2.5.xml"; and the client parses the xml file and display the content on the table view.
    i have following 2 queries ,
    1. I do not want to read from a physically present file,i want the data to be transferred on the go.
    Means, request should be sent from the client to a application server and the server process returns the data in form of xml file ( but its not creating any physical xml file) .
    Basically i am looking for request - response concept.
    2. Can we call a java process(which returns xml data) running on a remote server from the cocoa touch client.? If not java process,what would be other best way...
    i am going through the Apple provided frameworks. Do any of the iPhone SDK frameworks support this request? If some one has any idea on the above mentioned queries, pls help me.
    any pointers will also be helpful.
    It might be too early to talk about these,but i have to take some business decision related on this.
    thanks in advance.

    You already know how to send a string via HTTP Post? And you know how to make XML into a string? Put the two together.

  • IPhone SDK custom installation, what do I need?

    FYI, I will be developing iPhone Apps only and don't want to install unnecessary things.
    Options are:
    Developer Tools Essentials (Required.)
    iPhone SDK (Obviously need.)
    System Tools (Do I need? It's checked by default.)
    UNIX Development Support (Do I need? It's checked by default.)
    Mac OS X 10.3.9 Support (Know I don't need, not developing anything for OS X, particularly not an old version.)
    WebObjects (Do I need? It's NOT checked by default.)
    Thanks.

    Hi--
    Welcome to the Apple Discussions.
    System Tools (Do I need? It's checked by default.)
    I would suggest "yes." That's the installer for the performance tools. Shark, especially, can be invaluable for profiling your code.
    UNIX Development Support (Do I need? It's checked by default.)
    I'd suggest "yes." It's command line tools you might want at some point (to help in automating builds, etc.). Some aspects of scripting with OS X can also be made easier if you have the UNIX dev support installed.
    WebObjects (Do I need? It's NOT checked by default.)
    Definitely not, that's a web application framework you'd use if you were building a web site.
    charlie

  • IPhone SDK b3: How I fixed broken (blank) Research Assistant

    Hello, I wanted to give this thread a new title as the original thread didn't indicate "iPhone SDK" in the title, and was in reference specifically to b2. The original thread:
    http://discussions.apple.com/message.jspa?messageID=6935634#6935634
    Here are my findings. Research Assistant was working great for me until I upgraded my original (b1) iPhone SDK directly to b3, skipping b2 entirely. In reading posts in the aforementioned thread, this problem seems to occur when going from b1 -> b2, and I can surmise probably also from b1 -> b2 -> b3.
    The comments in the aforementioned thread were useful in helping me reach a fixed state, for which I conclude a clean re-installation of b3 was necessary. Just doing steps 3) through 6), inclusive, _did not fix my problem._
    1) Uninstall iPhone b3 SDK
    sudo /developer/Libraray/uninstall-devtools --mode=all
    2) Reboot. Reinstall iPhone b3 SDK. Reboot.
    3) Launch Xcode. "Go to Xcode : Preferences... : Documentation"
    4) Click + to add the following entries (you might already see a bunch of grayed-out entires):
    /Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets
    /Developer/Documentation/DocSets
    /Library/Developer/Shared/Documentation/DocSets
    5) Exit and relaunch Xcode
    6) Go to "Project : Edit Project Settings" and click on "Rebuild Code Sense Index".
    After doing all of this, my Research Assistant now works. I wanted to share this with the community in hopes that others learning the iPhone SDK aren't dissuaded by this issue, which can cause a very substantial barrier to learning its APIs quickly.
    -Jeff Ishaq

    Thanks for all the tips. Unfortunately for me it still doesn't work
    After trying for a day I give up ... bulky docs pane here I come.
    Might be because I am using standard Xcode Dev Tools and not the iPhone SDK version of it, but I am still hoping Apple will release a fix for this annoying bug.

  • How to control the movie player in iPhone SDK 2.0?

    Hello, everybody!
    With the third beta version of iPhone SDK I finally played a movie with the example from the manual. But I need to seek in the movie and control the playing process. With the MPMoviePlayerController class this is impossible, because it has four properties (backgroundColor, contentURL, scalingMode, userCanShowTransportControls) and only three instance methods (initWithContentURL, play, stop). The notifications are two (MPMoviePlayerScalingModeDidChangeNotification, MPMoviePlayerPlaybackDidFinishNotification). How can I know what is the current position of the head and how can I change it? I can't find other classes, which can play a movie. Can somebody help me?
    Stefan

    HeoU wrote:
    Hi Tsvyatkov,
    Do you HAVE [these problems|http://discussions.apple.com/thread.jspa?threadID=1486343&tstart=0] while playing video playback?
    - The keyboard doesn't appear after playing the video (It works great before playing the video)
    - When you play the video, iphone simulator turns in paysage mode. Then when you stop it, it doesn't turn back (SDK beta 3). It worked fine with the SDK beta 1, 2.
    - If you chose a video from a list (UITableView) and you stop the video, then come back to the list, the item is still selected with the blue color.
    thanks
    HeoU
    Yes! I have the same problems! And with the older versions of iPhone SDK I didn't.

  • IPhone SDK: unrecognized selector

    I'm relatively new to Objective-C/iPhone SDK development. I have an issue that really seems to produce random (or at least nondeterministic) errors, all of which are "unrecognized selector" errors.
    I have a UITableViewController that is populated with table names from a MySQL database. When I select a table name, a second UITableViewController is created to display detailed data. I thought this was working just fine, but I discovered I have problems when I select a certain table name, (detailed results are displayed in second UITableViewController), go back, select the same table name, (...), go back, and select the same table name a third time. The Simulator explodes and gives me an error like:
    * -[UICGColor length]: unrecognized selector sent to instance 0x1050810
    Sometimes it's related to UICGColor, sometimes it's related to CALayerArray. Sometimes it doesn't produce any error at all and just terminates.
    What's also weird is that only some of the table names cause this to happen. Also, if I cycle through several table names (i.e., not select the same table over and over), the app is fine. I would tend to think that maybe something is wrong with my database or MySQL C API usage, but the fact that things are perfectly fine the first and second (and third and fourth and ... and nth for some tables) time baffles me. I'm not using any dynamic method calling either -- just straight
    [ object method: ] syntax, so I'm not sure how it suddenly can "lose" the selector reference that it was perfectly happy to use earlier. As far as I can tell, I'm releasing memory as necessary.
    Any clues why this seems to be so weird and unpredictable? I can provide source if it would help.

    Ugh. Problem solved. I was tampering with autorelease, and it got me into trouble. I had this:
    query = [ [ [ NSString alloc ] initWithFormat:@"...%@", [ [ tableView cellForRowAtIndexPath:indexPath ] text ] ] autorelease ];
    I thought that I should autorelease the "anonymous" object I created. It made sense at the time, but upon thinking about retain/release more closely, it's so clear now.

  • IPhone sdk

    I just bought an iPhone 3g. I want to
    get into programming on my MacBook
    Pro, for my iPhone. I was looking into
    the apple website, and I saw a download
    for iPhone sdk. On the download they
    List some of the tools you will get with
    the dowload. My question is, I already
    have the developer tools, on my
    computer. And some of the tools are
    Like Xcode and interface builder. Which
    I know I have, on my MacBook pro.
    I don't know if I have the iPhone
    simulator, though would this come with
    the developer tools? I don't want two
    versions of Xcode on my computer.
    Is there a way to just download certain
    programs from the iphone sdk?
    Any help would be appreciated.

    I don't believe there are any iPhone tools on the install disks. You should get the latest builds from http://developer.apple.com/

  • IPHONE SDK FOR DEVELOPERS.

    Hi Mates,
    After many trials, I managed to download the iPhone SDK. I have the following folders :
    AccelerometerGraph,
    BubbleLevel,
    CryptoExercise,
    HelloWorld,
    PVRTextureLoader,
    SpeakHere,
    TouchCells,
    UICatalogue.
    I am not sure if all the folders were downloaded well.
    I have some problems to start. I have Windows Vista. Can the iPHone SDK run under Vista or does it require Mac OS.
    Thanks to help.
    Judex.

    Thanks for the "friendly" note, but as a "friendly" reminder to you - this is a user to user help forum that is primarily composed of "average joe" users of the iPhone. And what I mean by that is, this is not a computer programmer's forum.
    Nothing personal against the OP for this thread, but he missed the minimum system requirements for the SDK provided at Apple's website where the SDK can be downloaded. Based on this alone, and I could very well be wrong, but I venture to say that he is not a computer programmer, or is not a programmer by profession.
    I certainly could have worded my reply differently to be 100% accurate in regards to technical details for the computer programmer and anal retentive type, which I venture to say these discussions are not primarily composed of.
    I included the part about the iPhone running an optimized version of OS X in regards to Apple's minimum system requirements for the SDK primarily to keep it simple since I expected - "why doesn't Apple utilize resources to support Windows with the SDK?"
    Most people who ask that question are not computer programmers as a hobby or by profession either.
    To keep it simple for what is likely the majority here, which probably does not include many computer programmers by profession - Apple could port the SDK to Windows, but since Apple sells computers and other hardware including iPods and the iPhone, along with their own software, Apple chose to support an Intel Mac running Leopard only for the iPhone and iPod Touch SDK - with both the iPhone and the iPod Touch running an optimized version of OS X.
    Thanks for the note and clarification.

  • IPhone SDK 3.1.3??!?!?

    I have been trying to download the iPhone SDK 3.1.3 for hours, but I can't seem to find where to download it. I've read on the Apple site that it was free to download. I have found it before, tried to download it, and said I needed to log in. I was already logged in and was extremely confused. I can't use the 3.2, I've already tried, because I don't have the version computer that it needs. All I really want to do is make some iPhone/iPod Touch apps for free and get some knowledge out of it. Can someone help me??

    I had the same problem, but finally found this link for the download:
    http://developer.apple.com/iphone/download.action?path=/iphone/iphonesdk_3.1.3__final/iphone_sdk_3.1.3_with_xcode_3.1.4__leopard_9m2809a.dmg
    This blog post lists the links for quite a few older versions of the SDK:
    http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html

  • Iphone sdk for iphone os 2.1 final dmg does not install

    Hi all,
    opening the dmg file
    iphone sdk for iphone os 2.1 final dmg
    fails with the error -4960.
    A small message box pops up defining this error.
    Is it because I have a PowerPC still so that developing apps for the iPhone / iPod Touch is not possible, or is it due to a download problem? (I resumed the download a couple of times in Safari)
    Thank you in advance for your help,
    Thomas

    The iPhone SDK requires an Itel Mac. [See here|http://developer.apple.com/iphone/program/download.html] in gray text below the +Download now+ on the left of the page.

  • Problem in downloading IPhone SDK

    Hi Everybody,
    I am trying to download the IPhone SDK for learning the iPhone application development. I have created an apple id. But whenever i try to login to the iPhone dev center (using the url: https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?appIdKey=D635F5C 417E087A3B9864DAC5D25920C4E9442C9339FA9277951628F0291F620&path=//iphone/login.ac tion) I get the following message.
    We are processing your request. Please wait a few moments then refresh this page.
    I am completely new to this area. Can anybody please help me?
    Thanks and Regards,

    I have registered and cannot download the iPhone SDK at
    http://developer.apple.com/iphone/download.action?path=%2Fiphone%2Fiphonesdk_3.1.3__final%2Fiphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard_10m2003a.dmg
    Safari says "The operation could not be completed"
    Should I get that file via torrent? If so, is there a checksum/hash I should check?

Maybe you are looking for