✨ Enhancement: Support for Custom Notiq File Type (.ntq)
Summary
Introduce a custom file type (.ntq) for saving and sharing notes outside of the app. This will allow users to export/import their notes (and eventually attachments) as a portable file, and support opening these files directly in Notiq.
Motivation
- Enable users to back up and share notes easily.
- Allow exporting individual notes or collections.
- Lay groundwork for iCloud Drive / Files app integration.
- Potential future compatibility with third-party apps or a web client.
Goals
- Define a custom file extension
.ntq for Notiq.
- Implement export logic:
- Export single note →
.ntq file.
- Export multiple notes (maybe zipped
.ntqbundle).
- Implement import logic:
- Tap or drag
.ntq file → open in Notiq.
- Parse JSON or Core Data serialized format.
- Register file type with Uniform Type Identifier (UTI) for iOS/macOS:
- Make
.ntq files recognizable by system.
- Associate with Notiq app icon.
- Integrate with Share Sheet / Files App.
Technical Notes
- Use
Codable to serialize/deserialize note objects.
- Consider versioning the file format for forward compatibility.
- Storage format:
note.json → text content, metadata (id, title, date, tags).
- Attachments (images, drawings, audio) could be stored in a bundle folder later.
- Use
UIDocumentPickerViewController (iOS) / NSOpenPanel (macOS) for import/export.
Future Expansion
- Bundle multiple notes + media →
.ntqpackage (like Pages or Keynote bundles).
- iCloud Drive syncing of
.ntq files for universal access.
- Cross-platform compatibility (Windows/Linux/Android later).
✨ Enhancement: Support for Custom Notiq File Type (
.ntq)Summary
Introduce a custom file type (
.ntq) for saving and sharing notes outside of the app. This will allow users to export/import their notes (and eventually attachments) as a portable file, and support opening these files directly in Notiq.Motivation
Goals
.ntqfor Notiq..ntqfile..ntqbundle)..ntqfile → open in Notiq..ntqfiles recognizable by system.Technical Notes
Codableto serialize/deserialize note objects.note.json→ text content, metadata (id, title, date, tags).UIDocumentPickerViewController(iOS) /NSOpenPanel(macOS) for import/export.Future Expansion
.ntqpackage(like Pages or Keynote bundles)..ntqfiles for universal access.