Need help with SwiftNote?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mslathrop
199 Stars 29 Forks MIT License 19 Commits 0 Opened issues

Description

Simple note taking app with today widget and iCloud syncing. Written in swift

Services available

!
?

Need anything else?

Contributors list

# 212,237
Swift
Objecti...
16 commits
# 380,269
Svelte
HTML
CSS
1 commit

SwiftNote

Note taking app with recent notes today widget and iCloud syncing. Written in swift

Things to watch out for with the today widget

  1. Make sure to set the height using self.preferredContentSize

Sharing data between the today widget and app

  1. Add an app group through the entitlements screen for both the widget and the app
  2. Make sure to specify the same group for each
  3. Make the core data store url exist in the app group's shared container:
var storeURL = NSFileManager.defaultManager().containerURLForSecurityApplicationGroupIdentifier(kAppGroupIdentifier)
        storeURL = storeURL.URLByAppendingPathComponent("SwiftNote.sqlite");
  1. Use this storeURL in both the today widget and app

Debugging the today widget

  1. Run the container app (SwiftNote) after making any changes
  2. Stop debugging
  3. In menu bar select Debug -> Attach to process -> By Process Identifier or Name
  4. Attach to the process com.appbrewllc.SwiftNote.SwiftNoteTodayWidget
  5. Breakpoint all the things!

iCloud syncing

This is currently not working. If anyone knows how to get this working please let me know

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.