在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Automattic/simplenote-ios开源软件地址:https://github.com/Automattic/simplenote-ios开源编程语言:Swift 70.5%开源软件介绍:Simplenote for iOSA Simplenote client for iOS. Learn more about Simplenote at Simplenote.com. Build InstructionsDownload XcodeAt the moment Simplenote for iOS uses Swift 5 and requires Xcode 10.2 or newer. Xcode can be downloaded from Apple.* Third party toolsWe use a few tools to help with development. To install or update the required dependencies, run the follow command on the command line:
CocoaPodsSimplenote for iOS uses CocoaPods to manage third party libraries.
Third party libraries and resources managed by CocoaPods will be installed by the SwiftLintWe use SwiftLint to enforce a common style for Swift code. The app should build and work without it, but if you plan to write code, you are encouraged to install it. No commit should have lint warnings or errors. You can set up a Git pre-commit hook to run SwiftLint automatically when committing by running:
This is the recommended way to include SwiftLint in your workflow, as it catches lint issues locally before your code makes its way to Github. Alternately, a SwiftLint scheme is exposed within the project; Xcode will show a warning if you don't have SwiftLint installed. SwiftLint is integrated directly into the Xcode project, so lint errors appear as warnings after you build the project If your code has any style violations, you can try to automatically correct them by running:
Otherwise you have to fix them manually. Open XcodeLaunch the workspace by running the following from the command line:
This will ensure any dependencies are ready before launching Xcode. You can also open the project by double clicking on Simplenote.xcworkspace file, or launching Xcode and choose Once you have opened Simpleonte iOS in Xcode, depending on your setup, you may need to make a few changes before you can build the app. In Xcode hit Known Xcode IssuesThere are some common errors that can happen when first getting Simplenote iOS setup. Check these instructions to see how to fix those. If you see If the build fails with an Once you have trusted the app and the SPM packages are downloaded you should be able to build the app. Try Setup CredentialsSimplenote is powered by the Simperium Sync'ing protocol. To be able to connect a development build of Simplenote iOS to the Simperium syncing service you will first need to setup app credentials. We distribute testing credentials that help us authenticate your application, and verify that the API calls being made are valid. Please copy the testing Simperium credentials as follows:
This will copy the demo SPCredentials file into the correct directory with the basic details for an OSS contributor. Then edit the new This will allow you to compile and run the app on a device or a simulator. With the app running in the simulator you can connect to Simplenote. Note that for testing builds you can only connect to Simplenote account using the email address and password of your account on Note: Simplenote API features such as sharing and publishing will not work with development builds. OptionalIf you want to try the screenshots generation locally, also create your own testing credentials for that target:
Style GuidelinesWe follow the WordPress iOS Style Guidelines, and we're constantly improving / adopting latest techniques. ContributingRead our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute. LicenseSimplenote for iOS is an Open Source project covered by the GNU General Public License version 2. Happy noting! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论