IOS 8 upgrade

Update cocoapods first

  1. No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).

    Sol: Update Build active architecture only to NO.

  2. With Xcode 6 its mandatory to support arm64 architectures but as many cocoapod libraries are still not arm64 ready, change the "arch" and "valid architecture" as below

  1. Getting selected uitableviewcell of sender,
CGPoint buttonPosition = [sender convertPoint:CGPointZero toView:self.tableView];
NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:buttonPosition];