loading...
Cover image for Day 17: Swift macOS password manager for people who hate the cloud

Day 17: Swift macOS password manager for people who hate the cloud

swlkr profile image Sean Walker ・2 min read

Making a swift MacOS password manager for people who hate the cloud (32 Part Series)

1) Day 1: Making a swift macOS password manager for people who hate the cloud 2) Day 2: Making a swift macOS password manager for people who hate the cloud 3 ... 30 3) Day 3: Making a swift macOS password manager for people who hate the cloud 4) Day 4: Making a swift macOS password manager for people who hate the cloud 5) Day 5: Making a swift macOS password manager for people who hate the cloud 6) Day 6: Making a swift macOS password manager for people who hate the cloud 7) Day 7: Making a swift macOS password manager for people who hate the cloud 8) Day 8: Making a swift MacOS password manager for people who hate the cloud 9) Day 9: Making a swift macOS password manager for people who hate the cloud 10) Day 10: Making a swift macOS password manager for people who hate the cloud 11) Day 11: Making a swift macOS password manager for people who hate the cloud 12) Day 12: Swift macOS password manager for people who hate the cloud 13) Day 13: Swift macOS password manager for people who hate the cloud 14) Day 14: Swift macOS password manager for people who hate the cloud 15) Day 15: Swift macOS password manager for people who hate the cloud 16) Day 16: Swift macOS password manager for people who hate the cloud 17) Day 17: Swift macOS password manager for people who hate the cloud 18) Day 18: Swift macOS password manager for people who hate the cloud 19) Day 19: Swift macOS password manager for people who hate the cloud 20) Day 20: Swift macOS password manager for people who hate the cloud 21) Day 21: Swift macOS password manager for people who hate the cloud 22) Day 22: Swift macOS password manager for people who hate the cloud 23) Day 23: Swift macOS password manager for people who hate the cloud 24) Day 24: Swift macOS password manager for people who hate the cloud 25) Day 25: Swift macOS password manager for people who hate the cloud 26) Day 26: Swift macOS password manager for people who hate the cloud 27) Day 27: Swift macOS password manager for people who hate the cloud 28) Day 28: Swift macOS password manager for people who hate the cloud 29) Day 29: Swift macOS password manager for people who hate the cloud 30) Day 30: Swift macOS password manager for people who hate the cloud 31) Day 31: Swift macOS password manager for people who hate the cloud 32) How did my password manager do after launch?

<- For Day 16 go here

πŸ“… 01/17/2019
πŸš€ 13 days until launch
πŸ”₯ 16 day streak
πŸ’° $2.99 price (into cup of coffee territory now)
πŸ€‘ $0 revenue
πŸ“ˆ 0 customers
⌚️ 18.5 hours spent
πŸ’» ----
🏁 Today's goal: Encrypt sqlite database

7:10 AM
I realized that although it seemed like a good idea to put the passwords as keychain values with UUIDs, it's not a good idea. The keychain can get uploaded to iCloud independently of the app, which kind of defeats the purpose. I'm going to try to instead just store the master password in the keychain and store the passwords in SQLite, which means I need to hook up the master password to SQLite, which I did not do before 😬

8:05 AM
I'm kind of overwhelming myself here, but I learned a crap ton about the limitations of NSToolbar and how to work around them. I also learned about SplitViews today and I kind of didn't realize how terrible my implementation of a fixed-width TableView was combined with a fixed-width ContainerView. So combine that with the keychain, sqlite encryption and… the list goes on.

Oh! Also today I was tired and lost all of my work on the copy buttons from yesterday via git β€”reset hard head while it was uncommitted. Checked the reflog, no such luck πŸ˜…

Sigh. I'll pick this up after work. Not a good idea with 13 days left to launch to start from scratch, but GOING TO ANYWAY πŸ’ͺ

6:18 PM
Started a little later, had to pick up some new floor for my house because carpet and vinyl ain't good enough bruh πŸ™…β€β™€οΈ Alright, let's see where I'm at in like 2 hours

9:19 PM
Three hours later. I've started over completely from scratch and have been coding furiously. I actually did a good thing this time. The SQLite db is encrypted with the master password you set πŸŽ‰. It's almost like this thing is worth paying money for now! Except… you can't store passwords or copy them anymore πŸ˜… Here's what it looks like now. Barren 🏜

And no I don't know why it jumped out of the frame of my recording like that. One other weird thing I'll have to deal with.

Alright so let me just break down today one more time for my own sanity:

  • Started a brand spankin' new xcode project after 16 days
  • Actually encrypted the SQLite database with the master password you set
  • Switched from Carthage to Cocoapods
  • Read up on state of the art AppKit UI stuff (nstoolbar/faux toolbars and split views)
  • Store just the master password in the keychain, and everything else in the encrypted SQLite file

Come back tomorrow for more sadness and despair as the launch deadline looms over me like a dark cloud! See you then! πŸ‘‹

Making a swift MacOS password manager for people who hate the cloud (32 Part Series)

1) Day 1: Making a swift macOS password manager for people who hate the cloud 2) Day 2: Making a swift macOS password manager for people who hate the cloud 3 ... 30 3) Day 3: Making a swift macOS password manager for people who hate the cloud 4) Day 4: Making a swift macOS password manager for people who hate the cloud 5) Day 5: Making a swift macOS password manager for people who hate the cloud 6) Day 6: Making a swift macOS password manager for people who hate the cloud 7) Day 7: Making a swift macOS password manager for people who hate the cloud 8) Day 8: Making a swift MacOS password manager for people who hate the cloud 9) Day 9: Making a swift macOS password manager for people who hate the cloud 10) Day 10: Making a swift macOS password manager for people who hate the cloud 11) Day 11: Making a swift macOS password manager for people who hate the cloud 12) Day 12: Swift macOS password manager for people who hate the cloud 13) Day 13: Swift macOS password manager for people who hate the cloud 14) Day 14: Swift macOS password manager for people who hate the cloud 15) Day 15: Swift macOS password manager for people who hate the cloud 16) Day 16: Swift macOS password manager for people who hate the cloud 17) Day 17: Swift macOS password manager for people who hate the cloud 18) Day 18: Swift macOS password manager for people who hate the cloud 19) Day 19: Swift macOS password manager for people who hate the cloud 20) Day 20: Swift macOS password manager for people who hate the cloud 21) Day 21: Swift macOS password manager for people who hate the cloud 22) Day 22: Swift macOS password manager for people who hate the cloud 23) Day 23: Swift macOS password manager for people who hate the cloud 24) Day 24: Swift macOS password manager for people who hate the cloud 25) Day 25: Swift macOS password manager for people who hate the cloud 26) Day 26: Swift macOS password manager for people who hate the cloud 27) Day 27: Swift macOS password manager for people who hate the cloud 28) Day 28: Swift macOS password manager for people who hate the cloud 29) Day 29: Swift macOS password manager for people who hate the cloud 30) Day 30: Swift macOS password manager for people who hate the cloud 31) Day 31: Swift macOS password manager for people who hate the cloud 32) How did my password manager do after launch?

Posted on by:

swlkr profile

Sean Walker

@swlkr

Takes hikes πŸ” Makes sites πŸ‘¨β€πŸ’»

Discussion

markdown guide