IOS Xcode vs OS X Xcode

I'm a Mac newbie. I'd like to give Xcode a try. I've searched the 'net, but all that I've found is example code for iOS. Is Xcode for iOS identical to Xcode for OS X? Should I search the 'net for example code for Objective-C? Is Objective-C identical to Xcode? I'd like to get some books. Should I get beginner books for Objective-C or beginner books for Xcode or does it make any difference?
I have Mavericks on my Macbook Pro & Mountain Lion on my Mac mini. I've downloaded Xcode onto my laptop but not onto my mini.
Thanks.
David

macnerd48 wrote:
I'm a Mac newbie. I'd like to give Xcode a try. I've searched the 'net, but all that I've found is example code for iOS.
All? iOS is certainly popular but if you haven't found any OS X examples then you haven't searched very much of the net.
Is Xcode for iOS identical to Xcode for OS X?
Identical? No. There is the whole simulator thing. Interface Builder is different obviously. Xcode itself does both so it is more or less identical.
Should I search the 'net for example code for Objective-C? Is Objective-C identical to Xcode? I'd like to get some books. Should I get beginner books for Objective-C or beginner books for Xcode or does it make any difference?
It doesn't make any difference. Example code is really only useful for people who could write it themselves but find it more efficient to start with a template. If you don't know, then you need to learn first. Otherwise, when the example code fails as it does 75% of the time, you're stuck.

