Jan 22, 2017 at 9:36 PM
Days like these imposter syndrome really starts to weigh on my soul. I know I'm not a top-tier programmer, but I'm quite good so when I'm struggling so much to nail down some seemingly simple things it gets really exasperating. I finally nailed down what I think is a good file interface. We're reading and outputting json, both directly on the class and to and from the file system. I've also found a fairly straight forward way to pull data from the Xcode bundle and insert it into the Documents directory. My plan is to use this to push sample blog posts onto the site and use these for testing.
I have to remind myself that Swift is a new thing for me so a lot of the concepts and best practices are coming slowly. Sometimes I get frustrated with the boilerplate heavy implementations, but at the same time I love the Cocoa libraries and many of the pieces of the Swift language are awesome. Tomorrow it's back to Python and Django which is going to be a tough gear-shift after basically 4 days banging at Swift.