Swift Reaction

Discussion in 'iOS Programming' started by ArtOfWarfare, Jun 2, 2014.

  1. ArtOfWarfare macrumors G3

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    ******* YEAH

    Biggest announcement they've ever made.

    Anyone else made an outburst like that?
     
  2. stridemat Moderator

    stridemat

    Staff Member

    Joined:
    Apr 2, 2008
    Location:
    UK
  3. Peace macrumors Core

    Peace

    Joined:
    Apr 1, 2005
    Location:
    Space--The ONLY Frontier
    #3
    Yes.

    Personally I think this is preparation for future Macbook Air's to run on ARM.
     
  4. balamw Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #4
    I echoed the "whaaaaa?" from the live feed.

    Not sure what they mean by 3.9x faster. Development time? Run time?

    B
     
  5. ArtOfWarfare thread starter macrumors G3

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    Looked like development time was up 10x at least, based on how quickly they gave a demonstration. So the 3.9x faster must be runtime.

    They mentioned an iBook covering the language available immediately. I searched but couldn't find it.

    They also mentioned that it relies on the same runtime as Obj-C, but then said that we couldn't submit Swift applications until Yosemite and iOS 8 ship. So will Swift work on older OSs or is it only available for newer ones?
     
  6. Mvkoe macrumors regular

    Mvkoe

    Joined:
    Aug 4, 2008
    Location:
    Belgium
    #6
    Did anyone found the iBook where they where talking about in the iBook store?
     
  7. Blakeasd macrumors 6502a

    Joined:
    Dec 29, 2009
    #7
    I haven't found it...
     
  8. Mvkoe macrumors regular

    Mvkoe

    Joined:
    Aug 4, 2008
    Location:
    Belgium
    #8
    Yeah me neither and I am getting very curious about it :eek:
     
  9. qtx43 macrumors 6502a

    Joined:
    Aug 4, 2007
    #9
    No. I looked too, I'm glad I'm not the only one who can't find it. I'm guessing he was mistaken when he said it's available now, probably later tonight.

    Somebody tell me we're wrong, and I just can't find it.
     
  10. eagandale4114 macrumors 65816

    eagandale4114

    Joined:
    May 20, 2011
    #10
    Link: https://itunes.apple.com/us/book/swift-programming-language/id881256329?mt=11&at=10l3N7
     
  11. qtx43 macrumors 6502a

    Joined:
    Aug 4, 2007
    #12
  12. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #13
    Search index probably hasn't been updated yet.
     
  13. grandM macrumors 65816

    grandM

    Joined:
    Oct 14, 2013
    #14
    no

    ehm ok guys I 've been studying objective-c and iOs as some of you guys know.
    I was now buys upon doing the stanford iTunes course.

    Should I stop it and start learning swift?
     
  14. Branda22 macrumors newbie

    Joined:
    Jun 17, 2013
    Location:
    Chicago, IL
    #15
    I was just getting hang of Objective C. lol.

    The SDKs will stay the same just new syntax right???
     
  15. Blakeasd macrumors 6502a

    Joined:
    Dec 29, 2009
    #16
    I wonder if you can use C APIs with Swift, OpenGL for example.
     
  16. ArtOfWarfare thread starter macrumors G3

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #18
    Just 860 pages...

    Can I load this into one of those quick reading websites to read it faster?

    Or I can just take it a page at a time for the next week...

    I noticed Patterns as a feature although they didn't expand on that. I wonder if it's like Patterns in Racket.

    I see let as a keyword. I'm already excited. And it's assigning 42 to something, no less.
     
  17. Dekard, Jun 2, 2014
    Last edited: Jun 2, 2014

    Dekard macrumors 6502

    Dekard

    Joined:
    Sep 7, 2011
    Location:
    Dallas, Texas
    #19

    You can still continue to learn Objective-C (just use the current or previous verisons of Xcode for testing). Swift will be upcoming in ios8, osx 10.9 I'm sure they'll support both parallel for some time.
     
  18. mds1256 macrumors regular

    Joined:
    Apr 9, 2011
    #20
    Is Swift completely replacing Objective-C?

    I am currently learning Objective-C but thinking about putting my effort into Swift now?
     
  19. grandM macrumors 65816

    grandM

    Joined:
    Oct 14, 2013
    #21
    Well I already know big chunks of objective c
    but it seems a bit of learning bad practices now: I was doing the Stanford iTunes course. But swift even doesn't use * (pointers) or @

    Then again, the iTunes course tried to combine objective - c and the gui. Guess it will combine swift and the gui in the future.

    ----------

    I think it will replace it entirely in the future (as I've just read in the documentation). Concepts like pointers and so on seem to have vanished.

    To be honest it reminds me a bit of visual basic, with this difference visual basic is ages old...
     
  20. GhostRaider macrumors 6502

    Joined:
    Jun 2, 2014
    #22
    Apple said Swift was a new programming language but is it really a new language or am I suppose to know other languages beforehand? Any recommendations on what book should I read to learn Mac programming for beginners with little programming knowledge?

    I've been interested in learning to program on the Mac and not sure if Swift will make my life easier lol
     
  21. ianray macrumors 6502

    Joined:
    Jun 22, 2010
    Location:
    @
    #23
    Learning styles vary, and YMMV, but you might want to start by reading the iBook (https://itunes.apple.com/us/book/swi...t=11&at=10l3N7).

    Good luck :)
     
  22. ArtOfWarfare thread starter macrumors G3

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #24
    I'm not thinking so, at least not yet. This language and the new version of Xcode looks like it was made to be easy to pick up for someone who has never programmed before, but the documentation that they released for it looks like it expects you to already be experienced in Obj-C.

    So once documentation suitable for beginners is available, expect it to be quite approachable and easy to pick up. This iBook that they released... probably not.

    Heck, maybe I'll strike while the iron is hot and see how quickly I can whip out an iBook on Swift suitable for beginners.
     
  23. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #25
    My initial impression is that Swift will be easier to learn, especially with the bundled Playground. But it will be weeks and months before full, well tested, tutorials are available. And unless a good book on learning Swift is already in development, maybe nearly a year for the first books on it.

    So I might recommend beginners learn Python in the interim, as it will be easier and less confusing to switch to Swift without having to unlearn as much.
     

Share This Page