Similar Messages

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Hi all, i am trying to install Xcode 3.2.5 & Xcode 4.2 in iMac (Mac OS X 10.6.8) , I am getting error message as "Installation Failed". somebody can help me. Thanks in advance.

    Hi all,
               I am trying to install Xcode 3.2.5 & Xcode 4.2 in iMac (Mac OS X 10.6.8) , I am getting error message as "Installation Failed". somebody can help me. Thanks in advance.

    I too have the same error while installing  xcode 4.2 in Mac os x 10.6.8.
    Can any one solve this issue.

  • Project Upgraded from xcode 3.2 to xcode 4.5 give semantic errors

    I upgraded my project from xcode 3.2 to xcode 4.5
    My code is platform independent and it compiles sucessfully on Windows and Linux with out any errors
    But on Mac 10.7.4 and xcode 4.5 it gives semantic errors - "Explicit specialization has extraneous, inconsistent storage class static"
    I saw some post which sayes adding header search path as recurssive causes this problem. But all my header search paths are non recursive.
    Please let me know what could be causing the issue. I am new to Mac and i would appriciate any help
    Thanks in Advance

    What is the code in question? While the compilers in Linux and Windows will support templates, they will accept older syntax. The newer Clang compiler in Xcode strives to give better error messages and part of that is strict compilance with the C++ standard.

  • Can't download xcode on mac says:Xcode can't be installed on Macintosh HD because Mac OS X version 10.7.4 or later is required.

    can't download xcode on mac says: Xcode can't be installed on Macintosh HD because Mac OS X version 10.7.4 or later is required.

    You need to upgrade your operating system; call 1-800-MY-APPLE, ask for an OS X Lion download code. It will be $29 or so.

  • Installing Xcode in /Developer? (Xcode already installed)

    I've just installed QT creator and tried to run a simple bit of code, but it failed however because: "Xcode is not installed in /Developer. Please use xcode-select to choose Xcode installation path. My iMac is new (OS X 10.7.5) and Xcode is installed and works fine itself. How can I fix the problem QT is having with Xcode?
    Thanks

    Please use xcode-select to choose Xcode installation path.
    If you can do this, use xcode-select (whatever that is)  to tell it where Xcode is, then tell it. Xcode is installed in /Applications

  • Error loading/installing iOS 5.0 Simulator in XCode 4.4.1

    I'm new to iOS and Apple.
    Just got XCode installed, but when I try to dowload/install iOS 5.0 Simulator using the 'Download' tab of XCode preferences, I get the following error consistently:
    Failed to mount file://localhost/Users/reza/Library/Caches/com.apple.dt.Xcode/Downloads/Xcode.S DK.iPhoneSimulator.5.0-5.0.0.1.dmg at file://localhost/var/folders/bm/kz0d00lx18ncwq3fxyf50pn00000gn/T/attached-image -122057767f890c101413b3e8c64917b42f1eb792/: not recognized
    What I'm doing wrong and how can I fix it, Please ?
    I'm using Xcode 4.4.1 on OS X 10.8.1

    KT
    Thnx for the suggestions,
    I tried all of yours (logged in as a newer user, ran disk utility and everything was ok, and I have over 300GB free space on the SDD drive) but still have exactly the same problem!
    Anyone else has any other ideas on how to solve this problem, PLEASE?

  • How to upgrade iOS sdk 5.1 in xcode 4.0.2

    Hi all,Now I am using mac os X 10.6.8.In order to deploy the application in iPad for testing I got the error message as incompatible version in xcode .The iPad version is 5.1 and xcode version is 4.0.2 and iOS sdk is 4.3.

    You need to complete your upgrade process and install the latest tools and OS X.
    See: Xcode Versions ~ iOS - As of 4.29.12

  • How to install iOS 7.0 Simulator in xcode 6.0.1

    I go to preference and download the simulator 7.0,then i got this error Could not download and install iOS 7.0 Simulator. Failed to mount file:///Users//Library/Caches/com.apple.dt.Xcode/Downloads/Xcode.SDK.iPhoneSimu lator.7.0-7.0.dmg at file:///var/folders/p0/94d17pz545l9w47byr0z2gzcr14jm4/T/attached-image-0f91fbf0 58f8f65f6ddbe8e8e28dbeaa6b366f89/: image not recognized.Kindly help me solve this issue.
    Message was edited by: sassudalai

    KT
    Thnx for the suggestions,
    I tried all of yours (logged in as a newer user, ran disk utility and everything was ok, and I have over 300GB free space on the SDD drive) but still have exactly the same problem!
    Anyone else has any other ideas on how to solve this problem, PLEASE?

  • XCode connection problem with XCode

    Hi!
    I need some advice with my developer environment. When i got my dev-licence everything worked fine. But after som days my iPhone started to beap and XCode failed to connect to the iPhone. Some times it had a short connection for i minute or so.
    I have tested different usb cables. I have tested to restart my Mac, iPhone in different combinations.
    After upgrading iOS SDK my problems was gone for some day.
    I don't need to have XCode running to make the iPhone beap.
    My phone have some sequirity patches from the Company i work for.
    My setup: XCode 4.5 Mac Mini OSX 10.7.4
    Thankfull for all help!
    /Mikael

    My phone have some sequirity patches from the Company i work for.
    Good trick!  Care to elaborate on how your company applies security patches to an iPhone?

  • Xcode 3.1 from Xcode 2.4 - Symbols not found even though library is linked?

    Hello all,
    I apologize in advance for what seem like a rather noobish question, but my Google-fu has failed me for a few hours now.
    I have inherited an Xcode project that was developed 3 years ago for OS 10.3. It needs to be slightly updated and made to run on OS 10.4 and up (PPC and x86), but I can't get the project to compile; I am getting 18 errors about symbols not being found. The symbols in question are contained in a static library, and their function definitions are contained within header files that are included. I am using GCC-4.0 and am linking against the 10.4 SDK. I have included the proper search path for the library in my build settings, added it to my Libraries group and "Link Binary with Library" build phase multiple times, and confirmed that the proper header files are included.
    I am unsure what my next step should be here; any advice or links would be most appreciated!

    Okay, after running file on my library I get:
    [code]
    my_library.a: current ar archive random library
    [code]
    Does this imply that my library is not usable on both architectures? If so, how can I find out which architectures it will work on? I don't think I can get the original source for the static library to recompile.
    Thanks so much!

  • Help with Xcode 3.2.6 with ios sdk 4.3: will not work...

    So I recenty upgraded my Mac to OS X Snow Leopard (10.6.8) and the xcode that came with it would not work effectively. I just downloaded xcode 3.2.6 with ios sdk 4.3 from Apple and installed them (after having to change the date to 2011). Xcode worked but opening the interface builder resulted in a blank window opening, not the actual interface builder. So then I tried to reinstall the .dmg file of xcode and ios sdk, which was again successful, but when I click on any of the applications it installs to open them I get an error. This is what happens when trying to open xcode:
    Process:         Xcode [4609]
    Path:            /Users/myname/Desktop/Xcode.app/Contents/MacOS/Xcode
    Identifier:      com.apple.Xcode
    Version:         ??? (???)
    Build Info:      DevToolsIDE-18070000~38
    Code Type:       X86 (Native)
    Parent Process:  launchd [92]
    Date/Time:       2012-07-21 23:18:17.358 -0400
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          3537 sec
    Crashes Since Last Report:           13
    Per-App Crashes Since Last Report:   13
    Anonymous UUID:                      F17937FB-B272-4B47-811F-333D66AB2B3B
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
      Referenced from: /Users/myname/Desktop/Xcode.app/Contents/MacOS/Xcode
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
    Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 1.83 GHz, 1 GB, SMC 1.4f12
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: FUJITSU MHY2120BH, 111.79 GB
    Parallel ATA Device: MATSHITACD-RW  CW-8221
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0217, 0x1d200000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2
    Can anyone please help me? Ps, I've changed the directory location to "myname" for security reasons;p so that is not the problem

    The error message is telling you that the linker is looking for the Xcode executable on your desktop and can't find it. Where did you install Xcode? The default location is in /Developer.
    It sounds like you have an outdated alias to Xcode on your desktop. Can you launch Xcode if you navigate to Xcode in the Finder and launch it from there?

  • How to run IOS Simulator without Starting XCode?

    Hi,
    I am trying to run the IOS simulator without first running XCode.  If anyone knows the path to the application, please let me know.
    Thanks!

    This is for Xcode 4.3 Simulator... Start by locating Xcode in the /Applications Folder in the Finder....right/control click and select 'Show Package Contents', then drill down until you find it...good luck.

  • I Intall xcode but no have ios sdk

    hello people i intall the xcode come witch the Snow leopard cd but the problem is is come only witch Macosx sdk i dont see the iossdk and i no se the iphone simulation and iphone template and only see mac app simulation plaese help me and wen i got to the apple devolper page the download is come witch xcode and ios sdk i have the xcode i intall in the snow leopard cd but a see only the mac os x template i no se a ios simulator,template etc plaese help me

    The Snow Leopard DVD does not contain the iPhone SDK. You must download the iPhone SDK from Apple's iPhone developer site and install the SDK.
    http://developer.apple.com/devcenter/ios/index.action
    You must register as an Apple developer to download the iPhone SDK. There is a registration link at the iPhone developer site.

  • Unable to boot the ios simulator for xcode 6

    I am unable to launch my app on simulator using xcode 6  and iPhone 5s simulator. First I am getting an error message from Simulator "Unable to boot the iOS simulator", and then after xcode is showing me following error,

    Me too . Please help. I try to delete all simulator, reset content and setting, remove xcode and reinstall. But not resolve.

