I thought I wasgonnabeabletopumpoutthisvideotoyouguyswithin a weekofstartingmyapp.
Whichmeans, ofcourse, I wasgoingtoincorporateFacebook, Twitter, Googleandthenregularemailloggingauthenticationtomyapplicationwithinthatoneweek.
Butthatdidn't reallypanoutbecause, well, tobehonestwithyouguys, myveryfirstextraproject I scrapedthewholeentirethingafter I createdmyyou I after I importedfirebase.
Youknow, I createdthat I did.
I connectedfirebaseinmyAB, and I imported a FacebooksdkimportedGooglesdkortoincorporatethose.
I justscrappeditbecause I don't knowwhytheconstraintsarefine, buttheyou I wasn't workingrightasyouguyssawthebeginningofthisvideo, anditwasliketheGooglesdkwasn't beingimported.
Althoughmypodfilesaiditwas.
Andevenwhen I didpotinstallitshowedthatitwasimported.
It's likethelineofcodethatsaidimportGoogle.
Sinanwasn't therebecause I wasgettingalltheseairsforthecodethat I wrotethathadtodowiththatneededthatGoogletheimportGooglesigninlineinordertowork.
I neededthesdk, butitjustitjustdidn't wasjustgivingtheerrors.
And I don't knowifthatwasbecause I triedtodoFacebookauthenticationfirstanddidn't completeit.
I don't knowwhatthewholecasewasandthereasonbehindmenotcompletingtheFacebooklongenoughindications, because I don't Facebookaccount, So I needtocreateoneinordertoaccessFacebookfordevelopers.
When I didthat, facesfordeveloperswantedmetoverifymyselftryingtohearmyverifymyself, andthentheynevergotbacktomeso I wouldhavehadtocreate a wholenewFacebook.
So I justdecidedtogoaheadandgowithGoogleauthentication.
Sobeforescrappingthatextraproject, I copiedmyuserinterfacebecause I didn't wanttocreatethatwholeentirethingagain.
Althoughitwaskindofmessingupwiththeconstraints.
I importedthatinto a newExcoproject, anditworkedjustfine.
I hadtoeaddlikeoneortwoconstraintsbecausethosedidn't followit, butitstillworkedFine.
I don't knowwhatwaswrongwiththewiththeonebeforeAndmindyou, I'm on X codeeightthefinalThefinalupdate.
Extradate.
Asofthistime, I'm notonexcludeninebeta.
I wouldunderstandifitwas a betaversiontogeterrors, butthatthatthatwasn't theproblemwithme.
I don't knowwhatthecasewas, but I create a newprojectanditwentaway.
Sowhenitafterthatis, ofcourse, I importedmyfirebase.
I hadtoconnectthosetwoandthen I forgotFacebookbecauseFacebookdevelopersneverreallygotbacktome.
Although I know I couldhavecreatednewemailaccountornewemailaccountinthenewFacebookaccountwiththatemail.
I justdidn't doit.
So I importedtheGooglesdkon.
I followedthedocumentationthatfirebaseprovidesyouforincorporatingGooglesignintoyourIOSapplicationusingfirebase, ofcourse, and I followedstartedfollowingthatalongwithsomeothervideos.
So I throwthisinand I setmyown X y withinheightvalueinordertogetitatthislocationandthatthiswithinthisheight.
Although I don't thinkthisis 50 tall, I don't knowif I don't knowwhythat's thecase, whatitis, andinordertoforthiscodetoworkthislineofcoderighthereinporttoGoogle, Sinanimportssdkthat I alreadysavedintomypodfileAndthisline 11 whatwaswhatwasn't workingorwasn't readingthislineinmyfirstextraproject, andthatwaslike a bigproblem.
I don't knowwhatthecasewasthere, butitdidn't work, so I justscrappedit.
Andherewearenowandwithinmyglassviewcontroller, whichwillbenamedLoginsoon I addedin G i D whichstandsfor a Google I d signinyou I delegateinordertomakeeverythingworkSoitkindofworksis a hierarchy.
I needtoimportGoogle.
SigninforJaidisigningyou.
I delegatetoeworkand I needtoeincorporate G i d signingyou I delegateinordertoallowthiscodetoework.
Sohe's hadtomakesureyouhaveeachstep.
If I weretoaddthiscodeinfirstwithouthavingthisorthisthat's youronair, forexample, Letmesaveit.
Andasyoucansee, I havealloftheseerrorsandthat's becausethiswasdeleted.
Butlet's putitbackin.
Theseerrorsmaystillbetherefor a seconduntilitloadsup.
I savedit, Soitshould.
Yep, theregoes.
Andwhat I didwas I incorporatedthatthissnippetofcoderighthereinto a fileprivatefunctioncalledsetupGoogleButtonsandthenransetupGooglebuttonsandviewdidloadfunction.
So I didthatbecauseotherwiseimagineif I had 20 ofthesedifferenttypesofdeals.
Soif I had 20 buttons, becauseafteryoucancreateyourwholeentireuserinterfaceinyourviewcontroller, sohaveallthesedifferentbuttonsorthatneedThiobeintheirownfunction.
Allofthisisforthislittlebuttonandtocreateyourselfas a userandthisis a littlelineofcodewastalkingaboutearlierforappthatconfigure, itusedtosayonthedocumentation.
I have a tinyhousekindofvideoupdatecomingonbecause I have a lotofpeopleaskingmekindofmentionedtinyhousewinning a tinyhousebeforeand a lotofpeopleaskmeaboutit.
So I'm gonnamake a videoaddressingthatandthenmynext I wasdevelopmentJourneywon't beincorporatingthenextthing, which I thinkmaybe a profile.
I don't knowyet, though, So I wanttogetdevelopingonthatthisweek, and I'llletyouguysknow, ofcourse, whetherit's onAh, I'llletyouguysknowInstagram.
SofollowmeonInstagram.
You'llseethelittlescreenthingorlinkisdowninthisChristianbutlow, andyou'llbeabletokindofkeepuptodatewithwhat I'm doingon a dailybasisandseewhatthisnextvideoisgonnabeabout.
Butuntilthen, I'm gonnathrewout a fewoftheseothervideos, likethetinyHouseoneandthen a fewotherwisehavetodowithoutdevelopmentintheiPhone.