Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25195] iOS: Improve native module template

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-11-27T20:54:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-08-26T16:23:26.000+0000
Updated2017-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.

Comments

  1. Hans Knöchel 2017-11-21

    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 with appc ti create -t module 3. Validate that the iOS module under /ios/* 4. Package the module with appc 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 issues
  2. Eric Wieber 2017-11-27

    Verified in SDK build 7.0.0.v20171127131906

JSON Source