Maybe you are looking for

  • Aspect Ratio Messed Up? Black Bars?

    Greetings folks, I'm trying to make a SD DVD from 1080p footage. I used Apple's Compressor to make 720x480 m2v and ac3 files for a few short clips I am putting on the DVD. I'd like to use a Button transition when I click to view a certain clip (a 3 s

  • How to create log entry when session exceeded profile's limit ?

    Hi all, is there any way to create entry in log_table (or some log file) when session exceeded its profile's limit (i.e. idle_time) ? If this entry can be created when session status changes to 'SNIPED', it would be great. I've tried with trigger "AF

  • Field selection for std Tcode

    Hi MM consultants my client wants only one or two user can view Price in Purchase Order. same i have ristrcted through parameter id (tcode-OMET) , now it is not reflecting in ME23, but while running report ME1P or ME2M etc net price is displaying , i

  • Problem with role mapping in custom login module

    Hi all, I have developed custom login modules. They don't use the default user store but own data tables holding the necessary user information. Login works fine. But there is one big problem: Only those users that exist with the same user-id in the

  • Edge Animate and PhoneGap Build

    I'm using Edge Animate together with PhoneGap Build to make an iPhone app. There are several buttons that should scroll up and down and yet remain "tap-able" What is the best way to achieve scrolling effect for button?