Angela Yu Xcode 12 Course - Part 19 (lectures 185 to 190)

Two entries in a day?! Yes! Well the previous one was more of a 'what I did before' so not that much of an achievement, really. Anyway, I am going back to Angela's course after a brief detour for my own project. I've already got an idea for another project, a much more tricky one - Guess Who! With that, I would have a number of different pictures i.e. 16. The computer would randomly choose one, then the player would select questions to eliminate the pictures that do not match to it. Until there is just one left - number of questions it took gives them a score. Anyway, leaving that for now and doing some more learning! Let's go!

Start Time - 15:52

Flash Chat App

This has got about storing data - cloud-based. That could be really interesting. Also table view controller...again something else that I want to know more about. Firebase, cocoa pods....so some technical stuff again!

Firebase

A service from google. It has cloud based infrastructure to save and receive data. It means we don't have to create our own site for that - google take care of that! Cool.  So storing the messages on the server and receiving these on to a device/devices. It can run on iPhone and Android - using the same database. Cloud-based. Authentication feature - register and login options too to authenticate the user. Cool!

Firebase account

So this uses a Google Account. No probs. 

So I have created a new project. 

Ah one thing with the Flash Chat download is that it needs to be on my desktop...so let me download that all again! Bit of a setback - getting a GitHub desktop app before I can get the project there....

A note about this - 

As some of the steps we will ignore, e.g. for step 5, we will be verifying installation in our own way so you don't need to worry about this part on the firebase website.


Second, remember that we are working with the Firebase Realtime Database and not the Cloud Firestore.

OK, so bearing those things in mind!
I've been playing around for ages now and to put it simply, the button to add the iOS app to the project DOES NOT WORK! Gonna try rebooting the computer to see if that helps....
Paused at 16:32 (20 minutes so far - time taken into account for faffing with firebase)
Rebooted - YES now it works! Something so simple!


OK got the google service p list copied over now.

Then Terminal to do the pods!

Right so various steps to this - not writing about them all now. In fact, a good time to stop where I have all of the pods etc. added.

Paused at 16:55

Continued at 18:21

So I've done most of the steps at this stage - as usual, cocoapods are fiddly. Checked the messages again from Angela and will skip the fifth part.

https://www.udemy.com/ios-12-app-development-bootcamp/learn/v4/t/lecture/10929264?start=0

Some warnings on the above link as the Firebase site is different now.
*This is one of things with tutorials in general - stuff gets updated so often it's hard to follow all steps. Anyway, it's fine for now.

Finished time - 18:25 (total time approx 45 minutes)

So some interesting stuff again. It's exciting learning new content! This will give me some new 'tools' down the line even though I'm a way off making proper sense of it yet. 




Comments

Popular posts from this blog

*Xcode Project Entry 2* F1 Quiz - part 1

Angela Yu Course Part 10 (up to lesson 112)

Angela Yu Xcode 12 Course - Part 7 (lectures 74 to 79)