<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Optionset on Andy Ibanez</title><link>https://www.andyibanez.com/tags/optionset/</link><description>Recent content in Optionset on Andy Ibanez</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 17 Feb 2021 07:30:00 -0400</lastBuildDate><atom:link href="https://www.andyibanez.com/tags/optionset/index.xml" rel="self" type="application/rss+xml"/><item><title>OptionSet in Swift</title><link>https://www.andyibanez.com/posts/optionset-in-swift/</link><pubDate>Wed, 17 Feb 2021 07:30:00 -0400</pubDate><guid>https://www.andyibanez.com/posts/optionset-in-swift/</guid><description>&lt;p&gt;Creating configurable APIs for other developers can be a fun task. But depending on what languages and tools you are using, you may sometimes create customizable APIs that are more pleasant than others.&lt;/p&gt;
&lt;p&gt;In today&amp;rsquo;s article, we will explore a tiny feature in Swift that allows us to create configurable APIs easily that are a joy to use by other developers: OptionSet.&lt;/p&gt;
&lt;h1 id="introducing-optionset"&gt;Introducing OptionSet&lt;/h1&gt;
&lt;p&gt;Like its name implies, an OptionSet gives us a group of options. These options are pre-defined for our users, and when create an OptionSet, our users are constrained to using the values we are providing within.&lt;/p&gt;</description></item></channel></rss>