Adding Git to an Existing Project

I would do it for Xcode project but it can be done almost similarly with any other project.

Before adding git, you should configure git with your name and email address so that your changes are tracked properly. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Continue reading


Git Settings

Setting your email in Git

The git config command can be used to change your Git configuration settings, including your email address and name.

Setting your email address globally for every repository on your computer

  1. Open Terminal (for Mac and Linux users) or the command line (for Windows users). Continue reading

Useful iOS Libraries

Useful iOS Libraries

Here are sites declaring and discussing useful iOS Libraries:

  1. FMDB
    1. Open Source available at github 
    2. a wrapper on top of the base API (iOS SDK provides API but in pure C language for DB operations) and provides easy to use methods to perform database operations using Objective-C language.
    3. Can be installed via cocoapods
      1. Need to install cocoa pods first. Read my post of installing cocoapods.
      2. Search FMDB on cocoapods‘ site and copy the information
        pod ‘FMDB’, ‘~> 2.3’ Continue reading

How to install CocoaPods?

CocoaPods is the dependency manager for Objective-C projects. It has thousands of libraries and can help you scale your projects elegantly. It is built with Ruby and is installable with the default Ruby available on OS X. To check ruby version installed on your system, run the following command in Terminal:

$ ruby -v

You’d better update the ruby to latest version using the command:

curl -sSL | bash -s stable --ruby

To install a ruby built application, the RubyGems software also called “gem” can be used

$ sudo gem install cocoapods

Continue reading