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/

Similar Messages

  • IPhone SDK - What is the equivalent of a combo box

    I have a screen where there are quite a few items which are of the multiple-choice type. In other platforms i use a combo box (pick lists) to do this.
    On the iPhone SDK the only thing that comes close is the UIPicketView which is ugly IMHO. it takes too much real estate and too heavy.
    Is this is the only control available now?
    Also does the UIPicker come with an associated control which will launch the picker? What i mean is on other platforms and on the web there is a text field with a button with a down arrow next to it. Clicking either on the text field or the down arrow drops the list down. Is there a similar control on the iPhone which when clicked launches the picker OR do i have to create a button or a custom view which will launch the picker?
    Thanks for reading this and for your feedback.
    -TRS

    I do not believe there is an equivalent of -D in the DB JVM, a possible solution is:
    Load a properties file into the DB using Loadjava, then open this file from your Java code using Properties.load(), then iterate the properties calling System.setProperty().
    Chris

  • 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.

  • IPhone SDK CodeSign Error: Redux (latest OS X update is broken)

    This bug - http://discussions.apple.com/thread.jspa?threadID=1455699&start=0&tstart=0 - is back. My AdHoc project, which worked perfectly last week, has just stopped building, with this:
    "object file format invalid or unsuitable"
    As soon as I upgraded from 10.5.7 to 10.5.8, this bug appeared.
    However, this bug was officially fixed in 10.5.7 - so, I'm guessing here, Apple has accidentally re-created it.
    Unfortunately, I cannot add to the original post, because Apple has frozen the topic.
    So, here's a new topic to ask if anyone else is having this problem, and what they did about it - is it exactly the same as the old bug? or is it different in some way?
    I'm going to try some of the workarounds for the old bug - but hacking command line scripts isn't fun, and I'm worried I might break something even worse .

    iPhone Dev Center
    Downloads
    Read me before downloading
    If you have updated your device to iPhone OS 3.1.3 with iTunes, you must install iPhone SDK 3.1.3 in order to continue with your development.
    *iPhone SDK 3.1.3*
    iPhone SDK 3.1.3 includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
    _Posted: February 2, 2010_
    Leopard Build: 9M2809a
    Snow Leopard Build: 10M2003a
    *Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.1.4
    iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
    *Snow Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.2.1
    iPhone SDK 3.1.3 with Xcode 3.2.1 Readme
    *Other Downloads*
    iPhone SDK Agreement
    iPhone Configuration Utility

  • IPhone SDK 2.2 memory corruption

    Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a database of animals so I'm constantly loading and unloading sounds and images. None of the objects are very large (at most I'll have 4 800k pngs loaded at once) and I've checked and rechecked my alloc/retain/release and everything is in order (hence no memory usage increase). However...after using the application for a while I'll notice strange behavior. For example:
    1) we have a UILabel as the title for each page. After a while the font size of this will change.
    2) I have several screens with a subclassed UIScrollView where images are loaded and then added to. The problem shows itself here by the images not showing up. there's no crash, stepping through the debugger shows that the image loads up fine, it's just that the image is not there.
    3) I have a UILabel at the top of an animal description screen, which in the nib file is called "Animal Name" by default. This will change to show "Animal Name" at the top.
    I've removed all audio in our latest build so that isn't the problem. What I'm starting to suspect is that altering anything defined in a nib file will cause corruption. For example, the UIScrollView is defined in the nib file, and I constantly am reassigning the contents of that with a UIImageView. This UIImageView is handled within the subview class like :
    UIImageView *imgView = [[UIImageView alloc] initWithImage: [ UIImage imageWithContentsOfFile:[[NSBundle mainBundle ] pathForResource:imageToLoad ofType:@"png" ]] ];
    imgView.tag = 50;
    [self addSubview:imgView ];
    [ imgView release ];
    Then later when moving away from the screen I'll find that view's tag and remove it from the superview (since addSubView increases the retain count, the alloc+addSubView is cancelled by release+removeFromSuperView)
    I can't explain why titles that are never changed would be affected, but it must somehow be related. What I'm wondering is: are there any known issues involving modification of the contents of objects defined in Nib files? Perhaps the memory allocated when initWithNibName is restrained, then any modification of objects allocated within it can cause corruption. I'm starting to think I should just alloc and free anything modified in code and skip using nib files altogether (I reset the text on buttons for example). If this is a known issue please let me know. I'll give you more information if I can.
    Thank you

    Just download the huge SDK package and install. No need to uninstall the old SDK.

  • 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.

  • Running iPhone SDK & Leopard on G4 1.42 emac?

    Looking for a cheap entry point to get into developing apps for iphone. I can get the 1.42ghz G4 emac for $200 or G5 PPC 2.0ghz for $775.
    I've read that the G4 will run leopard, but havent found anyone running leopard and iphone sdx on the G4. I'd like to try things out first on the G4, but is it going to be so unbearably slow that I'm going to regret taking the cheap way out? Thanks.

    montyplease wrote:
    Looking for a cheap entry point to get into developing apps for iphone. I can get the 1.42ghz G4 emac for $200 or G5 PPC 2.0ghz for $775.
    I've read that the G4 will run leopard, but havent found anyone running leopard and iphone sdx on the G4. I'd like to try things out first on the G4, but is it going to be so unbearably slow that I'm going to regret taking the cheap way out? Thanks.
    Further research has led me believe now that iPhone SDK will only run on Intel based machines. If that is indeed the case, neither machine will work for me.
    <Edited by Moderator>

  • 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

  • Installing iPhone SDK on Tiger

    i have iMac with Tiger(upgraded to 10.4.11). i want to start development on iPhone.but when i am installing the iPhone SDK(http://developer.apple.com/iphone/program) it says
    "Mac OS X 10.5 was not found.".Can anyone tell me how can i upgrade my iMac from 10.4.11(Tiger) to 10.5(leopard).

    <http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=E5 E386CE&fnode=home&nplm=MB427Z/A>

  • How to switch between views in iPhone SDK

    I have been tasked to learn the iPhone SDK. I know Actionscript, Javascript and some Java, but I cannot understand the iPhone SDK at all. I cannot understand the syntax or how the multitude of files work together. Also, there are no tutorials for complete beginners that show step-by-step what to do and why.
    All I am trying to make is an application with a couple of views that change when the user touches a button. What is the easiest way to switch from one view to another?
    Also, what is an AppDelegate? What is "synthesize"? What is "nonatomic,retain"? Why can't I write code like this... theButton.onClick=loadView("NewView");

    Ok, you really need to read up some on how Objective-C and Cocoa work.
    That said, If you make a new project in XCode using the "Utility" template, you can immediately run it and see a view transition (flip).
    Ultimately, however, what you're looking to do is way beyond what you should be expecting to be to be able to do at this point. Programming a scripting language (Javascript, ActionScript) is much different than programming in C/C+/Objective-C/Objective-C+. While not directly applicable to the iPhone, you'll probably want to buy and read Aaron Hillegass' book "Cocoa Programming for Mac OX X 3rd Edition".
    There is a tutorial on the iPhone Dev Center (log in, main page, bottom right, under "resource types", click "Guides", and look for "iPhone Application Tutorial" on the next page) that is worth reading.
    rob.

  • 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.

  • IB 3.1 iPhone SDK - UITableViewController?

    When you drag an instance of UITableViewController out of the IB Library in the iPhone SDK, you get a view with a tableView in it.
    Now if you have an existing window and other objects in that window, including a tableView (that you are trying to add a controller for), how are you supposed to do it?
    Usually, controller objects in IB just appear at the top-level in your nib file and have properties to connect them to the view object (a tableView) and the model object (the content).
    What is this new thing where it opens a view with a tableView in it already?
    Anybody know? Do I have to start the whole window with this view and add other objects to it? It's not even in the window - it doesn't even have its own window.

    iPhone Dev Center
    Downloads
    Read me before downloading
    If you have updated your device to iPhone OS 3.1.3 with iTunes, you must install iPhone SDK 3.1.3 in order to continue with your development.
    *iPhone SDK 3.1.3*
    iPhone SDK 3.1.3 includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
    _Posted: February 2, 2010_
    Leopard Build: 9M2809a
    Snow Leopard Build: 10M2003a
    *Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.1.4
    iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
    *Snow Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.2.1
    iPhone SDK 3.1.3 with Xcode 3.2.1 Readme
    *Other Downloads*
    iPhone SDK Agreement
    iPhone Configuration Utility

  • 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.

  • Your Session has Expired - iPhone SDK 3.1.2

    I am new in development. I had my activation done. I try to download from my Mac - Safari and Firefox and I have this error.
    Your session has expired.
    Please return to the ADC Member Site and attempt to download the file again.
    If you feel you received this message in error, please reference this code when contacting the ADC Support Team: V2
    I had been trying for almost a week and still have this error. I had submitted my problem to Apple but no reply from them. Anyone can advice on this.
    regards

    Updating - my issue was solved:
    I've noted that when I was trying to download it through my VPN connection (which connects my internet with my office internet), I forgot to check the "Send all traffic over VPN connection" under the "system preferences - network - My VPN Connection - Advanced...". After checking that this option was "enabled" and all of my network traffic was passing through the VPN, I succeeded downloading it. By that point it must be something wrong with my ISP "Telefonica Espana - Madrid".
    It turns out to be a "intercept proxy" which was implemented by them. As I'm a new subscriber to their service, by default, they redirect my internet connection through this proxy, which they "offer" as a "security" service in order to avoid spamming, fishing websites threats, "parental control" over the web and finally as a "ad blocking proxy". My actual ISP (telefonica espana) offers it by default to their new subscribers and after 30 days they charge us 3,50 EUR/month for this proxy service called "Canguro Net Plus". Actually this clumsy proxy service was blocking my download requests on http://developer.apple.com/iphone. Even after disabling the "Canguro Net Plus" service through its web page configuration, it was still forcing my internet connection to pass through their clumsy proxy. I had to call to their customer service number to request it to be cancelled (They will only accept to cancel it if you call them by phone). After that I'm now able to download the iphone sdk 3.1.3, 2.82 GB in 45 minutes.
    So, if the workaround mentioned above, regarding the change from http to https, doesn't work for you, I suggest you to try a VPN connection in which you must be able to access the internet as well. As a diagnose action you can even try to download it through the "Tor" (The onion router) just to let you verify that through "Tor" you are able to download just a small part of the 2.82 GB. "Tor" is really slow therefore you won't be able to download the iphone sdk (as I said - it's only for a diagnose action). It'll just indicate you that your ISP probably is blocking your download with a clumsy "intercept/cache/transparent proxy" service. Maybe you are able to detect that your ISP is applying some kind of proxy service over your internet connection. Just google it or contact your ISP customer service.
    Good luck!

  • IPhone SDK on PPC

    Hi,
    I am fully aware that the iPhone SDK is NOT supported on PowerPC based macs.
    I have read several tutorials on how to make it work (including http://3by9.com/85/), but I have found something quite annoying.
    All of the tutorials refer to a package named "Aspen Simulator", but it is NOT in my "Packages" folder of the SDK I downloaded. Also, tutorials say the install is about 5 gig, mine was four gig.
    My best guess is that the tutorials were made for the beta versions of the iPhone SDK.
    How can I develop iPhone Apps on a PPC based mac? I do NOT want to put them on the App Store, I am just eager to experiment.
    Thank you.

    Thanks! I managed to get the simulator running!
    Just need to clarify one last thing:
    To test on my iTouch, I need to pay the $99 fee right?

Maybe you are looking for

  • Quicktime error..help!

    I just bought my ipod mini and have been trying to install it onto my computer. I've tried from the disc numerous times, and from the itunes website. Everytime I am "done" installing, it tells me I need to update quicktime to 7.0 or later. After down

  • Without Quality inforecord for vendor-material  - GR with spection?

    Dear Friends, Without Quality inforecord for vendor-material combination  - GR with inspection lots were created, kindly explain me the possible reasons for that. and do also mention that whether the quliaty inforecord is mandatory or not? Regards, A

  • Harddrive Probl

    Right,I have a 30 GB Creative Zen Vision M,and recently it froze while in use after resetting the unit it automatically booted in recovery mode. After trying the clean up function it where it stopped on scanning disk I tried formatting where all I go

  • Error in KPI Monitoring Screen

    Hi All, I am new to KPI Monitoring. Is that any example I can get for configuring it. I follwed this docment "http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1061e1c5-e25b-3010-aaae-bca7eb47837e?overridelayout=t…" I tried with poin

  • Why Apple did not provide Installation Disk in MacBook Pro Mac OS Lion 10.7?

    I want to reinstall my MacBook Pro with Mac OS X Lion , I want to reinstall it without using Ethernet, Wi-fi, etc... I want to reinstall using a Installation Disk but there is no Installation Disk when I bought my MacBook Pro. Why Apple did not provi