<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Baz Scott on Medium]]></title>
        <description><![CDATA[Stories by Baz Scott on Medium]]></description>
        <link>https://medium.com/@bazscott?source=rss-fe8633141a74------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wr1xYh8_pr1iy2v4gwFY5w.jpeg</url>
            <title>Stories by Baz Scott on Medium</title>
            <link>https://medium.com/@bazscott?source=rss-fe8633141a74------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:43:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bazscott/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Version Two]]></title>
            <link>https://medium.com/@bazscott/version-two-e00efeb43593?source=rss-fe8633141a74------2</link>
            <guid isPermaLink="false">https://medium.com/p/e00efeb43593</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Baz Scott]]></dc:creator>
            <pubDate>Fri, 14 Jun 2019 06:13:05 GMT</pubDate>
            <atom:updated>2019-06-15T00:07:29.994Z</atom:updated>
            <content:encoded><![CDATA[<p>You don’t have to rewrite your whole app when you want to release version two, in fact, many people would say it’s inadvisable, or worse, to rewrite your whole app! Maybe they are right, <a href="https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/">this guy sometimes is</a> :) But I think we got away with it.</p><p>This week we released v2 of <a href="https://www.drawboard.com/bullclip/">Bullclip</a> for iOS — our wonderful app that allows easier design communication for everyone on architecture and engineering teams. Here is what the project involved, some of the challenges we faced, and some of the lessons we learned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wrYn0fpmUq4g4HcqqzSzvQ.png" /><figcaption>Let’s draw!</figcaption></figure><h4>A Modern App</h4><p>The app is now written 100% in Swift 5, and fully supports iOS 11 and 12. This has allowed us to move fast, using modern APIs. The app is responsive, useful for split screen on iPad, accessible, fast, stable, and nice too look at — theming was considered from day one.</p><p>[Aside: Sticking to modern frameworks and design patterns has proven useful already — a few days after WWDC 19 there was a branch that contained dark mode and multiple windows. Both of those things together took under 8 hours to implement and will be released when iOS 13 is public.]</p><p>The first lesson is — stick close to Apple design patterns, and keep code up to date, it makes life so much easier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jcG2ddu_KfhPEARvmodSag.png" /><figcaption>Getting to the right PDF</figcaption></figure><h4>What Does the App Do?</h4><p>The app can be broken down in to five parts:</p><ol><li>Navigating to a PDF — In order for our users to get to the PDF they want to work on a lot of data needs to be fetched and some navigation needs to happen. Things like logging in; auth tokens; listing the users team and projects; fetching lists of drawings; caching of all of these things, etc. This is all in the realms of standard URL and JSON-wrangling.</li><li>Rendering a PDF — A lot of research and experimentation went in to this part of the build. Version 1 used Core Graphics to render PDFs but it was not performing optimally and was hard to work with. So we investigated the new (to iOS) PDFKit from Apple. This crashed on about 1/4 of our test PDFs. Our customers in the architecture and engineering space generate very complex and large PDFs so we need to be able to render them reliably. We then tried PDFTron (which we already use to good effect on other platforms) and it performed very well with our test data. So we tweaked the settings on that to provide the best experience in caching without using too much RAM and used that as the baseline for our PDF rendering.</li><li>Inking &amp; displaying annotations — We have a variety of inking requirements, from custom freehand drawing to specific shapes and stamps. We also had to build a tool picker, saving of favourite tools, editing of annotations, different interactions if pencil is present vs not, and so much more. This is really the soul of the app, the good stuff. It took many iterations to get our freehand inking algorithm working in a way that feels amazing with pencil or finger, and looks great at 30% zoom or 4,000% zoom without generating way too much data. High fidelity inking while live syncing is very much a game of trade offs. There’s a reason why Apple Notes and OneNote don’t allow you to zoom the documents much, if at all, because allowing for clarity at high zoom levels is directly in conflict with keeping data packets small. We think we have found a really nice balance here.</li><li>Syncing engine — Related to the inking/annotations point above is our ability to sync annotations in near real-time. The big complication here is that users must be able to work offline and then sync all of their work when they come back online. So not only do we have to deal with large blocks of data constantly being sent when online (websockets help here), but we have to deal with a queue of these blocks building up too. So far, this article is around 800 words, if I was handwriting this in our app that would be around 2,000 to 3,000 individual annotations, or marks, on the paper, and each of those marks is a decent sized SVG. It’s easy to see how we can quickly generate a lot of data when handwriting offline. Writing this syncing engine was a huge challenge as it has to both send and receive data, work offline, work with or without websockets (some VPNs block them) and it must never ever lose any data :)</li><li>Additional features — The app also allows for other features that users need: Comments on drawing, Issues, comments on Issues! And internal features like diagnostics, error reporting, etc.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U5uidwDic_AdgxtUqyXe8Q.jpeg" /><figcaption>Pick a project</figcaption></figure><h4>What Did We learn?</h4><p>With an app as complex as this we had to stick to some solid basic principles to get the app written in a good time. Here are some of the things we learned that worked well for us:</p><ul><li>Use modern Swift, and make heavy use of functional programming concepts and things like Codable. It just makes life easier.</li><li>Use a layered architecture of small components — We use a sort of MVVM architecture. MVVM with a few other bits bolted on.</li><li>We make heavy use of protocols to pass actions around and ensure objects are abstracted to useful layers.</li><li>Dependency injection for everything. Small components are seperate and are given what they need from callers.</li><li>View controller containment. We make heavy use of this to render all screens as a tree of dependent views.</li><li>Share common views — e.g. standard loading/error/content containers. (I think this will set us up well for SwiftUI adoption next year)</li><li>Pretty much all of our data is immutable, until performance dictates otherwise.</li><li>As we needed offline use, we designed that in from the start using caching and queues. This slowed down initial development but was ultimately faster than retrofitting offline capability later on.</li><li>Tests, and only merging PRs if they are green.</li><li>One “AppStyle” file centralises all styles. (And this meant iOS 13 dark mode took about an hour to implement)</li><li>Stay close to UIKit norms. The app looks great, but it sticks very close to base. There is hardly any UIKit funny business going on. The only place that is not completely stock iOS is the canvas with its toolbars down each side.</li><li>Not too many dependencies. We have a few, the main one being GRDB as a SQLite wrapper.</li><li>Singletons are ok, used sparingly. The main singleton we have is the queue that handles syncing of annotations as this has to keep a tight grip on its own internal state while being bombarded with state changes from all sides :)</li></ul><h4>Stats</h4><p>As you can see, this was a big undertaking for a small team. It took about 150 elapsed working days. For most of that time we had two people working on the project, sometimes only one, so it wasn’t a huge development team, which I think was an advantage. Of course we had UX, UI, Product, QA, and Sales people to help out too.</p><p>We added 419,402 lines of code. But deleted 1,635,757 line of code! (The bulk of that came from removing React Native and other dependencies). Obviously most of the code added is from dependencies — really our code base is ~40,000 LoC, with a few thousand more in tests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*LcvgVcPMJy1wCRLCoFfcPQ.png" /><figcaption>Just one of the contributors</figcaption></figure><p>We merged just over 300 Pull Requests to get this done, and completed ~200 story cards in <a href="https://clubhouse.io/">Clubhouse</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_K7EvSKol8GsVkgD4UteZw.png" /><figcaption>Cumulative Flow Diagram for the project</figcaption></figure><h4>More Info?</h4><p>I wanted to write this post to see what people were interested in hearing more about. I intend to write more posts in the future covering some of the topics above in more detail so feel free to reach out and let me know if that would be useful. Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e00efeb43593" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Looking for some great people]]></title>
            <link>https://medium.com/itty-bitty-apps/looking-for-some-great-people-e353ed787d17?source=rss-fe8633141a74------2</link>
            <guid isPermaLink="false">https://medium.com/p/e353ed787d17</guid>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[greatness]]></category>
            <dc:creator><![CDATA[Baz Scott]]></dc:creator>
            <pubDate>Tue, 27 Sep 2016 00:00:02 GMT</pubDate>
            <atom:updated>2016-09-27T00:00:02.066Z</atom:updated>
            <content:encoded><![CDATA[<p>As far as we’re concerned, greatness is everything. In the way we work, in the way we treat each other, and most of all, in the products we create.</p><p>Greatness is in the standards we set for ourselves. We don’t just strive for great ideas — we bring them to life as great, useful things. We push ourselves to dig deeper for solutions, asking ‘how can this be better?’ — greater — even when it’s already good.</p><p>And now we are looking for a few great people to join us in solving problems for a wide variety of interesting clients, and to work on our own products.</p><p>We’re not going to list a bunch of skills and years of experience you need in order to work with us — we have people with a wide variety of skills and experiences in our team and we want more of that — in fact that’s what makes a great team.</p><p>In broad terms if you are excelling in the field of native mobile (or Mac) apps — as a Designer, iOS Developer, Android Developer, or Mac Developer — we want to talk to you.</p><p>You will need skills of course, but there are certain general qualities that are as important as specific skills or experience. Here are some of them:</p><p><strong>You work great in a team.</strong> Collaboration and shared understanding are critical to working effectively in our teams and delivering great products with our clients. You’ll get to work in a wide variety of companies and teams, so adaptability is a key skill.</p><p><strong>You solve problems.</strong> We are a problem solving company — you could say that’s basically all we do. We try to think of the why before the how and dig deep to create the very best solutions we can, within the constraints of a project.</p><p><strong>You work well with clients.</strong> Working with clients is stimulating, challenging, and hugely rewarding – but it’s not always easy. Clients are naturally concerned about where their time and money is going, and every project has it’s own challenges and quirks. Adaptability is key — circumstances will change, and that’s exciting!</p><p><strong>You are a listener.</strong> If we don’t listen, really listen, to our clients and each other we can’t answer the right questions or propose the right solutions. We value people who can really listen to others and take other points of view on board – then build on them.</p><p><strong>You are a great communicator.</strong> Working with clients and internal teams involves a lot of communication, in written form and mostly verbally. You need to be comfortable in getting your ideas across to clients well.</p><p>If this describes you and entices you please get in touch at <a href="/service/mailto:jobs@ittybittyapps.com">jobs@ittybittyapps.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e353ed787d17" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itty-bitty-apps/looking-for-some-great-people-e353ed787d17">Looking for some great people</a> was originally published in <a href="https://medium.com/itty-bitty-apps">Itty Bitty Apps</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>