Latest 0.1.0
Homepage https://github.com/muukii/ViewFinder
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
Carthage compatible
License
Platform

Usage

Find the UI Component by accessibilityIdentifier from AppDelegate.window

  • Set accessibilityIdentifier to the UI Component that you want to find.
let button = UIButton(type: .System)
button.accessibilityIdentifier = "likeButton"
addSubview(button)
  • Find the UI Component by accessibilityIdentifier.
    let button = UIButton.findByAccessibilityIdentifier("likeButton")

Requirements

iOS 7.0+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 0.39.0+ is required to build ViewFinder

To integrate ViewFinder into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'ViewFinder'

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate ViewFinder into your Xcode project using Carthage, specify it in your Cartfile:

github "muukii/ViewFinder"

Run carthage update to build the framework and drag the built ViewFinder.framework into your Xcode project.

Author

muukii, [email protected]

License

ViewFinder is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ViewFinder",
    "version": "0.1.0",
    "summary": "Find by accessibilityIdentifier from AppDelegate.window",
    "homepage": "https://github.com/muukii/ViewFinder",
    "license": "MIT",
    "authors": {
        "muukii": "[email protected]"
    },
    "source": {
        "git": "https://github.com/muukii/ViewFinder.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "ViewFinder/*.swift"
}

Pin It on Pinterest

Share This