Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Objective-C and Swift
  4. Looking for suggestions, and clarify a few things for a beginning Apple programmer

Looking for suggestions, and clarify a few things for a beginning Apple programmer

Scheduled Pinned Locked Moved Objective-C and Swift
swiftioshelpc++javascript
8 Posts 4 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jkirkerx
    wrote on last edited by
    #1

    I recently bought a Mac Mini, loaded up XCode and created my first app, the demo iPhone app and ran it on my Virtual iPhone on the Mac, so that part works now. I have a couple of questions about Xcode and this project I created, that wasn't too clear to me on some YouTube videos. I sort of get what Objective C is, but not to clear on it. And I sort of get what Swift is, but not clear on it. Is Objective C the base language? I was looking at the sample code generated and it looks like some sort of controller view system, sort of like Microsoft MVC. Or are libraries already created in Objective C and I use Swift to write simple code to execute logic and generate it to the a assigned view or screen, where the underlying Objective C code executes it. I was just book shopping on Amazon and the web, and so many books are published on the subject, some promoting Objective C and others promoting Swift, so I'm not sure what book to buy. My goal is to write a robust iPhone app that collects data and stores it in the cloud or on the device like where, when and notes, and then a larger app like on a iPad or Mac can analyze the data and help find fixes for the user. It's a sports app to help players be better. I need to move fast on this and would appreciate your experience and thoughts. Or any books that I can read to catch up on this technology. I was going to React Native, but was told to just build the app with native tools by Apple.

    If it ain't broke don't fix it Discover my world at jkirkerx.com

    L J J 3 Replies Last reply
    0
    • J jkirkerx

      I recently bought a Mac Mini, loaded up XCode and created my first app, the demo iPhone app and ran it on my Virtual iPhone on the Mac, so that part works now. I have a couple of questions about Xcode and this project I created, that wasn't too clear to me on some YouTube videos. I sort of get what Objective C is, but not to clear on it. And I sort of get what Swift is, but not clear on it. Is Objective C the base language? I was looking at the sample code generated and it looks like some sort of controller view system, sort of like Microsoft MVC. Or are libraries already created in Objective C and I use Swift to write simple code to execute logic and generate it to the a assigned view or screen, where the underlying Objective C code executes it. I was just book shopping on Amazon and the web, and so many books are published on the subject, some promoting Objective C and others promoting Swift, so I'm not sure what book to buy. My goal is to write a robust iPhone app that collects data and stores it in the cloud or on the device like where, when and notes, and then a larger app like on a iPad or Mac can analyze the data and help find fixes for the user. It's a sports app to help players be better. I need to move fast on this and would appreciate your experience and thoughts. Or any books that I can read to catch up on this technology. I was going to React Native, but was told to just build the app with native tools by Apple.

      If it ain't broke don't fix it Discover my world at jkirkerx.com

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Swift is to C# (forms/uwp/wpf) what Object-C is to C/C++/mfc? (IMO)

      "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

      K 1 Reply Last reply
      0
      • L Lost User

        Swift is to C# (forms/uwp/wpf) what Object-C is to C/C++/mfc? (IMO)

        "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

        K Offline
        K Offline
        k5054
        wrote on last edited by
        #3

        I would have said Swift is to Objective-C as C# is to C/C++.

        "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

        L 1 Reply Last reply
        0
        • K k5054

          I would have said Swift is to Objective-C as C# is to C/C++.

          "A little song, a little dance, a little seltzer down your pants" Chuckles the clown

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I was talking functionality, GUI's, memory management and speed of development; not syntax.

          "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

          1 Reply Last reply
          0
          • J jkirkerx

            I recently bought a Mac Mini, loaded up XCode and created my first app, the demo iPhone app and ran it on my Virtual iPhone on the Mac, so that part works now. I have a couple of questions about Xcode and this project I created, that wasn't too clear to me on some YouTube videos. I sort of get what Objective C is, but not to clear on it. And I sort of get what Swift is, but not clear on it. Is Objective C the base language? I was looking at the sample code generated and it looks like some sort of controller view system, sort of like Microsoft MVC. Or are libraries already created in Objective C and I use Swift to write simple code to execute logic and generate it to the a assigned view or screen, where the underlying Objective C code executes it. I was just book shopping on Amazon and the web, and so many books are published on the subject, some promoting Objective C and others promoting Swift, so I'm not sure what book to buy. My goal is to write a robust iPhone app that collects data and stores it in the cloud or on the device like where, when and notes, and then a larger app like on a iPad or Mac can analyze the data and help find fixes for the user. It's a sports app to help players be better. I need to move fast on this and would appreciate your experience and thoughts. Or any books that I can read to catch up on this technology. I was going to React Native, but was told to just build the app with native tools by Apple.

            If it ain't broke don't fix it Discover my world at jkirkerx.com

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            For books I just always look for the O'Reilly publisher. I don't believe I have ever seen a bad one. Only time I get rid of them is when I replace it with a newer version of the same book. (ok I admit sometimes I even keep the old one.) I will say however that I have never bought a tutorial from them or any other publisher. So quality might vary if it is explicitly that type.

            1 Reply Last reply
            0
            • J jkirkerx

              I recently bought a Mac Mini, loaded up XCode and created my first app, the demo iPhone app and ran it on my Virtual iPhone on the Mac, so that part works now. I have a couple of questions about Xcode and this project I created, that wasn't too clear to me on some YouTube videos. I sort of get what Objective C is, but not to clear on it. And I sort of get what Swift is, but not clear on it. Is Objective C the base language? I was looking at the sample code generated and it looks like some sort of controller view system, sort of like Microsoft MVC. Or are libraries already created in Objective C and I use Swift to write simple code to execute logic and generate it to the a assigned view or screen, where the underlying Objective C code executes it. I was just book shopping on Amazon and the web, and so many books are published on the subject, some promoting Objective C and others promoting Swift, so I'm not sure what book to buy. My goal is to write a robust iPhone app that collects data and stores it in the cloud or on the device like where, when and notes, and then a larger app like on a iPad or Mac can analyze the data and help find fixes for the user. It's a sports app to help players be better. I need to move fast on this and would appreciate your experience and thoughts. Or any books that I can read to catch up on this technology. I was going to React Native, but was told to just build the app with native tools by Apple.

              If it ain't broke don't fix it Discover my world at jkirkerx.com

              J Offline
              J Offline
              jkirkerx
              wrote on last edited by
              #6

              Last night after bowling, I spent an hour watching programming tutorials on Swift, and most of the videos were 2 minutes in length. One video said that Swift is like an overlay over the OS, that takes care of memory management, garbage collection, and is pretty close to being a full blown programming Language. So it does sound like Swift is like what C Sharp is to Windows. But it looks sort of crazy to me, where let is a const I think, opposite of JavaScript, and you declare type last, instead of first. On one hand it looks overwhelming, yet on the other it looks kindergarten to code with. I picked out these 2 books, but haven't committed to them yet. This is a cookbook, which might offer some useful suggestions for getting me going [https://www.amazon.com/gp/product/1803234458/ref=ox\_sc\_act\_image\_1?smid=ATVPDKIKX0DER&psc=1\](https://www.amazon.com/gp/product/1803234458/ref=ox\_sc\_act\_image\_1?smid=ATVPDKIKX0DER&psc=1) And this one, to get a better overall look at IOS in general. [https://www.amazon.com/gp/product/1837630569/ref=ox\_sc\_act\_image\_2?smid=ATVPDKIKX0DER&psc=1\](https://www.amazon.com/gp/product/1837630569/ref=ox\_sc\_act\_image\_2?smid=ATVPDKIKX0DER&psc=1) I'm not really looking forward to this, but oh well, here goes feet first. And I'm not jumping on the IOS app ban wagon to make money off selling apps, those days are gone with just 7 major apps being consumed by 90% of phone time use by users, so that's a tough market to beat. Hey thanks for the suggestions and clarity on Swift versus Objective C. Hopefully I can create something my friends like and will use.

              If it ain't broke don't fix it Discover my world at jkirkerx.com

              L 1 Reply Last reply
              0
              • J jkirkerx

                Last night after bowling, I spent an hour watching programming tutorials on Swift, and most of the videos were 2 minutes in length. One video said that Swift is like an overlay over the OS, that takes care of memory management, garbage collection, and is pretty close to being a full blown programming Language. So it does sound like Swift is like what C Sharp is to Windows. But it looks sort of crazy to me, where let is a const I think, opposite of JavaScript, and you declare type last, instead of first. On one hand it looks overwhelming, yet on the other it looks kindergarten to code with. I picked out these 2 books, but haven't committed to them yet. This is a cookbook, which might offer some useful suggestions for getting me going [https://www.amazon.com/gp/product/1803234458/ref=ox\_sc\_act\_image\_1?smid=ATVPDKIKX0DER&psc=1\](https://www.amazon.com/gp/product/1803234458/ref=ox\_sc\_act\_image\_1?smid=ATVPDKIKX0DER&psc=1) And this one, to get a better overall look at IOS in general. [https://www.amazon.com/gp/product/1837630569/ref=ox\_sc\_act\_image\_2?smid=ATVPDKIKX0DER&psc=1\](https://www.amazon.com/gp/product/1837630569/ref=ox\_sc\_act\_image\_2?smid=ATVPDKIKX0DER&psc=1) I'm not really looking forward to this, but oh well, here goes feet first. And I'm not jumping on the IOS app ban wagon to make money off selling apps, those days are gone with just 7 major apps being consumed by 90% of phone time use by users, so that's a tough market to beat. Hey thanks for the suggestions and clarity on Swift versus Objective C. Hopefully I can create something my friends like and will use.

                If it ain't broke don't fix it Discover my world at jkirkerx.com

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Getting the proper hardware is a right step; I don't think much of trying to hit all bases using emulators. Business expenses.

                "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                J 1 Reply Last reply
                0
                • L Lost User

                  Getting the proper hardware is a right step; I don't think much of trying to hit all bases using emulators. Business expenses.

                  "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                  J Offline
                  J Offline
                  jkirkerx
                  wrote on last edited by
                  #8

                  The emulator was quite impressive. I had setup a iPhone 15 Max, and it was a complete iPhone including the apps that come with it, and worked just like an iPhone. I'm not sure if it's tied to my iPhone so that messaging and stuff works. But I get what your saying where I will hit a wall again with the emulator, and may have to buy the real thing. I don't own a Android phone, and I know the emulator will only take me so far for that platform. And I don't really want to buy phones and tablets. I'll be careful on this, can't really borrow phones here, and I'll only get one chance from friends to test it before they lose patient with me. Great advice! and food for thought moving forward with a plan when I get to that point. I bought one of the books based off it's reviews, the IOS one and not the Cookbook.

                  If it ain't broke don't fix it Discover my world at jkirkerx.com

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups