Commit graph

17 commits

Author SHA1 Message Date
Blake McAnally
b011cbde42 Create dedicated data layer types for querying and updating CoreData 2024-07-10 16:03:38 -05:00
Garth Vander Houwen
d5efb15aca Log updates 2024-06-29 11:05:29 -07:00
Garth Vander Houwen
fd90d26acd use replace instead of migrate 2024-06-26 09:31:37 -07:00
Garth Vander Houwen
fc97247b8c Logging and linting 2024-06-23 16:11:02 -07:00
Garth Vander Houwen
12e090059d Backup database functionality 2024-06-23 13:00:20 -07:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Blake McAnally
4c7cd0d923 Adopt OSLog for logging and replace the majority of calls to print() 2024-06-01 11:30:29 -05:00
Blake McAnally
4d547e48db This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation.
After this change, a developer can now clone the project and run without the build failing due to lint errors! 😃

* I ran `swiftlint --fix` to resolve many auto-correctable issues (mostly whitespace)
* Excluded the `Meshtastic/Protobufs` directory from lint, since that code is automatically generated.
* Converted some single letter method parameters to lowercase.
* Converted several instances `force_cast` to instead use `guard` or `if let` to unwrap optional values. During this change, some of the SwiftUI views became "too complex to be solved in a reasonable time", so I broke up the views into distinct sub-expressions.

I was able to build and run the app on an iOS simulator.
2024-05-31 21:48:50 -05:00
Garth Vander Houwen
48ef2e656c Add node info broadcast interval 2024-02-12 22:09:22 -08:00
Garth Vander Houwen
34d4a36813 Try again and crash if the persistent store is not re-created properly 2024-02-04 22:04:40 -08:00
Garth Vander Houwen
ea4aa8a7ff Add a try catch when adding the persistant store back after switching between nodes. 2024-02-04 21:59:54 -08:00
Garth Vander Houwen
cfa4c03faa Move notification check to init
Clean up initial map centering
2023-03-26 09:08:08 -07:00
Garth Vander Houwen
fdade220de SwiftLint Whitespace fixes 2023-03-06 10:33:18 -08:00
Garth Vander Houwen
da382614dd Assorted app cleanup 2022-11-13 09:25:00 -08:00
Garth Vander Houwen
3cc507ce0f Assorted cleanup and nodedb reset fixes 2022-10-06 08:56:15 -07:00
Garth Vander Houwen
18d208a616 Update protobufs, add clear positions to position log 2022-10-03 16:52:00 -07:00
Garth Vander Houwen
e2dc8ed8ae Rename Project to satisfy app review 2022-06-24 08:00:18 -07:00
Renamed from MeshtasticApple/Persistence/Persistence.swift (Browse further)