[TIMOB-25195] iOS: Improve native module template
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-11-27T20:54:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.0.0 |
Components | iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-08-26T16:23:26.000+0000 |
Updated | 2017-11-29T23:11:46.000+0000 |
Description
In 6.2.0, we already improved the module template by cleaning up the default-code, general code-style and enabled ARC. As the next step, I would like to do some more adjustments:
* Include our .clang-format for unified formatting
* Rework default .gitignore to do more than just ignoring the .DS_STORE (e.g. build-directory, zip-files, xcode-metadata)
* Rework default README to a) have an actual ".md" file extension and b) be more descriptive for things like CI-integration, license-fields and general structure (features, docs, example, authors, ...)
This should be possible in the 7.0.0 timeframe.
PR: https://github.com/appcelerator/titanium_mobile/pull/9618 Test-Case: 1. Build the PR and set it as the default SDK in
appc ti setup sdk
2. Create a new module withappc ti create -t module
3. Validate that the iOS module underappc run -p ios --build-only
5. Validate that the module is packaged as a .zip 6. Create a new project and add the module to it (both the extracted modules/ directory and the reference inside the tiapp.xml) 7. Run the app, it should run without issuesVerified in SDK build 7.0.0.v20171127131906