Giter Site home page Giter Site logo

da-swifttraining-lesson4's Introduction

iOS Training - Lesson 4

Quick Messaging Application into Database

Install CocoPods:

  1. open terminal and paste the following: sudo gem install cocoapods [sudo gem install -n /usr/local/bin cocoapods]

  2. In terminal navigate to your working Directory and run:

pod init
  1. You will see in the directory an empty Podfile.

  2. Open the pod file using a text editor, replace the entire thing with the following:

platform :ios, "9.0"
use_frameworks!

target 'ChatChat' do
  pod 'Firebase/Storage'
  pod 'Firebase/Auth'
  pod 'Firebase/Database'
  pod 'Firebase/RemoteConfig'
  pod 'JSQMessagesViewController'
end
  1. Save the file and close the text editor.

  2. Next we will install the pods needed.

pod install

If you have setup Firebase during Lesson 3 - your done setting up. if not.

Setting up Firebase:

  1. Login using Gmail/Google account

  2. Click on “Add Firebase to your iOS app”

  3. Enter your bundle name; i’m using com.davidkalman.ddfirebase - but do what you want

  4. DO NOT ENTER ANYTHING ELSE

  5. Click Add app

  6. It will prompted you to download a PLIST file, download it. there is a sample file in the repo for you to use to connect to the sample firebase if you dont want to make your own

  7. Drag it to the files section in Xcode; and FINISH in the window that Xcode pops up.

  8. back in the Firebase window, click next, next, finish - we dont need any of that at this point of time.

da-swifttraining-lesson4's People

Watchers

James Cloos avatar David Kalman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.