<?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 Nicolas Bichon on Medium]]></title>
        <description><![CDATA[Stories by Nicolas Bichon on Medium]]></description>
        <link>https://medium.com/@nicolasbichon?source=rss-85db8d26e6a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*xl8FPxurkNycdNcqy7WeHA.jpeg</url>
            <title>Stories by Nicolas Bichon on Medium</title>
            <link>https://medium.com/@nicolasbichon?source=rss-85db8d26e6a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 00:09:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicolasbichon/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[Creating an abstraction layer for the model]]></title>
            <link>https://medium.com/remember-app/creating-an-abstraction-layer-for-the-model-e16c643a8a62?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e16c643a8a62</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[layers]]></category>
            <category><![CDATA[model]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[abstraction]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Mon, 04 Feb 2019 12:53:59 GMT</pubDate>
            <atom:updated>2019-02-08T23:16:06.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bS3bWOJDVSP7N2P6" /><figcaption>Photo by <a href="https://unsplash.com/@hasanalmasi?utm_source=medium&amp;utm_medium=referral">Hasan Almasi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Have you ever seen different layers for the model in iOS development? I never have. When using Core Data for example, we usually manipulate NSManagedObject directly in the view. That’s not ideal. So for once, I looked at how I could create an abstraction layer for the model.</p><h3>Why another model?</h3><p>I’m using <a href="https://twitter.com/rememberlastime/status/1088076164030230528">Core Data to store the data</a> in our app <a href="http://remember-app.co/">Remember</a>. To create a Core Data model, I need to inject a NSManagedObjectContext object in the NSManagedObject constructor. The problem is I don’t want to have to pass around the context object everywhere in the app. I want it to be <strong>isolated</strong> in the model layer. And I want to manipulate <strong>simple</strong> <strong>POSOs</strong> (Plain Old Swift Object) in the business layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*0wAAQmwR_wiOM5a3A_FuFQ.png" /></figure><p>To do that, I need a way to translate my NSManagedObject objects into business objects and vice versa.</p><p>Also, my database objects should not know my business objects. By doing so, I could easily replace Core Data with another database provider, without impacting the rest of the codebase. This idea is inspired from the <a href="http://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html">Clean Architecture</a>.</p><h3>Business and model layers</h3><p>In our app <a href="http://remember-app.co/">Remember</a>, I only have one table to store the last times a user did something. Pretty simple.</p><p>I created an Event class in my business layer. This is the object I will manipulate in the views.</p><p>For the model layer, I created an EventManagedObject class, which inherits from NSManagedObject.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*UlY5J00LOetBd6eVNq0DZg.png" /><figcaption>Each layer has its own representation of the Event entity</figcaption></figure><h3>From one model to another</h3><p>To convert the objects in both directions, I created an ObjectConvertible protocol, implemented by the Event class.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/587237f26d5b1724605467182d81869f/href">https://medium.com/media/587237f26d5b1724605467182d81869f/href</a></iframe><p>The identifier is used to fetch the corresponding NSManagedObject, if there is one.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/564619d447dc2a84b44fa6337cd5be49/href">https://medium.com/media/564619d447dc2a84b44fa6337cd5be49/href</a></iframe><p>Then I created a ManagedObjectConvertible protocol.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbbcb4b8cc0d5bc42fed5f84ef25f716/href">https://medium.com/media/fbbcb4b8cc0d5bc42fed5f84ef25f716/href</a></iframe><p>Because I didn’t want to rewrite the same code in each NSManagedObject subclass which implements this protocol, I wrote a <strong>protocol extension</strong> where most of the job is done. This is where the magic happens.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a0681e272d216a1bef45f681567d1a0/href">https://medium.com/media/8a0681e272d216a1bef45f681567d1a0/href</a></iframe><p>This protocol is implemented by the EventManagedObject class.</p><p>Thanks to the protocol extension, I have only <strong>two methods </strong>left to implement. Those are the methods that transfer the business object’s data to the database object’s data and vice versa.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8caee2f37d4b621bd896ffc58bc49c66/href">https://medium.com/media/8caee2f37d4b621bd896ffc58bc49c66/href</a></iframe><h4>CRUD operations</h4><p>It is now super easy to perform operations on the Event object, without manipulating NSManagedObject objects directly.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e571b0954823da8608417c8d5e2cbe2/href">https://medium.com/media/9e571b0954823da8608417c8d5e2cbe2/href</a></iframe><h3>Store</h3><p>At the beginning of this article, I said I didn’t want to have to pass a NSManagedObjectContext object throughout the code.</p><p>To isolate the context, I created an EventStore class, which keeps a reference on the NSManagedObjectContext object.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6060258b0cc42a00aff74932c1420a71/href">https://medium.com/media/6060258b0cc42a00aff74932c1420a71/href</a></iframe><p>The store can then be used in a view controller, or a view model for example.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/94b07db7fd0a25993c4186c3d4368dae/href">https://medium.com/media/94b07db7fd0a25993c4186c3d4368dae/href</a></iframe><p>The business layer uses the store to perform operations on the business objects. It doesn’t know where the objects are stored, it could be in Core Data, Realm or even in files. This is my abstraction layer.</p><h3>Downsides</h3><p>Even though this method provides some comfort when working with model objects, it has some downsides.</p><p>The biggest one is I can’t use Core Data’s built-in <strong>lazy loading</strong> system or <strong>NSFetchedResultsController</strong>. If I wanted to use it, I would have to create my own pagination system.</p><p>Dealing with <strong>relationships</strong> is also not implemented in this solution. Even though I didn’t investigate it, the conversion of the nested objects would probably be in the from(object: T) and toObject() -&gt; T implementation methods.</p><h3>Final thoughts</h3><p>I managed to do what I initially wanted, the Event class is totally <strong>agnostic</strong> of the EventManagedObject class.</p><p>I’m manipulating <strong>simple objects</strong> in the views.</p><p>And the model layer is <strong>isolated</strong> from the rest of the application. I could definitely replace Core Data with another database provider, without impacting the rest of the codebase.</p><p>The only thing left is to handle <strong>Core Data errors</strong>. Something I will definitely do in the app.</p><p>I honestly never worked on an app that had an abstraction layer for the model. Like I said, it’s not common in the iOS world, from my experience at least. But I’m super happy with the result and <a href="https://github.com/papercones/remember">I will definitely use it in Remember</a>.</p><p>Any feedback is welcome!</p><p><em>A big thank you to </em><a href="https://twitter.com/werck_a"><em>Ayrton</em></a><em> for his help.</em></p><p><a href="http://remember-app.co/"><em>Remember</em></a><em> is an iOS app developed by </em><a href="https://twitter.com/nicol3a"><em>Nicolas Bichon</em></a><em> and </em><a href="https://twitter.com/jeromedieu"><em>Jérôme Dieu</em></a><em>. We share everything that happens during the creation of the app on Twitter. </em><a href="https://twitter.com/rememberlastime"><em>Follow us</em></a><em> on this journey!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e16c643a8a62" width="1" height="1" alt=""><hr><p><a href="https://medium.com/remember-app/creating-an-abstraction-layer-for-the-model-e16c643a8a62">Creating an abstraction layer for the model</a> was originally published in <a href="https://medium.com/remember-app">Remember</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(Re)starting our personal project]]></title>
            <link>https://medium.com/remember-app/re-starting-our-personal-project-45532c3a320d?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/45532c3a320d</guid>
            <category><![CDATA[launch]]></category>
            <category><![CDATA[personal-project]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Mon, 21 Jan 2019 12:16:02 GMT</pubDate>
            <atom:updated>2019-02-01T18:15:29.890Z</atom:updated>
            <content:encoded><![CDATA[<p>Working on personal projects is hard, even more when we already have a full-time job. I worked on countless of unfinished personal projects. Today we’re (re)starting a new one, <a href="https://twitter.com/nicol3a">me</a> and my friend <a href="https://twitter.com/jeromedieu">Jérôme</a>.</p><h3>A bit of history</h3><p>Back in December 2013, I had the idea of creating an iOS app that would help me remember the last time I did something. Jérôme and I were already working together in the same company in Brussels. He’s a designer, I’m an iOS developer, so we decided to team up to create this app, forming the Papercones collective.</p><p>Jérôme came up with a <a href="https://dribbble.com/shots/1321839-Next-app-icon">colorful design</a> that was doing the job very well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YJikdW14yRufTv60HQN63Q.png" /><figcaption>The original design made in 2013 (refreshed in 2015)</figcaption></figure><p>We finished the app in a few months and we were almost ready to ship it. Then the iPhone 6 came out with a new screen resolution. Unfortunately we never took the time to adapt the app for it. At that time I had also just moved to another job, which is always is big disruption. Time passing, we stopped working on it.</p><p>5 years later, it’s finally time to work on it again. And finish it this time.</p><h3>What’s the plan?</h3><p>My idea to be sure we have no choice but to finish the app, is to <strong>share</strong> <strong>everything we do and think</strong> during the creation process (the technical / design choices we make, how we work, our motivation to work on a personal project after work, the business model, etc.).</p><p>I really think it’s interesting for people who want to know how an app is designed. It’s also going to force us to go all the way.</p><ol><li>We will <strong>refresh the UI</strong>. Jérôme made the design in December 2013, it was 5 years ago. Things have changed a lot since then.</li><li>We will <strong>re-develop the app</strong> from scratch, in Swift. The code was originally written in Objective-C and I was still a junior developer then. Swift is out now and the code I write today is completely different. I even write unit tests (gasp!).</li><li>The code will be <strong>Open Source</strong>,<strong> </strong>the <a href="https://github.com/papercones/remember">public Github repository</a> is already available. We will push commits <strong>throughout the development</strong> of the app.</li><li>We will share daily what happens during the creation of the app on <a href="https://twitter.com/rememberlastime"><strong>Twitter</strong></a>, and big milestones on <a href="http://medium.com/rememberthelasttime"><strong>Medium</strong></a>.</li></ol><p>It’ll be fun! Join us on this journey!</p><p><a href="http://remember-app.co/"><em>Remember</em></a><em> is an iOS app developed by </em><a href="https://twitter.com/nicol3a"><em>Nicolas Bichon</em></a><em> and </em><a href="https://twitter.com/jeromedieu"><em>Jérôme Dieu</em></a><em>. We share everything that happens during the creation of the app on Twitter. </em><a href="https://twitter.com/rememberlastime"><em>Follow us</em></a><em> on this journey!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45532c3a320d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/remember-app/re-starting-our-personal-project-45532c3a320d">(Re)starting our personal project</a> was originally published in <a href="https://medium.com/remember-app">Remember</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anything can go wrong, even when it’s not supposed to]]></title>
            <link>https://medium.com/@nicolasbichon/anything-can-go-wrong-even-when-its-not-supposed-to-bbbd7338b45f?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbbd7338b45f</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[take-eat-easy]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Thu, 26 Jul 2018 11:01:26 GMT</pubDate>
            <atom:updated>2018-07-26T14:00:27.130Z</atom:updated>
            <content:encoded><![CDATA[<h4>A lesson learned about losing my job(s)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KmYBxcUR633Yecib" /><figcaption>Photo by <a href="https://unsplash.com/@chuttersnap?utm_source=medium&amp;utm_medium=referral">chuttersnap</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Exactly 2 years ago, I was working in the biggest and fastest growing Belgian start-up. We were operating in Belgium, France, UK and Spain, opening new cities every week, growing to 200 employees and reaching almost 1 000 000 orders. The company’s name was Take Eat Easy, a food delivery company.</p><h3>On top of the world</h3><p>I was at the highlight of my career, I found exactly what I was searching for. An amazing company building a great product with fantastic and passionate people. The dream job for me.</p><p>We could feel that everyone inside the company was doing their best to make the adventure a success. It was so energizing.</p><p>We knew we were part of something big, food delivery companies were exploding at that time, and we were one of the first, delivering by bicycle. We were excelling at what we were doing and our brand was insanely popular.</p><p>During my time at Take Eat Easy, we spent 5 months rebuilding the mobile apps from scratch (<a href="https://itunes.apple.com/fr/app/take-eat-easy-livraison-restaurants/id919440653?mt=8">iOS</a>, Android and API) and added new features during the next 3 months.</p><p>It has been an amazing experience, I learned so much about working in a multi disciplinary team. The interactions between the developers, the designers and the product managers were at a level I’ve never seen before, which ended up in creating the best app I’ve ever worked on.</p><p>I was so proud to be part of that company.</p><h3>Until…</h3><p>Yet, on the morning of July 26, 2016, at 9 a.m. the CEO announced during a phone call with all employees from the 4 countries, that <a href="https://medium.com/@adrienroose/from-0-to-1-000-000-to-ecb4e2f863c7">we were shutting down</a>. The same day.</p><p>It was tough, <a href="https://medium.com/@chloeroose/the-right-words-to-say-goodbye-8a2218b32f92">hard to believe</a>. I still have goosebumps remembering that moment.</p><p>My friend and colleague <a href="https://twitter.com/Apokrupto">Warren</a> told me that day, that it’s always the employees who believes the most in a company and its mission, that get hurt the most. I was in <strong>love</strong> with that company, it’s like it was mine. And I suffered, it was like a break-up for me.</p><p>One day I was working in the coolest startup I could have ever dreamt of, with fantastic people that I enjoy working with. The very next day I was reading job offers for banks or insurances, alone at home…</p><p>Psychologically, it was depressing. And it took me a while to mourn, because it was so abrupt. When you’re in that situation, it’s really hard to keep confidence in yourself. Everything you’ve worked so hard for, suddenly vanishes.</p><h3>Fall only to rise again</h3><p>Having worked in a famous start-up gave us all a momentum to find a new job. So a few weeks later, I started working at another product company.</p><p>In a scary turn of event, 9 months later, that company would close. Not from a bankruptcy this time. The group who owned the company decided to shut it down after several years of loss.</p><p>Boom. Twice in a row.</p><h3>Hard lesson learned</h3><p>The lesson learned here is it doesn’t matter how well your company is doing, how strong your brand is, how unstoppable you think you are or how stable you think your job is. Everything can fall apart and <a href="https://twitter.com/vanschneider/status/1006597444078010368">stop tomorrow</a> morning.</p><p>This is one of the best advice I’ve ever learned.</p><p>Take Eat Easy remains the best professional experience I’ve ever had. And if I had to do it again, knowing the end result, I would jump in right away, without any hesitation. It was <strong>that</strong> worth it.</p><p>What I will always remember and cherish is the journey, not the destination.</p><p>If you’re reading this, I truly wish you to live an experience like that one day.</p><p>Life is too short to not love your job. ❤️</p><p>Big shout out to <a href="https://twitter.com/Apokrupto">Warren</a>, <a href="https://twitter.com/NadiaNadienka">Nádia</a>, <a href="https://twitter.com/IsabelleBamber">Isabelle</a>, <a href="https://twitter.com/Damien_be">Damien</a>, <a href="https://twitter.com/Jaybe169">JB</a>, <a href="https://twitter.com/BrixheJ">Jérémy</a>, <a href="https://twitter.com/sarbogast">Sébastien</a>, <a href="https://twitter.com/FenauxRaphael">Raphael</a>, <a href="https://twitter.com/adrienroose">Adrien</a> and so many others… What an incredible team! 🚲</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*O0pMLedXxXjfznua7OauJw.jpeg" /><figcaption>The team in Brussels (credit <a href="http://trends.levif.be/economie/high-tech/numerik/take-eat-easy-retour-sur-les-raisons-d-une-explosion-en-plein-vol/article-normal-536857.html">Trends-Tendances</a>)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbbd7338b45f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WWDC 2018, on y était !]]></title>
            <link>https://medium.com/nuglif/nuglif-wwdc-2018-d9caa8784fd7?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9caa8784fd7</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[wwdc]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Mon, 18 Jun 2018 13:45:21 GMT</pubDate>
            <atom:updated>2018-06-18T13:48:34.313Z</atom:updated>
            <content:encoded><![CDATA[<h4>Retour sur une semaine chargée à San Jose.</h4><p>Début Juin se déroulait la WWDC, la conférence organisée pour les développeurs par Apple à San Jose, en Californie. Mon collègue Olivier et moi-même avons eu la chance d’y participer. On vous raconte !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NS_20H65aCPxK0Wcor2EqA.jpeg" /></figure><h3>Le Keynote</h3><p>La conférence s’ouvre toujours par le traditionnel Keynote, pendant lequel les VP d’Apple présentent les nouveautés. Cette année, nous avons eu le droit à la présentation des nouveautés pour <strong>iOS</strong>, <strong>watchOS</strong>, <strong>tvOS</strong> et <strong>macOS</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HjZVw0HYzMtNCqxbD_sYlQ.jpeg" /><figcaption>La récompense après 5h de file…</figcaption></figure><h3>Les Labs</h3><p>Le grand intérêt d’assister à la WWDC, outre d’assister aux conférences qui sont diffusées en direct sur Internet, est de pouvoir <strong>discuter avec des ingénieurs Apple</strong>. Plusieurs Labs techniques sont disponibles pour remonter des bugs ou poser des questions tout au long de la semaine.</p><p>Un autre point fort de notre semaine a été de pouvoir participer à un <strong>User Interface Design</strong> Lab. Pendant 30 minutes nous avons pu présenter nos applications avec 2 designers Apple et obtenir leurs précieux conseils.</p><h3>Les sessions</h3><p>Parmi toutes les sessions auxquelles nous avons assisté, voici celles qui nous ont le plus marqués.</p><h4>Siri Shortcuts</h4><p>C’est <strong>la</strong> grosse nouveauté pour iOS et watchOS cette année. Les Shorcuts permettent d’ajouter des interactions avec Siri pour n’importe quel type d’application. Peut-être même que nous pourrons en intégrer dans nos applications… À suivre ! ;-)</p><ul><li><a href="https://developer.apple.com/videos/play/wwdc2018/211/">Introduction to Siri Shortcuts - WWDC 2018 - Videos - Apple Developer</a></li><li><a href="https://developer.apple.com/videos/play/wwdc2018/214/">Building for Voice with Siri Shortcuts - WWDC 2018 - Videos - Apple Developer</a></li></ul><h4>Parallel Testing</h4><p>Si les applications de La Presse sont connues pour être robustes, c’est parce qu’elles sont couvertes par une importante quantité de tests, on était donc assez excités lorsque Apple a annoncé que le testing de plusieurs appareils en parallèle allait devenir possible. De quoi améliorer significativement la vitesse d’exécution de nos tests !</p><ul><li><a href="https://developer.apple.com/videos/play/wwdc2018/403/">What&#39;s New in Testing - WWDC 2018 - Videos - Apple Developer</a></li><li><a href="https://developer.apple.com/videos/play/wwdc2018/417/">Testing Tips &amp; Tricks - WWDC18 - Videos - Apple Developer</a></li></ul><h4>Building Faster in Xcode</h4><p>Apple a annoncé des améliorations majeures concernant le temps de compilation des applications, encore une nouvelle qui nous a vraiment plu. Une application aussi importante que La Presse+ contient beaucoup de code, on espère que l’on pourra réduire le temps de compilation qui peut être parfois assez long.</p><p>Une autre nouveauté attendue par nombre de développeurs est les <em>incremental builds</em>, cela permettra au compilateur de recompiler uniquement les fichiers Swift modifiés.</p><p><a href="https://developer.apple.com/videos/play/wwdc2018/408/">Building Faster in Xcode - WWDC 2018 - Videos - Apple Developer</a></p><h4>Embracing algorithms</h4><blockquote>To loop, or not to loop, that is the question.</blockquote><p>Le présentateur et son alter ego Crusty ont vraiment bien animé cette session ! Il nous a expliqué comment bien optimiser notre code en utilisant les bons algorithmes selon la situation.</p><p><a href="https://developer.apple.com/videos/play/wwdc2018/223/">Embracing Algorithms - WWDC 2018 - Videos - Apple Developer</a></p><h4>Using Collections Effectively</h4><p>Cette session assez technique remet en question notre façon d’utiliser les collections, les slices et les lazy collections.</p><p><a href="https://developer.apple.com/videos/play/wwdc2018/229/">Using Collections Effectively - WWDC 2018 - Videos - Apple Developer</a></p><h4>Advanced Debugging</h4><p>Xcode 10 offre de nouvelles possibilités de débogage, notamment la possibilité d’injecter du code dynamiquement dans l’application sans la recompiler. Vraiment intéressant !</p><p><a href="https://developer.apple.com/videos/play/wwdc2018/412/">Advanced Debugging with Xcode and LLDB - WWDC 2018 - Videos - Apple Developer</a></p><h3>Et du fun…</h3><p>Tout au long de la semaine, il y a eu des évènements autour de la conférence :</p><ul><li>les <a href="https://developer.apple.com/videos/play/wwdc2018/103/">Apple Design Awards</a>,</li><li>des conférences le midi par des présentateurs externes (“The Art of Science: Bringing Pixar’s Imagined Worlds to Life” par <a href="https://twitter.com/dafeinberg">Danielle Feinberg</a> de Pixar était incroyable !),</li><li>des enregistrements de podcasts en direct (<a href="http://atp.fm/">ATP</a>, <a href="https://www.relay.fm/connected">Connected</a>, <a href="https://fatalerror.fm/">Fatal Error</a>),</li><li>d’autres conférences, notamment <a href="http://altconf.com/">AltConf</a> et <a href="https://layers.is/">Layers</a>,</li><li>des courses à pied, etc.</li></ul><p>Nous avons également pu assister au direct de <a href="https://daringfireball.net/thetalkshow/2018/06/08/ep-223">The Talk Show</a>, le célèbre podcast de <a href="https://twitter.com/gruber">John Gruber</a>, ainsi qu’à la Bash, une soirée organisée par Apple avec un concert.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y6mnEpkU_hAdbAe1yB4Fdg.jpeg" /><figcaption>Panic! At The Disco !</figcaption></figure><p>Et enfin, nous avons pu essayer les trottinettes électriques <a href="https://www.limebike.com/">Lime</a> et <a href="https://www.bird.co/">Bird</a> qui pullulaient partout dans San Jose, on a vraiment hâte qu’elles arrivent à Montréal ! :-)</p><h3>Rendez-vous en septembre</h3><p>Avec l’annonce d’iOS 12, nous allons prendre le temps cet été de rendre nos applications <strong>LP Mobile</strong> et <strong>La Presse+</strong> compatibles avec la dernière version, et ainsi être prêt pour la sortie officielle en automne.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9caa8784fd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nuglif/nuglif-wwdc-2018-d9caa8784fd7">WWDC 2018, on y était !</a> was originally published in <a href="https://medium.com/nuglif">Nuglif</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Organizing your Swift classes]]></title>
            <link>https://medium.com/@nicolasbichon/organizing-your-swift-classes-1059b80cf8b3?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1059b80cf8b3</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[annotations]]></category>
            <category><![CDATA[pragma-mark]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Sat, 17 Sep 2016 12:00:00 GMT</pubDate>
            <atom:updated>2018-03-28T22:14:22.036Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve always used <a href="https://developer.apple.com/library/ios/recipes/xcode_help-source_editor/AnnotateSwift/AnnotateSwift.html">Xcode annotations</a> to organize my code and improve its readability. I finally ended up with a pattern I use in almost every classes, which allows me to work more efficiently.</p><h3>Readability</h3><p>I try to have a good organization in all my classes, it helps me <strong>quickly</strong> find what I’m searching for.</p><p>Whatever the pattern you choose, what is important is to always reuse the <strong>same organization</strong> in your project. You can then open any file and go directly in the section you are interested in, because you know where it is.</p><h3>Pattern</h3><p>Having had a look at the <a href="https://developer.apple.com/sample-code/wwdc/2015/downloads/Advanced-Collection-View.zip">WWDC 2015 sample code about advanced collection view</a>, I took out a pattern for annotations in classes (even if I know, nobody likes Apple sample codes).</p><p>This pattern is mostly valid for <strong>view controllers</strong> and <strong>views</strong>, which are the most common classes in a regular iOS project. But you can still reuse parts of it in other classes.</p><ol><li><strong>Types</strong>: contains enumerations,</li><li><strong>Properties</strong>: all properties (IBOutlet, let, var, etc.),</li><li><strong>View Life Cycle</strong>: all viewDid… methods,</li><li><strong>Lifetime</strong>: init and deinit methods,</li><li><strong>Layout</strong>: layoutSubviews… methods,</li><li><strong>Setup</strong>: view and data initialization,</li><li><strong>Actions</strong>: actions done by the user (IBAction, UIGestureRecognizer, etc.),</li><li><strong>UIStoryboardSegue Handling</strong>: prepareForSegue… methods,</li><li><strong>Notifications</strong>: notifications methods,</li><li><strong>Convenience</strong>: interface update, all convenience methods (e.g. cellForType),</li><li><strong>UI…Delegate</strong>: all delegate methods.</li></ol><p>Then inside each annotation, I write my methods in the order they are called, as recommended by <a href="http://blog.cleancoder.com/uncle-bob/2016/09/01/TheLurn.html">Uncle Bob</a> in his book <a href="https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882">Clean Code</a>.</p><h3>Swift extensions</h3><p>Swift has brought the possibility of <a href="https://www.natashatherobot.com/using-swift-extensions/">using Swift extensions to organize the code</a> into smaller bricks. I totally agree to use this method for protocol conformance:</p><pre>class ViewController: UIViewController {<br>    // MARK: - Setup</pre><pre>    // Put all the setup methods here</pre><pre>    // MARK: - Actions</pre><pre>    // Put all the actions methods here<br>}</pre><pre>// MARK: UITableViewDelegate<br>extension ViewController: UITableViewDelegate { }</pre><p>But you can go even further, as <a href="http://natashatherobot.com/">Nataha The Robot</a> suggested it, by using Swift extensions to group your methods:</p><pre>class ViewController: UIViewController { }</pre><pre>// MARK: - Setup<br>extension ViewController {<br>    // Put all the setup methods here<br>}</pre><pre>// MARK: - Actions<br>extension ViewController {<br>    // Put all the actions methods here<br>}</pre><pre>// MARK: UITableViewDelegate<br>extension ViewController: UITableViewDelegate { }</pre><p>The downside of using this method is that you <strong>can’t override a method in an extension</strong> yet, which is very useful to mock data in your unit tests.</p><p>However from an organizational point of view, that’s fine, just don’t forget to <strong>add an annotation</strong> for <strong>each extension</strong>, otherwise you don’t know what each section is about. And most of all, you don’t take benefit of the biggest advantage of using annotations: improve readability of the <strong>Xcode source navigator</strong> (shorcut: Ctrl + 6).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*TlvU9MlmCXlxOpVtPbg6lg.png" /><figcaption>Xcode Source Navigator</figcaption></figure><p>On a personal note, I also like the fact of having a <strong>green color as a separator</strong> in my class, it’s visually cleaner (I’m totally aware that this is a stupid argument for colorblind people).</p><h3>Final thoughts</h3><p>Organizing your classes with annotations allows you to be super <strong>effective</strong> when browsing your files, especially when <strong>working in a team</strong>, where you have to deal with your colleague’s code and way of doing things.</p><p>Start by defining a pattern your team agrees on and try to apply it, you’ll see how easier it is to read your colleagues’ code!</p><p><em>Originally published at </em><a href="http://nicolasbichon.com/"><em>nicolasbichon.com</em></a><em> on September 17, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1059b80cf8b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplify you life with fastlane]]></title>
            <link>https://medium.com/@nicolasbichon/simplify-you-life-with-fastlane-592a59d7e8c4?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/592a59d7e8c4</guid>
            <category><![CDATA[certificate]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[fastlane]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[provisioning-profile]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Wed, 24 Aug 2016 18:00:00 GMT</pubDate>
            <atom:updated>2018-03-28T22:11:17.905Z</atom:updated>
            <content:encoded><![CDATA[<p>If you ask any iOS developer, he will most likely tell you that the process of publishing an app is far from simple. Fastlane can dramatically simplify your life by automating all of this. Once configured, one command line will compile your app and send it to iTunes Connect.</p><h3>What is fastlane?</h3><p><a href="https://fastlane.tools/">Fastlane</a> is a free set of tools created by <a href="https://twitter.com/KrauseFx">Felix Krause</a> that automate building and releasing your iOS apps.</p><p>For me, fastlane is mostly useful for 3 things:</p><ol><li><strong>Automatically synchronize certificates accross your team</strong>: you’re starting a job in a new company and you need an Apple Certificate to compile the app on your phone, but first someone has to give you the p12 file to install it (if he’s not on holidays)… Forget about that, thanks to the <a href="https://docs.fastlane.tools/actions/match/"><strong>match</strong></a> tool, all Certificates and Provisioning Profiles will be stored in a private Git repository, and if you don’t have the correct Certificate, it will generate it for you automatically.</li><li><strong>Automatically choose which Provisioning Profile to use</strong>: depending on the type of app you want to compile (<em>Development</em>, <em>Ad Hoc</em>, <em>In House</em> or <em>App Store</em>), the <a href="https://docs.fastlane.tools/actions/match/"><strong>match</strong></a> tool will automatically fetch the correct Provisioning Profile, or create or update it if needed. Dead simple! I’ve simply forgot what it’s like to deal with that manually.</li><li><strong>Automatically run the tests, compile your app and send it to TestFlight</strong>: thanks to the <a href="https://docs.fastlane.tools/actions/scan/"><strong>scan</strong></a>, <a href="https://docs.fastlane.tools/actions/gym/"><strong>gym</strong></a> and <a href="https://docs.fastlane.tools/actions/pilot/"><strong>pilot</strong></a> tools, fastlane will run the tests, compile your app and upload it to TestFlight or any other service provider supported (e.g. Crahlytics) with one single command line.</li></ol><p>Fastlane has a lot of other tools but only with those ones, you should already be convinced to use it. See the <strong>Actions</strong> section below for more informations on how to use them.</p><h3>Requirements</h3><p>Apple has recently changed their servers to require TLS 1.2, which may not be available to your system installed Ruby (2.0.0). So before installing fastlane, start by installing <strong>OpenSSL</strong> and upgrading your <strong>Ruby</strong> version to 2.3.1 with <strong>Homebrew</strong>, which will allow communication with iTunes Connect and the Apple Developer Portal servers.</p><p>Open your Terminal and type the following commands:</p><p>brew update</p><p>brew install openssl</p><p>brew install ruby</p><h3>Configuration</h3><p>You can finally install fastlane:</p><p>sudo gem install fastlane</p><p>To initialize fastlane in a project, go into your project directory and type the following command:</p><p>fastlane init</p><p>Follow the setup assistant, which will set up fastlane for you.</p><p>This will prompt you for your <strong>Apple ID</strong> in order to verify that your application already exists on both iTunes Connect and the Apple Developer Portal. If that’s not the case, fastlane will ask you if it should be created automatically.</p><p>This setup will:</p><ul><li>Create a <strong>fastlane folder</strong>,</li><li>Create <strong>fastlane/Appfile</strong>, which stores your Apple ID and Bundle Identifier,</li><li>Create <strong>fastlane/Fastfile</strong>, which stores your lanes.</li></ul><p>For more details, please follow the <a href="https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Guide.md">fastlane guide</a>.</p><h3>Appfile</h3><p>The <strong>Appfile</strong> is used to define a Bundle Identifier. By default there is only one bundle identifer, but you can create one for each lane. You could also specify the app identifier directly in the Fastline file, but it’s more convenient to externalize it in the Appfile.</p><pre>apple_id &quot;&lt;APPLE_ID&gt;&quot; # Your Apple email address<br>team_id &quot;&lt;TEAM_ID&gt;&quot; # Developer Portal Team ID</pre><pre>for_platform :ios do<br>    for_lane :test do<br>        app_identifier &quot;com.nicolasbichon.exampleapp.test&quot;<br>    end</pre><pre>    for_lane :beta do<br>        app_identifier &quot;com.nicolasbichon.exampleapp.beta&quot;<br>    end</pre><pre>    for_lane :appstore do<br>        app_identifier &quot;com.nicolasbichon.exampleapp&quot;<br>    end<br>end</pre><p>By using a different app identifier per lane, you will be able to have different apps on your phone, you could even have <a href="https://medium.com/@nicolasbichon/how-to-have-different-icons-for-your-app-7fecbaa68ad7">different icons for your app</a>.</p><h3>Fastfile</h3><p>The <strong>Fastfile</strong> is the main file used by fastlane, this is where you will configure your <strong>lanes</strong> with <strong>actions</strong>.</p><pre>default_platform :ios</pre><pre>platform :ios do<br>    lane :test do<br>        # Actions<br>    end</pre><pre>    lane :beta do<br>        # Actions<br>    end</pre><pre>    lane :appstore do<br>        # Actions<br>    end<br>end</pre><h3>Lanes</h3><p>A lane is a collection of actions. In the example above we have 3 lanes:</p><ul><li><strong>test</strong>: run all the tests,</li><li><strong>beta</strong>: compile an app and send it to TestFlight,</li><li><strong>appstore</strong>: submit an app to the App Store.</li></ul><p>To launch a lane, you just have to run the following command in the Terminal:</p><p>fastlane [os] [lane]</p><h3>Actions</h3><p>Fastlane provides a lot of actions, you can see the full list <a href="https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md">here</a>, or by taping the following command-line:</p><p>fastlane actions</p><p>If you want to have a more detailed description of an action, type this:</p><p>fastlane action [action_name]</p><p>It will list all the parameters available for an action.</p><h3>Setting up a lane</h3><p>Most of the time, I use fastlane to send a beta build to TestFlight, here is how I configure my lane:</p><pre>lane :beta do<br>    # Update Cocoapods<br>    cocoapods</pre><pre>    # Stop if not on &#39;develop&#39; branch<br>    ensure_git_branch(branch: &quot;develop&quot;)</pre><pre>    # Fetch Provisioning Profile<br>    match(<br>        git_url: &quot;https://github.com/TakeEatEasy/ios-codesigning&quot;,<br>        type: &quot;appstore&quot;<br>    )</pre><pre>    # Run tests on latest iOS version<br>    scan(scheme: &quot;ExampleApp&quot;, clean: true)</pre><pre>    # Increment build number<br>    increment_build_number({<br>        build_number: latest_testflight_build_number + 1<br>    })</pre><pre>    # Compile IPA<br>    gym(scheme: &quot;ExampleApp&quot;, configuration: &quot;Beta&quot;, clean: true)</pre><pre>    # Send IPA to TestFlight<br>    pilot(skip_waiting_for_build_processing: true)</pre><pre>    # Deletes files created during the process (e.g. IPA file)<br>    clean_build_artifacts<br>end</pre><p>The actions are quite self-expressive, but I’m gonna explain the important ones.</p><h3>match</h3><p><a href="https://docs.fastlane.tools/actions/match/">Match</a> allow you to easily sync your certificates and profiles across your team using Git. The first time you’ll use it, you will be asked for:</p><ul><li>your <strong>private Git repository</strong> where the Certificates and Provisioning Profiles will be stored,</li><li>the <strong>passphrase</strong> used to encrypt/decrypt all files on the Git repository.</li></ul><p>The <strong>type</strong> parameter is really important, you can use “<em>development</em>” or “<em>appstore</em>” and it will create a development or production Certificate / Provisioning Profile.</p><p>I encourage you to read the <a href="https://codesigning.guide/">Code Signing Guide</a> to learn more about how it works.</p><h3>scan</h3><p><a href="https://docs.fastlane.tools/actions/scan/">Scan</a> makes it easy to run tests of your iOS and Mac app on a simulator or connected device.</p><h3>gym</h3><p><a href="https://docs.fastlane.tools/actions/gym/">Gym</a> allows you to build your app.</p><p>The <strong>configuration</strong> parameter allows me to build the app with a <a href="https://medium.com/@nicolasbichon/how-to-have-different-icons-for-your-app-7fecbaa68ad7">specific app icon</a>.</p><h3>pilot</h3><p><a href="https://docs.fastlane.tools/actions/pilot/">Pilot</a> makes it easier to manage your app on Apple’s TestFlight, by uploading builds.</p><h3>Configure Xcode to use fastlane</h3><p>Since Xcode 8, Apple can <strong>automatically manage code signings</strong>, I do not use that feature since the <strong>match</strong> action does it for us, and even stores them in a private repository.</p><p>So to make sure fastlane selects the correct Provisioning Profile using match, you have to do a small configuration in the <strong>General</strong> tab of the Xcode project:</p><ul><li>Disable the “<em>Automatically manage signing</em>” option,</li><li>Manually assign the correct Provisioning Profile for each configuration.</li></ul><p>For more information, see the <a href="https://docs.fastlane.tools/codesigning/xcode-project/">documentation</a>.</p><h3>Configure fastlane on a new computer</h3><p>This is where fastlane brings some magic, to configure fastlane on a new computer, you just have to run one lane:</p><p>fastlane [os] [lane]</p><p>Some passwords may be asked, depending on the actions your lane uses. And that’s all, clean and simple.</p><h3>Conclusion</h3><p>I’ve been using fastlane for a few months now, and I couldn’t go back. Even with the new <a href="https://developer.apple.com/videos/play/wwdc2016/401/">improvements made by Apple</a>, it’s still far from what you can achieve with fastlane.</p><p>Trust me, this will save you hours of work, for every app update you release!</p><p><em>Originally published at </em><a href="http://nicolasbichon.com/"><em>nicolasbichon.com</em></a><em> on August 24, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=592a59d7e8c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to have different icons for your app]]></title>
            <link>https://medium.com/@nicolasbichon/how-to-have-different-icons-for-your-app-7fecbaa68ad7?source=rss-85db8d26e6a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fecbaa68ad7</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[icons]]></category>
            <dc:creator><![CDATA[Nicolas Bichon]]></dc:creator>
            <pubDate>Thu, 04 Aug 2016 10:00:00 GMT</pubDate>
            <atom:updated>2018-03-28T22:09:33.763Z</atom:updated>
            <content:encoded><![CDATA[<p>When building an app, we often have the App Store version installed on our devices, but we also need to install the beta version, and if we want to have them both on the same device, we need to differentiate them. The best solution for that is to have different icons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*LN0OI89_LOY-rRExjxI5wQ.jpeg" /><figcaption>Same app, different configurations</figcaption></figure><h3>Configurations</h3><p>The first step is to create a configuration for each icon you want. For instance:</p><ul><li>a <strong>Debug</strong> configuration for the dev environment,</li><li>a <strong>Beta</strong> configuration for the beta environment,</li><li>a <strong>Release</strong> configuration for the prod environment.</li></ul><p>By default, the <strong>Debug</strong> and <strong>Release</strong> configurations are created, we can add a <strong>Beta</strong> configuration by duplicating an existing configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAuy9syRqZGKIx0kcg88_w.png" /><figcaption>Create multiple Configurations</figcaption></figure><h3>App Icons</h3><p>Next, we have to create several <strong>App Icons</strong> in the Assets.xcassets file. You can name them like you want, ideally you want to create one App Icon per configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TiEoaN2iU53DtIrVjriYPg.png" /><figcaption>Create multiple App Icons</figcaption></figure><h3>Build Settings</h3><p>In the Build Settings of your target, you need to specify the <strong>App Icon</strong> and the <strong>Bundle Identifier</strong> for each configuration.</p><h3>Asset Catalog App Icon Set Name</h3><p>By doing so, the App Icon will automatically be selected according to the current configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3PlHzDFTfRHFKnQTgv9bA.png" /><figcaption>Specify an Asset Catalog App Icon per configuration in the Build Settings</figcaption></figure><h3>Product Bundle Identifier</h3><p>Because an app is identified by its Bundle Identifier, we need to specify a different Bundle Identifier for each configuration. A different app will then be created for each Bundle Identifier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rhIFhZ-GNMiHrMr3cQFS-w.png" /><figcaption>Specify a Bundle Identifier per configuration in the Build Settings</figcaption></figure><h3>Configuration in code</h3><p>Sometimes you also want to detect the configuration in code, it’s especially useful for constants, like the domain of your API for instance. There are several ways to do this, the easiest one is to add some flags in the Build Settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LsJsCVnOQu0dzhMiv7kloQ.png" /><figcaption>Add flags in Build Settings</figcaption></figure><p>You can then access those flags in your code:</p><pre>struct Constants {<br>    #if DEBUG<br>    static let domain = &quot;dev.example.com&quot;<br>    #elseif BETA<br>    static let domain = &quot;beta.example.com&quot;<br>    #else<br>    static let domain = &quot;www.example.com&quot; #endif<br>}</pre><p>Of course, the goal is to avoid to use them in too much different files, that’s why I usually put all my constants inside this conditional statement.</p><h3>Scheme</h3><p>You can finally change the <strong>Build Configuration</strong> for your scheme, if you want to compile the app on your device for a specific configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bYqOZAj8G5LLP1ZFs2clbA.png" /><figcaption>Edit Scheme’s Build Configuration</figcaption></figure><p>Another solution would be to create a <strong>scheme for each configuration</strong>.</p><h3>Fastlane</h3><p>This is the icing on the cake, thanks to <a href="https://medium.com/@nicolasbichon/simplify-you-life-with-fastlane-592a59d7e8c4">fastlane you can specify a configuration</a> when building your app and the correct icon will automatically be selected.</p><pre>lane :beta do<br>    # ...</pre><pre>    # Compile IPA<br>    gym(<br>        scheme: &quot;ExampleApp&quot;,<br>        configuration: &quot;Beta&quot;,<br>        use_legacy_build_api: true,<br>        clean: true<br>    )</pre><pre>    # ...<br>end</pre><h3>Conclusion</h3><p>This solution is an easy way to create an app for each environment, and differentiate them with a different icon on your devices, but it’s not the only one.</p><p>And you, how you do when you’re in the same situation? Do you see some limitations using this solution?</p><p><em>Originally published at </em><a href="http://nicolasbichon.com/"><em>nicolasbichon.com</em></a><em> on August 4, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fecbaa68ad7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>