|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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
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
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
I have my Swift app that records audio in chunks of multiple files, each M4A file is approx 1 minute long. I would like to go through those files and detect silence, or the lowest level
.
While I am able to read the file into a buffer, my problem is deciphering it. Even with Google, all it comes up with is "audio players" instead of sites that describe the header and the data.
Where can I find what to look for? Or even if I should be reading it into a WAV file? But even then I cannot seem to find a tool, or a site, that tells me how to decipher what I am reading.
Obviously it exists, since Siri knows when you've stopped speaking. Just trying to find the key.
|
|
|
|
|
|
Hi,
Is it possible to create code that works on MAC and Windows too (My concern is about MAC but if both platforms that would be great) to get data from predefined PDF form fields into predefined excel template?
If yes can you please provide simple exams of code to test?
|
|
|
|
|
|
I need to code in swift that can calculate the idle time of system.
|
|
|
|
|
|
Here's a GitHub gist that seems to do what you need.
|
|
|
|
|
|
|
i don't know to create video in Game screen
|
|
|
|
|
See my suggestion below. You cannot learn either Objective-C or Swift by posting vague questions here. You need to get a good study guide.
|
|
|
|
|
1. Pick a concept
2. Gather information
3. Start building
4. Refine your concept
5. Test your game
6. Market the finished product
Hope This Helps!
|
|
|
|
|
You've replied to the wrong person, in a thread from over four years ago.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Frist of all i need more example / case study during learing swift.
|
|
|
|
|
Use Google, or go to the CodeProject articles section.
|
|
|
|
|