Using Xcode

Hello! Um.. im kinda new to programming but since its gonna be my profession.. figured that Id start with Xcode. Um.. I wanna use Xcode to develop a widget that I can use to link to an HTML site. Is there someone with knowledge of Xcode or a site somewhere that I can use to walk me through this? Im willing to learn any Language so that I can make the widget. I only have some knowledge of HTML and MS-DOS but dos wont help me in mac and boo windows.

I should start with Cocoa and Objective C first? Ok. I read a review on just a Cocoa book and the dude said you should have knowledge of C/C++. But thanks! I have a lil bit of knowledge with HTML (no idea what CSS is) and I haven't done anything with Javascript. I got a book on HTML so that would probably help me. A friend of mine gave me a project to try out on my Mac since Im new to it so Ive been experimenting with it. We play this game called Final Fantasy XI online and asked If I wanted to try to code a widget of a game timer. It would be something that works by syncing with your systems clock since ingame time runs differently. It would be used to tell you the ingame day, time, moonphase, shop times, etc. Eventually I wanna cross platforms to windows since ive used Windows most of my 18yrs of life lol! Maybe even linux but for now just Mac.. its such an awsome and stable OS I wish I used one before I started with 10.4 Tiger.

Similar Messages

  • Unable to Run C Program using Xcode "Stop Executable"

    Hi All
    Have been using the Terminal to compile programs built through Xcode but now want to use Xcode itself. Everytime I press build and go it builds successfully but won't run. I found a tutorial that mentioned if you are using Xcode 3.0 (I am) you can't use build and run, for output, you have to go to run and then push console.Ok that works. I then found someone with the same issue as mine everytime you want to build and run it appears with another window saying "Stop Executable"They were told to make sure they were building the .c file in a project and not building it from a text editor and then importing. I always build new projects.
    I want to interact with the program not just see its output? so my question is can I interact with programs i.e. User can enter data or strings or, do I have to build an interface to do this through Xcode. I Also forgotten to mention I found information through the forum that said to go to First Aid through utilities and repair file permissions, this has been done but still does not work. Many thanks for your time and as you can probably tell I am new to Xcode.

    To run your command-line program in Xcode, open the debugger console by choosing Run > Console. Run your program by choosing Run > Run or Build > Build and Run. You'll have to build and run if you haven't compiled the program before. Your program will run, and you will see output in the console. You interact with the program from the console.
    If you're not able to enter input in the console, choose Run > Sync with Debugger. If doing that doesn't work, you can run your program in the Terminal application by double-clicking the program from the Finder. It's less convenient than running it in Xcode, but you'll at least be able to run the program and interact with it.

  • How can I read a serial port using XCode?

    Hello,
    I'm using an iMac 2009 with Mac OS X 10.6.7. I have a USB to Serial cable and I want to connect a hardware I made using a microprocessor Microchip PIC to my mac. I'd like to read values from the serial port and also write values to it. I'm already able to do this using the Terminal with the following command:
    screen /dev/tty.usbserial 9600
    I'd like to build my own application now. Does anyone could send me any sample code?
    I'm using XCode 3.2.5 and I'm a beginner on XCode.

    I looked at Dev Center for sample code, and I found this link:
    http://developer.apple.com/library/mac/#samplecode/SerialPortSample/Introduction /Intro.html%23//apple_ref/doc/uid/DTS10000454-Intro-DontLinkElementID_2
    I downloaded the sample Xcode project and, when I click on "Build and Run" button, it generates an error with the following message:
    "GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file SerialPortSample.c)"
    Maybe, it occurs because the code is too old (2005). I didn't find any newer sample.
    Could you help me?
    Thank you.

  • How to link individual picker view selections to download an individual file from a website or other location such as dropbox using Xcode?

    Alright, the question I have has to deal with how to link an app to a website to download files. How, or is it even possible to link individual picker view selections to download an individual file from a website or other location such as dropbox using xcode. Sorry if this is the wrong place to post this, but if anyone can help or can send a link to a place that can, I would greatly appreciate it!

    I am not getting anywhere with deploying my application or
    applet.
    I have set up my bc4j project. It contains all my VO info,
    links, application module. (proj a)
    I then have another project with DbInfo in it(has all my rowset
    info), Multiple Frames, and my Applet.java file.
    Actually I have an Applet.java file and a Application.java file
    because I was seeing if both/either worked. Anyway they seem the
    same, except for that extra window that comes up when you run the
    applet.
    I follow the steps in the oracle directions (from earlier post).
    And all seems ok. But at ---->
    [*] Select the subdirectory under myhtml where your applet's HTML
    file
    is located, and enter the directory path of the 'staging'
    directory you
    created in step 3 above, if different from the default.</li>
    [*]Select the HTML files that JDeveloper created to run your
    applet.</li>
    [*]Select all of the Java source files in your project that make
    up the
    applet.</li>
    I have no HTML file associated with my applet, at least that I
    know of.
    So do I need to create one, or should it of been done
    automatically.
    Also, I trying to figure out what will be the best way to deploy
    my project. Applet or stand alone application is what my first
    choices have been so far. I have read that there is some issues
    with applets being served from a different server than the
    database. So a stand alone application was my front runner, but
    I haven't gotten either way to work yet.

  • How to develop a simple plugin for adobe illustrator cs2 using xcode on mac os

    I would like to know the steps to develop a simple plug-in for adobe illustrator cs2 using xcode on mac OS...anything like a dialog box displaying "hello World"... I m new to MAC OS...Please help...
    Thanks in advance

    Get the SDK and start playing with the sample plug-ins. Asking for something as general as "how do I get started" is asking a little much from this forum :) Try your hand at the SDK and come back to ask more specific questions as you run into them.
    Bear in mind that this isn't an Xcode forum either, though I'm sure there are places to get good help on that!

  • Hello , how r u,  can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my

    hello , how r u,
    can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my machine cant upadte on 1.8 n 10.9,, ihave 2gb ram . core 2 duo pr, plz rely asap,
    thnxs

    Please type complete sentences and words.  This isn't an instant message program.
    https://developer.apple.com/support/ios/ios-dev-center.html

  • How to create a static library using xcode ?

    Hi,
    I need to create a C static library using xcode in order to use it in another developement environment which is Free Pascal Compiler/Lazarus.
    I have very few knowledge about C. I just know how to program the function I need and I've already written my C function using xcode.
    Using Lazarus (Pascal IDE), for example, as I use IOKit, I have declared the path of IOKit in the linking section (that is /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/IOkit) . IOKit is a unix executable, and I can use the exported functions it contains in my Pascal code.
    So, I would build such kind of unix executable where I can put my own functions written in C. But I can't figure out how to do it.
    How to export my functions ? Must I use some specific C keywords to "publish" them (export, __export,...) ? How to create an executable file like IOKit ? Which kind of project must I choose in XCode ?...
    André.
    Message was edited by: sinfoni12345
    Message was edited by: sinfoni12345

    Thanks for the response.  Yes, that's how I started.  I have now managed to get it to build static libraries; the piece I was missing was the scheme stuff.  I also tried to build dynamic libraries, but still no luck with those.  It was a little confusing because sometimes if I started a new project the scheme would allow me to create output as is; other times I had to edit the scheme first.  So reading the documentation appears to have paid off after all.
    FWIW, what I was trying to build was a missing library needed for a project in Python.  The entire project has two C libraries, which I've managed to build now, altough I don't know if there are some specific options that I need to set for them to work with the C wrapper.  The C wrapper is written in Cython, which creates a C file from Python-like statements.  The end result of linking the two libraries and the compiled C wrapper should be a file that can be imported into Python, which should have an extension of ".so".
    So far the last part is not working, so I don't know if the problem is with the build settings for the libraries, or something else.

  • How to submit my builds using Xcode 5.1.1 or later, or Application Loader 3.0 or later?

    I am using Apple Developer to make an app. How can I submit my builds using Xcode 5.1.1 or later, or Application Loader 3.0 or later?

    The controls in your screenshot are Mac controls, not iOS ones. If you have an iOS project, you can't access those controls. If you want to access those controls, create a Cocoa application project and select the xib file Xcode creates.

  • My MacBook 1,1 to use Xcode

    Hi all,
    I'm a university student & I bought an  used MacBook 1,1 laptop to learn IOS developing. It has Mac OS X 10.6.8  with 2GB ram. I tried several times to upgrade to 10.8. Without  upgrading to 10.8 I wasn't able to install Xcode too. I only want to use  Xcode in my laptop. Therefore please can you tell me are there any way  to use Xcode in my laptop. Otherwise my laptop is useless to me.
    Thank you....

    No, you cannot upgrade to Lion. Your model does not meet the minimum system requirements. Your model does not have a Core 2 Duo processor.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Apparently 4.2 is only for code development usable on Snow Leopard. Xcode 3.2.6 will be the last version that also runs on Snow Leopard.

  • Can i use Xcode 4.1 with PhoneGap 1.1.0 on Lion

    can i use Xcode 4.1 with PhoneGap 1.1.0 on Lion

    Looks like Adobe & Apache are quietly dropping support for phonegap/cordova...must be the same reasons they stopped flash on mobile last year...resources being refocused where they will be more beneficial, etc.

  • Im using xcode 4.6 and im having problems reading files using the fopen function in c

    Im using xcode 4.6 and im having problems reading files using the fopen function in c

    Yes, but that would not cause the "build  failed" message.
    right I missed that part. Looks like two problems then.
    //  main.m
    //  ASCTestFopen
    //  Created by Frank Caggiano on 3/2/13.
    //  Copyright (c) 2013 Frank Caggiano. All rights reserved.
    #import <Foundation/Foundation.h>
    #include <stdio.h> 
    int main(int argc, const char * argv[])
        @autoreleasepool {
            FILE *fp, *fopen();
            // insert code here...
            if((fp = fopen("~/test.txt","r")) == NULL)
                NSLog(@"open failed");
        return 0;
    This will compile ad run in Xcode with a project type of comand line tool

  • Using Xcode 4 with Open Directory Users

    We have a lab of iMacs (10.7.2) with Xcode 4.2 that are bound to an OD server (10.6.8).
    At the moment only a local admin user can build and run an iOS project in Xcode.
    I already changed the Primary Group for the OD users to Group ID: 204 (_developer) which resolved some issues but OD Users still can't run an iOS project in the iOS Simulator.
    Does anyone have a working solution?

    9 months later, XCode 4.4 is out and we still have the above mentioned issue.
    Is no one else using XCode with OD users?

  • [CS2]Is it possible to use XCode to develop plugin on MAC?

    Hi,
    Im new to Indesign Plugin Development.Is it possible to use XCode to develop Indesign Plugin on Mac 10.3.9 for Indesign CS2?
    SDK says that the IDE to be used is Codewarrior 9.3.I have Codewarrior 8.3
    installed in my system.Will i be able to compile plugin in this version of codewarrior?
    Please give me your suggestion.
    Thanks in advance.
    myRiaz

    I'll back up Peter on this one. InDesign is tied to the specific C++ ABI and therefore you can only use the same compiler to build plugins. There can even be problems with differing versions of CodeWarrior.
    Unfortunately I don't have a good answer for you as CW is generally no longer available for purchase. I'd start a conversation with Developer Technical Support to begin with. You can also perhaps search Ebay. Finally, as I recall CW10 was released for free from MetroWerks. If you can find that there is a chance, however slim, you could get CW10 to build a CS2 plugin.

  • HT3258 I have Snow Leopard 10.6.8 installed. For me to use XCode 4.5, I must have 10.7 or later. What is the best way to go ahead? Should I install OS X Lion and then move to Mountain Lion, or can I straight away install latest Mountain Lion, i.e. 10.8.2

    I have Snow Leopard 10.6.8 installed. For me to use XCode 4.5, I must have 10.7 or later. What is the best way to go ahead? Should I install OS X Lion and then move to Mountain Lion, or can I straight away install latest Mountain Lion, i.e. 10.8.2

    You can directly install Mountain Lion 10.8.0 to 10.6.8, and then apply the 10.8.2 Update.
    Hope this helps

  • How to use Xcode Tools with a Command Line Project

    I'm using Xcode 3.2.6, C compiler.  I've had an application for years that is command-line on the terminal, compiling with a makefile.  Now I want to actually use the performance tools included with Xcode, such as threads, time profiler, etc.  How do I do this?
    I created a project for it (never did that before), added source files, etc -- it seems to work.  It created the application, which will run via the terminal like always.  But whenver I try to use Run (inside Xcode), a window opens up saying "Stop Executable".  I have to click OK and that's the end of it.  Nothing has happened.
    I found an old query on the web similar to this from 2008.  The suggestion was to open the console.  Still nothing.  "Sync with Debugger" does no good.  Please help!

    That I understood.  I did try Run > Console.  Nothing intelligible happened.  Then I synced with the debugger.  he program is called fer64.  I get this:
    No executable file specified.
    Use the "file" or "exec-file" command.
    No executable file specified.
    Use the "file" or "exec-file" command.
    The program being debugged is not being run.
    The program being debugged is not being run.
    Not executing.
    (gdb) r fer64
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Con tents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Starting program:  fer64
    Not executing.

  • How to use xcode to compile standard C prgram

    Hi all,
    I am a new developper in xcode. I have several standard C programs written by myself before.
    I have problem to open them with the new xcode (4.1 i guess). If I drag the program folder to xcode icon, nothing happens. I noticed through xcode I can start a new project or workspace, then I can add my program to it.
    However, problem still exists. e.g. my program contains several files (*.c *.h), if I select one variable and select go to the definition of it, xcode cannot find the definition.
    Besides I cannot debug neither run the program in xcode.
    Normally I compile my codes with gcc or icc in terminal, but now I am totally lost in xcode. I know my questions sound silly, hope some guys can help me out of it and I will appreciate a lot.
    Mono

    First, if you normally compile your code in the Terminal, you can keep doing that. You don't have to use Xcode.
    In Xcode 4 every program requires a project, even simple command-line programs. Create a command-line tool project. Choose File > New > New Project to create a new project. Select Application under Mac OS X on the left side of the New Project Assistant. Select Command Line Tool from the list of application projects. Click the Next button. Choose C from the Type menu. Name the project. Click the Next button. Select a location to save the project and click the Create button.
    After creating your project, add your source code files to the project. Choose Files > Add Files to ProjectName to add the files to your project. You may need to delete the main.c file Xcode created when you created the project.
    If you want to debug your project, click the Breakpoints button in the project window toolbar. Click the Run button in the toolbar to build and run your project. If you click the Breakpoints button, your program will run in the debugger. If you don't see the debug area at the bottom of the project window when running your program, choose View > Debug Area > Show Debug Area to show it. You need the debug area open to do command-line input and output in Xcode.

Maybe you are looking for

  • Can someone please help me with scanning with Photoshop elements 13?

    I have been scanning pictures with no problem with Elements 13 but all the sudden any picture I try to scan it tells me "Nothing imported File or Folder to import did not contain any supported file type or file already exists in catalog."  I know the

  • Having difficulty connecting apple tv with amazon instant video

    II'm having difficulty connecting apple tv with amazon instant video or it won't stay connected. Help!

  • Pending Quantity for Receipts

    Hi all, I am trying to create a report in Receivables which tracks the Receipts having Pending Quantity i.e, Quantity_Received - Quantity_Accepted = Quantity_not_Inspected. Can anyone tell me weather any standard oracle report is there for reference.

  • Retry an http request

    Hi,           Is there a way to instruct an http client (browser) to re-issue the same           http request it issued for this request ?           The scenario is as follows :           I have a client sending a "heavy" http post request, now when

  • New trackpad - broken and blemished?

    Hi there, I bought a brand new Apple Magic Trackpad straight from Amazon the other day. When it arrived today I noticed an unremovable 'blemish' spot on the brushed aluminium front which is rather annoying. In addition to this, there is some kind of