# Notenik Workflow

## Intro

Tags:

Seq: 1

Link:

Body:

This Collection of Notes provides the complete normal workflow for making updates to Notenik. The Seq field is used to put them into an approximate sequence.

## Xcode

Tags:

Seq: 2

Link: https://apps.apple.com/us/app/xcode/id497799835?mt=12

Body:

Xcode is the IDE used for Swift development.

## Apple Developer Program

Tags:

Seq: 3

Link: https://developer.apple.com

Body:

Team Name: Herb Bowie

Team ID: W3CJLBABN3

Program:Apple Developer Program

US$ 99 /year

Renews annually at the end of March.

Technical Support:2

Need to get a Developer ID certificate for signing code for use on a Mac.

## Modify Code

Tags:

Seq: 4

Link: https://github.com/hbowie/notenik-swift

Body:

Make functional enhancements to the project’s code.

## Increment Version Number

Tags:

Seq: 5

Link:

Body:

1. Select new version number.
2. Update in Xcode on the General tab for the Notenik application.

## Update Packages to Latest Versions

Tags:

Seq: 6

Link:

Body:

## Test

Tags:

Seq: 7

Link:

Body:

## Update the Documentation

Tags: docs

Seq: 8

Link: https://github.com/hbowie/notenik-project

Body:

The documentation for The Notenik Project is stored as its own GitHub project.

## Update Notenik Collections, Templates and Scripts

Tags: docs

Seq: 8.1

Link: file:///Users/hbowie/Sites/notenik/

Body:

Almost all of the Notenik documentation is stored in a series of nested Notenik Collections that exist within the site itself. Use Notenik to update this documentation at the appropriate level(s) of detail.

## Notenik Swift Version History

Tags: docs, swift

Seq: 8.2.1

Link: file:///Users/hbowie/Sites/notenik/notenik-swift/change-log/

Body:

The Change Log is stored as another Notenik Collection.

Run the reports to generate a new Version History page to be included in the Notenik Swift User Guide.

## Notenik Swift User Guide

Tags: docs, swift

Seq: 8.2.2

Link: file:///Users/hbowie/Sites/notenik/notenik-swift/

Body:

The documentation for the Notenik application written in Swift is stored in its own Collection, as a sub-folder within the overall Notenik documentation.

After making any appropriate updates, use PSTextMerge to run the ‘reports/guide-gen.tcz’ file script within the Collection. This will create/update the ‘swift.text’ file within the top level of the notenik folder.

## Run the notenik-web-gen script

Tags:

Seq: 8.2

Link: file:///Users/hbowie/Sites/notenik/reports/notenik-web-gen.tcz

Body:

When all updates have been made, use Notenik to run the script located within the top level reports folder.

The name of the script file to be run is ‘notenik-web-gen.tcz’.

## Notenik Swift Help Notes

Tags: docs, swift

Seq: 8.5

Link: file:///Users/hbowie/Mac%20Info/ChronoSync%20Scripts/notenik-swift-intro%20refresh.sync

Body:

Notenik has the ability to open a Collection of Help Notes from within the application. These notes are stored locally at the following location:

- /Users/hbowie/Xcode/notenik-swift-intro

The Help Notes can be refreshed by running the following ChronoSync script:

- /Users/hbowie/Mac Info/ChronoSync Scripts/notenik-swift-intro refresh.sync

The refreshed folder will then be incorporated into Notenik on the next build.

## Notenik Swift Help Book

Tags: docs, swift

Seq: 8.6

Link: file:///Users/hbowie/Mac%20Info/ChronoSync%20Scripts/Notenik%20Help%20notes%20refresh.sync

Body:

See the folder at this location:

- /Users/hbowie/Xcode/Notenik/Notenik Help

The notes folder here can be refreshed by running the following ChronoSync script:

- /Users/hbowie/Mac Info/ChronoSync Scripts/Notenik Help notes refresh.sync

You can then rebuild the Notenik.help help book by using Notenik to run the following script:

- /Users/hbowie/Xcode/Notenik/Notenik Help/scripts/helpgen.tcz

## Notenik.net

Tags:

Seq: 8.9

Link: https://notenik.net

Body:

All documentation is published at Notenik.net.

## Screenshots

Tags:

Seq: 9

Link:

Body:

2560 x 1600 pixels

## Update Logging

Tags:

Seq: 10

Link:

Body:

For production release, the AppDelegate should be updated with the following options:

    logger.logDestPrint = false
    logger.logDestUnified = true

## Commit Changes using Git

Tags:

Seq: 11

Link: file:///Applications/Tower.app

Body:

## Product Archive

Tags:

Seq: 12

Link: https://codewithchris.com/submit-your-app-to-the-app-store/

Body:

In Xcode, go to Product >> Archive and let it bundle your app.

And then distribute the archive.

## App Store Connect

Tags:

Seq: 13

Link: https://appstoreconnect.apple.com

Body:

## Publish Updated Version of Notenik.net

Tags:

Seq: 14

Link:

Body:

Use Transmit.