<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Swift on Chris Harding</title>
    <link>https://418b6483.chrisharding-io.pages.dev/tags/swift/</link>
    <description>Recent content in Swift on Chris Harding</description>
    <image>
      <title>Chris Harding</title>
      <url>https://418b6483.chrisharding-io.pages.dev/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://418b6483.chrisharding-io.pages.dev/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.147.7</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 18 May 2020 18:02:03 +0000</lastBuildDate>
    <atom:link href="https://418b6483.chrisharding-io.pages.dev/tags/swift/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a calendar in Swift</title>
      <link>https://418b6483.chrisharding-io.pages.dev/posts/building-a-calendar-in-swift/</link>
      <pubDate>Mon, 18 May 2020 18:02:03 +0000</pubDate>
      <guid>https://418b6483.chrisharding-io.pages.dev/posts/building-a-calendar-in-swift/</guid>
      <description>&lt;p&gt;In this post, I wanted to walk through an approach I used when building a calendar view in Swift for an iOS app I’m working on. The requirements were as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Should start from the current day, and then scroll backwards through time&lt;/li&gt;
&lt;li&gt;Each month is it’s own section, with corresponding header&lt;/li&gt;
&lt;li&gt;Days should be a selectable square cell, and we should have 3 days on each row&lt;/li&gt;
&lt;li&gt;The grid should take up as much screen real estate as possible&lt;/li&gt;
&lt;li&gt;It should be memory efficient&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And with any luck, it will look something like this&amp;hellip;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
