Latest | 1.0.0 |
---|---|
Homepage | https://github.com/LiDechao/CCSpotlight |
License | MIT |
Platforms | ios 8.0, requires ARC |
Frameworks | Foundation, UIKit, CoreSpotlight* |
Authors |
A simple way to use Spotlight.
Usage
使用CCSpotlightModel
模型类或是遵循CCSpotlightModelProtocol
协议的自定义模型。
使用 cc_saveToSpotlight
来增添或是修改数据。 这取决于当前item的id是否曾经添加过。
删除的情形,分为按照 id
、domain
以及全部的方式,具体情形看使用情况了。
Latest podspec
{ "name": "CCSpotlight", "version": "1.0.0", "summary": "An easy way to use Spotlight.", "description": "It is a framework used on iOS, which implement by Objective-C.", "homepage": "https://github.com/LiDechao/CCSpotlight", "license": "MIT", "authors": { "idechao": "[email protected]" }, "source": { "git": "https://github.com/LiDechao/CCSpotlight.git", "tag": "1.0.0" }, "platforms": { "ios": "8.0" }, "requires_arc": true, "source_files": "CCSpotlight/*", "frameworks": [ "Foundation", "UIKit" ], "weak_frameworks": "CoreSpotlight" }
Thu, 02 Feb 2017 16:40:05 +0000