{"id":1868,"url":"https://github.com/evernote/evernote-cloud-sdk-ios","last_synced_at":"2025-04-04T14:08:17.090Z","repository":{"id":17080449,"uuid":"19845502","full_name":"Evernote/evernote-cloud-sdk-ios","owner":"Evernote","description":"Evernote Cloud SDK for iOS","archived":false,"fork":false,"pushed_at":"2024-08-22T13:20:31.000Z","size":2700,"stargazers_count":259,"open_issues_count":29,"forks_count":114,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-03-28T10:54:22.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dev.evernote.com/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Evernote.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-16T05:22:29.000Z","updated_at":"2024-10-16T20:56:50.000Z","dependencies_parsed_at":"2025-01-17T21:04:09.451Z","dependency_job_id":"1094fe7d-adb1-42bf-bc63-0f6e386fd964","html_url":"https://github.com/Evernote/evernote-cloud-sdk-ios","commit_stats":{"total_commits":220,"total_committers":22,"mean_commits":10.0,"dds":0.5363636363636364,"last_synced_commit":"8c91396a3ff4b0dcd0866a198de86024244a9891"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evernote%2Fevernote-cloud-sdk-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evernote%2Fevernote-cloud-sdk-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evernote%2Fevernote-cloud-sdk-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evernote%2Fevernote-cloud-sdk-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Evernote","download_url":"https://codeload.github.com/Evernote/evernote-cloud-sdk-ios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190252,"owners_count":20898702,"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-01-05T20:15:57.702Z","updated_at":"2025-04-04T14:08:17.073Z","avatar_url":"https://github.com/Evernote.png","language":"Objective-C","funding_links":[],"categories":["SDK","Official","官方的"],"sub_categories":["Official","Other free courses"],"readme":"![Evernote Logo](https://evernote.com/media/img/logos/evernote_logo_4c-lrg.png)\n\n# [Deprecated] Evernote Cloud SDK 4.0.0 for iOS\n\nThis is the official Evernote SDK for iOS. To get started, follow the instructions bellow. Additional information can be found in the [Getting Started Guide](Getting_Started.md).\n\nMore information about our developer program can be found here: [Evernote Developers](https://dev.evernote.com/)\n\n## Deprecation Notice\n\nThis SDK is considered to be deprecated in favor of [evernote-sdk-mac](https://github.com/evernote/evernote-sdk-mac).\n\n## Installation\n### Cocoapods\n```ruby\npod 'EvernoteSDK', '~\u003e 3.0'\n```\n\n### Manually\n\nDrag \u0026 Drop `evernote-sdk-ios.xcodeproj` into your project.\n\nNow open your target's `Build Phases` and add the following items to your `Link Binary With Libraries` section:\n\n- EvernoteSDKiOS.framework\n- CoreServices.framework\n- libxml2.dylib\n\n## Configuration\nUsers will have the fastest OAuth experience in your app if they already have the Evernote app installed. When this is the case, the authentication process will bounce to the Evernote app and authenticate without the user needing to enter their credentials at all. To enable this add following two properties to your Info.plist:\n\n\u003cimg src=\"info_plist_setting.png\" width=\"488\"\u003e\n\n**Note** When your app is in development and uses the \"sandbox\" environment, authentication will always use web-based OAuth, even if you have the Evernote app installed. After upgrading to a production consumer key, be sure to test authentication again with the Evernote app.\n\n## Usage\n### API Token\n#### Register for an Evernote API key (and secret)...\n\nYou can do this on the [Evernote Developers portal page](http://dev.evernote.com/documentation/cloud/). Most applications will want to do this-- it's easy and instant. During development, you will point your app at Evernote's \"sandbox\" development environment. When you are ready to test on production, we will upgrade your key. (You can create test accounts on sandbox by just going to [sandbox.evernote.com](http://sandbox.evernote.com)).\n\n#### ...or get a Developer Token\n\nYou can also just test-drive the SDK against your personal production Evernote account, if you're afraid of commitment or are building a one-off tool for yourself. [Get a developer token here](https://www.evernote.com/api/DeveloperToken.action). Make sure to then use the alternate setup instructions given in the \"Key Setup\" section below.\n\n\n### Import\nSimply import the SDK inside your project:\n\n```swift\nimport EvernoteSDK\n```\n\n```objc\n#import \u003cEvernoteSDK/EvernoteSDK.h\u003e\n```\n\n### API Key Setup\n\n```swift\nENSession.setSharedSessionConsumerKey(\u003cConsumer Key\u003e, consumerSecret:\u003cConsumer Secret\u003e, optionalHost: ENSessionHostSandbox)\n\n// using a developer token:\n// ENSession.setSharedSessionDeveloperToken(\u003cDev Token\u003e, noteStoreUrl: \u003cNote Store URL\u003e)\n```\n\n```objc\n[ENSession setSharedSessionConsumerKey:\u003cConsumer Key\u003e consumerSecret:\u003cConsumer Secret\u003e optionalHost:ENSessionHostSandbox];\n```\n\n### Authentication\n\n```swift\nENSession.shared.authenticate(with: self, preferRegistration: false, completion: { (_error: Error?) in\n\n})\n```\n\n```objc\n[[ENSession sharedSession] authenticateWithViewController:self preferRegistration:NO completion:^(NSError *authenticateError) {\n\n}];\n```\n\n## Documentation\n\n- [Additional Documentation](Getting_Started.md)\n- [API Reference](https://dev.evernote.com/doc/reference/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevernote%2Fevernote-cloud-sdk-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevernote%2Fevernote-cloud-sdk-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevernote%2Fevernote-cloud-sdk-ios/lists"}