Commit graph

14 commits

Author SHA1 Message Date
Mark Jerde 6a307b7200 Switch to MJCloudKitUserDefaults.framework. 2018-10-30 23:05:04 -05:00
Mark Jerde 64643088f5 Changes to go with update to MJCloudKitUserDefaultsSync d6b4a8431df171320bff7693a36a1bdec69b69e6 2018-10-30 23:05:04 -05:00
Mark Jerde 667e828dc7 Restore original default values now that iOS has settings for these. 2018-10-30 23:05:03 -05:00
Mark Jerde 99d471f46a Extend Settings access to Flycut iOS
Use InAppSettingsKit to display Settings within the app in addition to within
Settings.app.  This allows changes that initiate a user prompt to prompt the
user immediately when the change is made, rather than upon app launch as is the
case with using Settings.app, providing better user experience.

Move acknowledgements from preferences panel into a text file that is sourced into the preferences panel on macOS and the settings bundle (in-app only) on iOS.
2018-10-30 23:05:03 -05:00
Mark Jerde 1eef30cbd1 Move saveForgotten settings from FlycutOperator to AppController since they are reasonable to have different preference on different platform. Ensure that they are disabled on iOS for now, since they would be inaccessible files. 2018-10-30 23:05:03 -05:00
Mark Jerde 4d11c5e934 Add mechanism to prompt user only if necessary, after receiving first sync pull, to merge or overwrite existing lists or disable sync. Include support for merge at initial pull, seubsequent pulls, and conflict resolution. Ask user if they would like to enable iCloud Sync on first iOS launch since preferences are not yet implemented on that platform. 2018-10-30 23:05:03 -05:00
Mark Jerde b2ca345074 Change saveForgottenClippings from acting only when a clipping is added, and sometimes saving when a duplicate is ignored and thus nothing forgotten, to saving when informed by the store that something is being forgotten. Includes safeguards to not save a forgoten clipping if the user initiated the forgetting via delete or save-and-delete, or when a clipping is moved to the favorites store. 2018-10-30 23:05:03 -05:00
Mark Jerde f2fad2a8da Add mechanism to prevent saving the engine if there have been no changes since it was last saved. This becomes important with iCloud Sync to prevent pushing an update whenever the app is closed, unloaded, or other activities that invoke saveEngine. 2018-10-30 23:05:03 -05:00
Mark Jerde 13ceb8d7d0 Add support for iCloud Sync. 2018-10-30 23:05:03 -05:00
Mark Jerde 5fdf4dd742 Move displayNum and displayLen back to AppController since they are UI-specific. 2018-10-22 22:47:25 -05:00
Mark Jerde 3e4ea04567 Set temp values needed for the iOS version. 2018-10-22 22:47:25 -05:00
Mark Jerde 3210b31350 Initial minimum-functional Flycut iOS app. Due to iOS security mechanisms preventing persistent pasteboard visibility, this app will only add clippings when active and checks for a new clipping when activated. Hence the usage mode is to copy something, then open Flycut and it will add the current clipping to the store. App displays a list of the clippings, most recent on top, and places them on the pasteboard when tapped. Future plans include a more refined visual style, action extensions, access to settings, and iCloud sync. 2018-10-22 22:47:24 -05:00
Mark Jerde f383482e4a Divide AppController into two files, one for UI and one for management of clipping stores. 2018-10-22 22:47:24 -05:00
Mark Jerde 7027778271 Add FlycutOperator files to project, to be used to divide AppController into two files, one for UI and one for management of clipping stores. 2018-10-22 22:47:24 -05:00