Latest 1.5.7
Homepage https://github.com/URXtech/urx-widgets-ios
License Apache 2.0
Platforms ios 6.0, requires ARC
Dependencies URXSearch

iOS Widgets Framework

The URX iOS Widgets Framework is a collection of UI widgets to help you quickly integrate the URX App Search API into your app.

Setup using CocoaPods (iOS 8 and later)

You should not use CocoaPods for the Widgets framework if your iOS Deployment Target is iOS 7 or earlier. This framework requires dynamic framework support, which is only available in iOS 8. See CocoaPods Framework and Swift Support for details. Instead you should directly integrate the code into your project using Github. See "Setup Using Github" below.

Step 1: Install CocoaPods

Setup CocoaPods for your project if you haven’t done so already. See the Getting Started Guide for details.

Step 2: Add URXWidgets to your Podfile:

use_frameworks!
pod 'URXWidgets'

Step 3: Install the URXWidgets CocoaPod:

$ pod install

Step 4: Set up the API Key

Before you can use the SDK, you must provide your URX API Key. To do this, add a String row to your Info.plist file with URX API Key as the key and your API key as the value. Contact [email protected] for an API key if you don’t already have one.

Upgrading using CocoaPods

Step 1: Check for updates

NOTE You can always visit URXWidgets to see the latest version.

$ pod search URXWidgets

Step 2: Update to the latest version

$ pod update

Setup Using Github

Step 1: Clone the URXSearch and URXWidgets respositories:

$ git clone [email protected]:URXtech/urx-sdk-ios.git urx-sdk-ios
$ git clone [email protected]:URXtech/urx-widgets-ios.git urx-widgets-ios

Step 2: Copy the Search and Widgets SDKs into your project

Copy the following folders into your project. Be sure to check ‘Copy items if needed’.

  • urx-sdk-ios/URXSearch
  • urx-widgets-ios/URXWidgets
  • urx-widgets-ios/URXWidgetsResources

Step 3: Set -I flag

In your project’s Build Settings add -I$(SRCROOT) in the "Other C Flags" setting.

Step 4: Set up the API Key

Before you can use the SDK, you must provide your URX API Key. To do this, add a String row to your Info.plist file with URX API Key as the key and your API key as the value. Contact [email protected] for an API key if you don’t already have one.

Setup using a Framework (Not recommended, does not support Xcode live rendering)

Step 1: Add the URXSearch and URXWidgets Frameworks to your Project

First, download the zip for the latest release tag. Then in Xcode, drag and drop the following frameworks into your project navigator to link the frameworks.

  • URXSearch.framework
  • URXWidgets.framework
  • URXWidgetsResources.framework

Step 2: Set up the API Key

Before you can use the SDK, you must provide your URX API Key. To do this, add a String row to your Info.plist file with URX API Key as the key and your API key as the value. Contact [email protected] for an API key if you don’t already have one.

Step 3: Set -ObjC linker flag

In your project’s Build Settings, make sure to add -ObjC in the "Other Linker Flags" setting.

License

Copyright 2014 URX

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Latest podspec

{
    "name": "URXWidgets",
    "version": "1.5.7",
    "summary": "URX Widgets iOS SDK.",
    "authors": "URX",
    "homepage": "https://github.com/URXtech/urx-widgets-ios",
    "license": {
        "type": "Apache 2.0",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/URXtech/urx-widgets-ios.git",
        "tag": "v1.5.7"
    },
    "source_files": [
        "URXWidgets",
        "URXWidgets/**/*.{h,m}"
    ],
    "resource_bundles": {
        "URXWidgetsResources": [
            "URXWidgetsResources/URXListenButtonSearchViewController.xib",
            "URXWidgetsResources/URXSearchResultGenericTableViewCell.xib",
            "URXWidgets/resources/[email protected]"
        ]
    },
    "public_header_files": "URXWidgets/**/*.h",
    "requires_arc": true,
    "xcconfig": {
        "OTHER_LDFLAGS": "-lObjC"
    },
    "dependencies": {
        "URXSearch": [
            "~> 0.5.4"
        ]
    }
}

Pin It on Pinterest

Share This