[Add] AlibabacloudAgency20221216 1.7.0
[CocoaPods.git] / Specs / 6 / e / 3 / LTHPasscodeViewController / 3.7.7 / LTHPasscodeViewController.podspec.json
blob6d6e8bbb19b75330a595ff26a2f4e3b4a44eb6ad
2   "name": "LTHPasscodeViewController",
3   "version": "3.7.7",
4   "summary": "iOS 7 style Passcode Lock",
5   "homepage": "https://github.com/rolandleth/LTHPasscodeViewController",
6   "screenshots": [
7     "https://github-camo.global.ssl.fastly.net/f75ef08e3af272400ca2ce74b90b2d2ecd099d1d/687474703a2f2f726f6c616e646c6574682e636f6d2f6173736574732f696f73372d7374796c652d70617373636f64652f73637265656e73686f742e706e67",
8     "https://github-camo.global.ssl.fastly.net/4c2344eee8a3fd31e794be5e18be5fc073998915/687474703a2f2f726f6c616e646c6574682e636f6d2f6173736574732f696f73372d7374796c652d70617373636f64652f6368616e67652d70617373636f64652d73637265656e73686f742e706e67"
9   ],
10   "license": {
11     "type": "MIT",
12     "file": "LICENSE.txt"
13   },
14   "authors": {
15     "Roland Leth": "roland@leth.ro"
16   },
17   "platforms": {
18     "ios": "6.0"
19   },
20   "source": {
21     "git": "https://github.com/rolandleth/LTHPasscodeViewController.git",
22     "tag": "3.7.7"
23   },
24   "source_files": [
25     "README.md, CHANGELOG.md, LTHPasscodeViewController",
26     "LTHPasscodeViewController/*.{h,m}"
27   ],
28   "requires_arc": true,
29   "resources": "Localizations/**",
30   "frameworks": "QuartzCore",
31   "description": "# LTHPasscodeViewController\nSimple to use iOS 7 style (replica, if you will) Passcode view. Not the Lock Screen one, but the one you get in Settings when changing your passcode.\nI made it a singleton because if the lock is active, when leaving the app a view must be placed on top, so no data from within the app can be seen in the multitasking mode. This is done under the hood, without having to do anything extra.\n# How to use\nDrag the contents of `LTHPasscodeViewController` to your project, or add `pod 'LTHPasscodeViewController'` to your podspec file.\n* When opened from Settings (as a modal):\n```objc\n- (void)showForEnablingPasscodeInViewController:(UIViewController *)viewController;\n- (void)showForChangingPasscodeInViewController:(UIViewController *)viewController;\n- (void)showForTurningOffPasscodeInViewController:(UIViewController *)viewController;\n// Example:\n[[LTHPasscodeViewController sharedUser] showForEnablingPasscodeInViewController: self]\n```\n* At app launch, or whenever you'd like the user to be shown a passcode entry:\n```objc\n- (void)showLockscreenWithAnimation:(BOOL)animated;\n// Example:\n[[LTHPasscodeViewController sharedUser] showLockscreenWithAnimation: YES]\n// Displayed with a slide up animation, which, combined with\n// the keyboard sliding down animation, creates an \"unlocking\" impression.\n```\n* entering foreground and resigning is handled from within the class.\nEverything is easily customizable with macros and static constants.\nMakes use of [SFHFKeyChainUtils](https://github.com/ldandersen/scifihifi-iphone) to save the passcode in the Keychain. I know he dropped support for it, but I updated it for ARC 2 years ago ([with help](http://stackoverflow.com/questions/7663443/sfhfkeychainutils-ios-keychain-arc-compatible)) and I kept using it since. The 'new' version isn't updated to ARC anyway, so I saw no reason to switch to it, or to any other library.\nRather than writing a big documentation, I heavily commented it as best as I could. Feel free to [contact me](mailto:roland@rolandleth.com), or open an issue if anything is unclear, bugged, or can be improved.\n## Removing Unused Localizations\nBecause the App Store automatically attempts to determine supported locales, and LTHPasscodeViewController includes localizations for the aforementioned locales, you may want to remove the `.strings` file and `.lproj` directory. You can do this most easily by having the following command run in a new Build Phase:\n        $ find \"$TARGET_BUILD_DIR\" -maxdepth 8 -type f -name \"LTHPasscodeViewController.strings\" -execdir rm -r -v {} ;\n# Apps using this control\n[Expenses Planner](https://itunes.apple.com/us/app/expenses-planner-reminders/id669431471?mt=8)\n[DigitalOcean Manager](https://itunes.apple.com/us/app/digitalocean-manager/id633128302?mt=8)\n[LovelyHeroku](https://itunes.apple.com/us/app/lovelyheroku/id706287663?mt=8&uo=4)\n[Flow Web Browser](https://itunes.apple.com/us/app/flow-web-browser-downloader/id705536564?mt=8)\n[Balance - Checkbook App](https://itunes.apple.com/US/app/id854362248)\nIf you're using this control, I'd love hearing from you!"