{"id":19319713,"url":"https://github.com/hyperoslo/contract","last_synced_at":"2025-04-22T17:32:07.476Z","repository":{"id":30631097,"uuid":"34186576","full_name":"hyperoslo/Contract","owner":"hyperoslo","description":"The easiest way to sign your soul away","archived":false,"fork":false,"pushed_at":"2015-04-21T14:54:17.000Z","size":1140,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-10-13T14:46:40.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"daidaidal/compiler","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperoslo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-18T23:20:12.000Z","updated_at":"2019-10-02T13:02:11.000Z","dependencies_parsed_at":"2022-08-21T03:20:55.546Z","dependency_job_id":null,"html_url":"https://github.com/hyperoslo/Contract","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperoslo%2FContract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperoslo%2FContract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperoslo%2FContract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperoslo%2FContract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperoslo","download_url":"https://codeload.github.com/hyperoslo/Contract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223902211,"owners_count":17222330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T01:24:54.898Z","updated_at":"2024-11-10T01:24:55.475Z","avatar_url":"https://github.com/hyperoslo.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Contract](https://raw.githubusercontent.com/hyperoslo/Contract/master/Images/cover-v2.png)\n\nApps that require signatures in a contract, behold!\n\nNo more crazyness, `Contract` makes signing your soul away much easier.\n\n## Usage\n\n```swift\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate, HYPContractViewControllerDelegate {\n\n  var window: UIWindow?\n\n  func application(\n    application: UIApplication,\n    didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -\u003e Bool {\n      window = UIWindow(frame: UIScreen.mainScreen().bounds)\n\n      let contractController = HYPContractViewController(\n        contractURL: \"http://ga.berkeley.edu/wp-content/uploads/2015/02/pdf-sample.pdf\",\n        firstPartyName: \"CEO\",\n        secondPartyName: \"Michael Minion\",\n        needsSignature: true)\n\n      contractController.delegate = self\n\n      if let window = self.window {\n        window.rootViewController = UINavigationController(rootViewController: contractController)\n        window.makeKeyAndVisible()\n      }\n\n      return true\n  }\n\n  func contractControllerDidFinish(\n    contractController: HYPContractViewController!,\n    withFirstPartySignature firstPartySignature: UIImage!,\n    andSecondPartySignature secondPartySignature: UIImage!) {\n      println(\"finished\")\n  }\n\n  func contractControllerDidDismiss(contractController: HYPContractViewController!) {\n    println(\"dismiss\")\n  }\n}\n```\n\n## How it looks\n\n![Demo](https://raw.githubusercontent.com/hyperoslo/Contract/master/Images/demo.png)\n\n## Installation\n\n**Contract** is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Contract'\n```\n\n## Author\n\nHyper Interaktiv AS, ios@hyper.no\n\n## License\n\n**Contract** is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperoslo%2Fcontract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperoslo%2Fcontract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperoslo%2Fcontract/lists"}