<?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 Michael Ellis on Medium]]></title>
        <description><![CDATA[Stories by Michael Ellis on Medium]]></description>
        <link>https://medium.com/@michaelrobertellis?source=rss-19fc6889ccbe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6V5bt0aHjWnTaer7vvSTOA.png</url>
            <title>Stories by Michael Ellis on Medium</title>
            <link>https://medium.com/@michaelrobertellis?source=rss-19fc6889ccbe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 19:06:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelrobertellis/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[How to make a Custom SwiftUI Segmented Picker View]]></title>
            <link>https://medium.com/@michaelrobertellis/how-to-make-a-custom-swiftui-segmented-picker-view-47d33cc4ca75?source=rss-19fc6889ccbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/47d33cc4ca75</guid>
            <category><![CDATA[segmentedcontrol]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Michael Ellis]]></dc:creator>
            <pubDate>Mon, 14 Mar 2022 17:21:13 GMT</pubDate>
            <atom:updated>2022-03-14T17:22:29.509Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*_-CxMgR0-JdALtUy8na8fg.png" /><figcaption>Standard iOS Pickers</figcaption></figure><p>SwiftUI has a PickerStyle called SegmentedPickerStyle, but it doesn’t let you customize it. So I will show you how to make a custom one that doesn’t use GeometryReader or ZStacks, those are confusing and difficult.</p><p>Demo: <a href="https://imgur.com/a/NsexCm2">https://imgur.com/a/NsexCm2</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fimgur.com%2Fa%2FNsexCm2%2Fembed%3Fpub%3Dtrue%26ref%3Dhttps%253A%252F%252Fembed.ly%26w%3D900&amp;display_name=Imgur&amp;url=https%3A%2F%2Fimgur.com%2Fa%2FNsexCm2&amp;image=https%3A%2F%2Fi.imgur.com%2F6pHgSgH.jpg%3Ffbplay&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=imgur" width="900" height="188" frameborder="0" scrolling="no"><a href="https://medium.com/media/69649bea6ba7ab05f0f4f2bd639fc3a7/href">https://medium.com/media/69649bea6ba7ab05f0f4f2bd639fc3a7/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a5f12155e80a5b1a5211e74839efea3/href">https://medium.com/media/8a5f12155e80a5b1a5211e74839efea3/href</a></iframe><p>I put comments in there. Hope this helps you avoid using GeometryReader or ZStack unless it’s actually necessary!</p><p>Here is a link to the code in a githubgist:</p><p><a href="https://gist.github.com/michael94ellis/5a46a5c2983da0cc99692b6659876fce">https://gist.github.com/michael94ellis/5a46a5c2983da0cc99692b6659876fce</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47d33cc4ca75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make a Swift iOS UDP Listener using Apple’s Network Framework]]></title>
            <link>https://medium.com/@michaelrobertellis/how-to-make-a-swift-ios-udp-listener-using-apples-network-framework-f7cef6f4e45f?source=rss-19fc6889ccbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7cef6f4e45f</guid>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[udp]]></category>
            <category><![CDATA[tello]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Michael Ellis]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 00:54:41 GMT</pubDate>
            <atom:updated>2021-12-19T12:55:00.110Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article I am going to show you how to use Apple’s Network framework to listen or receive messages over UDP!</p><h4>Receive messages and data streams using UDP over WiFi</h4><figure><img alt="A DJI Tello Drone" src="https://cdn-images-1.medium.com/max/355/0*RPg6HqIp-9PZ7Pgk.jpg" /></figure><h3>My Use Case to make this:</h3><p>I wanted to control a drone, the DJI Tello, with my iPhone. It uses the UDP protocol to transmit and receive data over a WiFi network created by the Tello.</p><p>This is easier said than done, but with this code you cando it too!</p><p><strong>The base Documentation from Apple doesn’t properly explain UDP</strong></p><p><a href="https://developer.apple.com/documentation/network">Network Framework</a>: Provides us with the ability to establish a UDP “Connection”, but UDP is Connectionless.</p><p><a href="https://developer.apple.com/documentation/network/nwconnection">NWConnection</a>: According to the docs this is a “A bidirectional data connection”, but for UDP this only lets you do some basic send and receive communication with other devices. This will not, however, allow you to listen to a UDP data stream.</p><p><a href="https://developer.apple.com/documentation/network/nwlistener">NWListener</a>: Use this to create a UDP “server” on an iOS device. When a data stream is detected this object allows you to set up a receive loop. It only takes a port so you have to determine the host when the connection/message is received.</p><p>First Set up some basic variables and a UDPListener class</p><pre><strong>import</strong> Foundation<br><strong>import</strong> Network<br><strong>import</strong> Combine</pre><pre><strong>class</strong> UDPListener: ObservableObject {</pre><pre><strong>    var</strong> listener: NWListener?<br>    <strong>var</strong> connection: NWConnection?<br>    <strong>var</strong> queue = DispatchQueue.global(qos: .userInitiated)<br>    /// Observers can subscribe to this data buffer<br>    @Published <strong>private</strong>(<strong>set</strong>) <strong>public</strong> <strong>var</strong> messageReceived: Data?<br>    /// For an active listening NWConnection this will be `true`<br>    @Published <strong>private</strong>(<strong>set</strong>) <strong>public</strong> <strong>var</strong> isReady: Bool = <strong>false</strong></pre><p>The connection will be for receiving messages as they come</p><p>The listener will be for detecting and listening to UDP data streams</p><p>ThemessageReceived? variable is a storage location for the latest message, you could also use an array or set or some other data structure.</p><p>I use Combine, but you can use a delegate pattern or whatever other method you’d like to integrate this UDP Listener with your code. Set up a few variables regarding the state of the connection and a way to consume the data received.</p><h3>Setup The Connection to make a UDP Listener</h3><pre>let params = NWParameters.udp <br>// This is for UDP so <a href="https://developer.apple.com/documentation/network/nwparameters/2998691-allowfastopen">allowFastOpen</a> is generally wanted<br>params.allowFastOpen = true <br>self.listener = try? NWListener(using: params, on: port) <br>self.listener?.stateUpdateHandler = { update in<br>    switch update { <br>    case .ready: <br>        <strong>// This is Part 1 of the UDP Listener</strong><br>        self.isReady = true <br>        print(“Listener connected to port \(port)”) <br>    case .failed, .cancelled:<br>        // Announce we are no longer able to listen <br>        self.isReady = false <br>        print(“Listener disconnected from port \(port)”) <br>    default: <br>        print(“Listener connecting to port \(port)…”) <br>    } <br>} <br>self.listener?.newConnectionHandler = { connection in <br>    print(“Listener receiving new message”) <br>    <strong>// This is Part 2 of the UDP Listener, handle an incoming &quot;connection&quot;<br></strong>   self.createConnection(connection: connection) <br>} <br>self.listener?.start(queue: self.queue)</pre><p><strong>I created a separate method to handle the received connection</strong></p><p>Since UDP is connectionless you wouldn’t expect this is the pattern to set up a UDP Listener and then receive messages. In this way you create a NWConnection, then listen to it to know when it is ready, then you listen for new incoming connections on that connection, and on those connections you receive data. The Host or IP Address of the outgoing stream you receive will be in the received connection’s data since the NWListener only takes a port.</p><pre><strong>func</strong> createConnection(connection: NWConnection) {<br>    <strong>self</strong>.connection = connection<br>    <strong>self</strong>.connection?.stateUpdateHandler = { (newState) <strong>in<br>        switch</strong> (newState) {<br>        <strong>case</strong> .ready:<br>            print(“Listener ready to receive message — \(connection)”)<br>            <strong>// Part 3 of the UDP Listener, when an incoming &quot;connection&quot; is ready to receive data<br></strong>            <strong>self</strong>.receive()<br>        <strong>case</strong> .cancelled, .failed:  <br>            print(“Listener failed to receive message — \(connection)”)<br>            // Cancel the listener, something went wrong<br>            <strong>self</strong>.listener?.cancel()<br>        <strong>default</strong>:<br>             print(“Listener waiting to receive message — \(connection)”)<br>        }<br>    }<br><strong>    self</strong>.connection?.start(queue: .global())<br>}</pre><p><strong>And then I loop over a receive function to get subsequent data stream messages</strong></p><p>This part makes sense for UDP and is straightforward.</p><p>Because messageReceived is a @Published property, you can go ahead and add an <a href="https://developer.apple.com/documentation/swiftui/view/onreceive(_:perform:)">.onReceive(_:perform:)</a> to your SwiftUI View and process the data, or subscribe to it somewhere else such as .onAppear()</p><pre><strong>func</strong> receive() {<br>    <strong>self</strong>.connection?.receiveMessage { data, context, isComplete, error <strong>in<br>        if</strong> <strong>let</strong> unwrappedError = error {<br>            print(“Error: NWError received in \(<strong>#function</strong>) — \(unwrappedError)”)<br>            <strong>return<br>        </strong>}<br><strong>        guard</strong> isComplete, <strong>let</strong> data = data <strong>else</strong> {<br>            print(“Error: Received nil Data with context — \(String(describing: context))”)<br>            <strong>return<br>        </strong>}<br>      <strong>  // Part 4 of the UDP Listener, do something with the data and use this connection to receive more data!<br> </strong>       <strong>self</strong>.messageReceived = data<br>        <strong>self</strong>.receive()<br>    }<br>}</pre><p>Check out the final code below <a href="https://gist.github.com/michael94ellis/92828bba252ccabd071279be098e26e6">in this gist</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44647e69551519beb04d72b4eba3fd8f/href">https://medium.com/media/44647e69551519beb04d72b4eba3fd8f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7cef6f4e45f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to programmatically manage FocusState for dynamically created TextFields and TextEditors in…]]></title>
            <link>https://medium.com/@michaelrobertellis/how-to-programmatically-manage-focusstate-for-dynamically-created-textfields-and-texteditors-in-5516de893d1a?source=rss-19fc6889ccbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/5516de893d1a</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Michael Ellis]]></dc:creator>
            <pubDate>Thu, 09 Dec 2021 01:30:22 GMT</pubDate>
            <atom:updated>2021-12-18T21:36:04.118Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to programmatically manage FocusState for dynamically created TextFields and TextEditors in SwiftUI for iOS 15+</h3><p>In iOS 15 a much needed feature, @FocusState the property wrapper, was added to SwiftUI.</p><p>This allows developers to easily control the first responder using <em>SwiftUI and </em><strong><em>NOT</em></strong><em> UIKit</em>. Here’s an example without using a complicated view hierarchy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*288LPgpXMayfSWYiehhUrg.gif" /></figure><h3><strong>Some Docs and Info</strong></h3><p><a href="https://developer.apple.com/documentation/appkit/nswindow/1419440-firstresponder"><strong>First Responder</strong></a><strong>: </strong>The first responder is usually the first object in a responder chain to receive an event or action message. In most cases, the first responder is a view object that the user selects or activates with the mouse or keyboard.</p><p><strong>Basically it’s the currently selected or focused object, usually an input such as a TextField.</strong></p><h4><a href="https://developer.apple.com/documentation/swiftui/focusstate">FocusState</a>:</h4><p><em>Available in iOS15+;</em> A property wrapper type that can read and write a value that SwiftUI updates as the placement of focus within the scene changes.</p><p><strong>Basically it replaces </strong><a href="https://developer.apple.com/documentation/uikit/uiresponder/1621113-becomefirstresponder"><strong>.becomeFirstResponder</strong></a><strong> for TextField and TextEditor for SwiftUI,</strong> which asks UIKit to make this object the first responder in its window. Setting the value FocusState attached to a TextField to true will ask SwiftUI to make the TextField become the first responder in it’s window.</p><h3><strong>Understand</strong> the Problem</h3><p>A lot of the examples out there right now use an <strong>Enum</strong> to create a list of the fields that the view will be able to focus on, <em>but what if your TextFields are in different children that are generated dynamically at runtime?</em> Like most form-based app makers I have that problem.</p><p>Let’s say you have some dynamic object, MyObjector collection of MyObjects in a view model. When the user wants to edit that information using TextFields we can generate whatever view is needed including inputs; but they might not all be on the same form in the same container.</p><p><strong>Here is an example Object and View Model for this demonstration</strong></p><pre>// This doesn&#39;t need to be identifiable, but it probably needs to be equatable<br>struct MyObject: Identifiable, Equatable {<br>    public let id = UUID()<br>    public var name: String<br>    public var value: String<br>}<br><br>class MyObjViewModel: ObservableObject {<br><br>    @Published var myObjects: [MyObject]<br>    <br>    init(_ objects: [MyObject]) {<br>        myObjects = objects<br>    }<br>}</pre><p>However you abstract your code, you end up with a bunch of items to edit, text, numbers, whatever. So if you can make an array to represent those items in order you can use this example in the article. <em>It’s important to have these items in the view model in the order you want the user to focus on them, </em>or you can manage the order some other way.</p><h3>Create The Views To Edit Our Objects</h3><p>If you like to make DRY code you might want to loop over the data elements and create TextFields or Inputs as needed. So below I show just that, creating a bunch of TextFields based on the data available.</p><p>Now we just need to add the code for the correct TextFields to become First Responder or use Focus State when the user hits Return on the keyboard.</p><p><strong>Note</strong>: <em>In this example I am using a simple view to demonstrate the problem. This also applies when the TextFields are in different child views and you want the Focus State or First Responder to go to the next logical TextField for the user. This makes text entry with many required fields easier for the user.</em></p><pre>struct ContentView: View {<br>    @StateObject var viewModel = MyObjViewModel([<br>        MyObject(name: &quot;Aaa&quot;, value: &quot;111&quot;),<br>        MyObject(name: &quot;Bbb&quot;, value: &quot;222&quot;),<br>        MyObject(name: &quot;Ccc&quot;, value: &quot;333&quot;),<br>        MyObject(name: &quot;Ddd&quot;, value: &quot;444&quot;)<br>    ])<br>    <br>    var body: some View {<br>        VStack {<br>           Text(&quot;Header&quot;)<br>           ForEach($viewModel.myObjects) { $obj in<br>              TextField(obj.name, text: $obj.value)<br>           }<br>           Text(&quot;Footer&quot;)<br>        }<br>    }<br>}</pre><p>But this doesn’t get the Return key on the keyboard to go to the next TextField which is what we want.</p><p><a href="https://developer.apple.com/documentation/swiftui/form/submitlabel(_:)">By the way, change the text of the Return key using </a><a href="https://developer.apple.com/documentation/swiftui/form/submitlabel(_:)">.submitLabel() on a Textfield.</a></p><h3>Now we can add the FocusState</h3><p>In the View we need to replace the TextField with a custom View that contains a TextField. This TextField wrapper will manage the FocusState of the field as well as the binding for the data.</p><p>Notice that a function/closure is passed, to the child FocusField, or TextField wrapper. This function, when executed by the child, will update the Focused object maintained and owned by the Parent. By updating this value SwiftUI does its magic and changes the FocusState of the next TextField in the array myObjects.</p><pre>struct ContentView: View {<br><br>    @State var myObjects: [MyObject] = ...<br>    @State var focus: MyObject?<br><br>    var body: some View {<br>        VStack {<br>            Text(&quot;Header&quot;)<br>            ForEach(self.myObjects) { obj in<br>                Divider()<br>                FocusField(displayObject: obj, focus: $focus, nextFocus: {<br>                    guard let index = self.myObjects.firstIndex(of: $0) else {<br>                        return<br>                    }<br>                    self.focus = myObjects.indices.contains(index + 1) ? myObjects[index + 1] : nil<br>                })<br>            }<br>            Divider()<br>            Text(&quot;Footer&quot;)<br>        }<br>    }<br>}</pre><h3>The TextField Wrapper to Manage FocusState</h3><p>In the TextField wrapper we have:</p><p><strong>displayedObjec</strong>t The object that is being edited</p><p><strong>isFocused</strong> The FocusState of this TextField denoted by the Property Wrapper</p><p><strong>focus</strong> The object to be focused on, which is binding from the parent. We only monitor its changes in the FocusField</p><p><strong>nextFocus()</strong> Which allows us to execute code from the scope of the Parent,</p><p>The FocusField doesn’t need to have any reference to the myObjects array in the Parent but it can still give the FocusState to the next TextField to iterate through that array</p><pre>struct FocusField: View {<br><br>    @State var displayObject: MyObject<br>    @FocusState var isFocused: Bool<br>    @Binding var focus: MyObject?<br>    var nextFocus: (MyObject) -&gt; Void<br><br>    var body: some View {<br>        TextField(&quot;Test&quot;, text: $displayObject.value)<br>            .onChange(of: focus, perform: { newValue in<br>                self.isFocused = newValue == displayObject<br>            })<br>            .focused(self.$isFocused)<br>            .submitLabel(.next)<br>            .onSubmit {<br>                self.nextFocus(displayObject)<br>            }<br>    }<br>}</pre><p>So with this code you should be able to use Focus State dynamically without Enums or UIKit, right?</p><h3>The Example Is Too Simple</h3><p>Here is an example of what will happen so far, because VStack doesn’t take up all available space it bounces if you are doing this as a proof of concept. But there’s a simple fix!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*MMb71KJZeOHvtE4z02BFhQ.gif" /></figure><p>Use a Form, ScrollView, List, GeometryReader, or similar expanding/greedy layout view then the bouncing will stop and it will look perfect. No <strong>enum</strong> needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*288LPgpXMayfSWYiehhUrg.gif" /></figure><p>Here is a <a href="https://gist.github.com/michael94ellis/4e877ae9ddecf19b55bbc8b8248ac69f">gist with the final code</a>, Good Luck Out There!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/57876b86619b2cb11c043bde9a413919/href">https://medium.com/media/57876b86619b2cb11c043bde9a413919/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5516de893d1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[iOS Network Framework for UDP]]></title>
            <link>https://medium.com/@michaelrobertellis/ios-network-framework-for-udp-33782ec0bafb?source=rss-19fc6889ccbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/33782ec0bafb</guid>
            <category><![CDATA[nwconnection]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[network]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[udp]]></category>
            <dc:creator><![CDATA[Michael Ellis]]></dc:creator>
            <pubDate>Fri, 05 Jun 2020 16:28:46 GMT</pubDate>
            <atom:updated>2021-12-19T13:11:46.047Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<p>iOS 12 includes an awesome Network framework, say goodbye to some of your favorite third party libraries! I copied the docs for you from Apple:</p><h4>Network: <a href="https://developer.apple.com/documentation/network">https://developer.apple.com/documentation/network</a></h4><blockquote>Create network connections to send and receive data using transport and security protocols.</blockquote><p>Available on these SDKs: iOS 12.0+, macOS 10.14+, Mac Catalyst 13.0+, tvOS 12.0+, watchOS 6.0+</p><h3>Overview</h3><blockquote>Use this framework when you need direct access to protocols like TLS, TCP, and UDP for your custom application protocols. Continue to use <a href="https://developer.apple.com/documentation/foundation/urlsession">URLSession</a>, which is built upon this framework, for loading HTTP- and URL-based resources.</blockquote><h3>Using NWConnection with UDP</h3><p>Most people use TCP, but I wanted to connect to a device that uses UDP to send messages back and forth. UDP doesn’t rely on connection handshakes or anything, you just send messages and you must know that sometimes packets get lost and account for that.</p><p>All you need to do is make a connection, then send and receive.</p><blockquote><strong>let connection = NWConnection(host: address, port: port, using: .udp)</strong></blockquote><blockquote><strong>connection.start(queue: .global())</strong></blockquote><p>It doesn’t matter if the state changes because UDP is stateless. You send messages when you want, and the receiver can respond if they get the message. Apple’s Network framework works a bit differently than other frameworks so you can send and receive in the same function to achieve what you may need a loop for in other frameworks.</p><p>To make a UDP Listener you can <a href="https://medium.com/@michaelrobertellis/how-to-make-a-swift-ios-udp-listener-using-apples-network-framework-f7cef6f4e45f">read my other article</a>.</p><p>Here’s the full code for a basic send and receive using UDP!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/28435cb0745dfeac23548cb92691a678/href">https://medium.com/media/28435cb0745dfeac23548cb92691a678/href</a></iframe><h3><strong>What if you want to listen to a UDP data stream?</strong></h3><p>Well here is another article I wrote about how to make a Combine enabled UDP Listener using Apple’s Network Framework</p><p><a href="https://medium.com/@michaelrobertellis/how-to-make-a-swift-ios-udp-listener-using-apples-network-framework-f7cef6f4e45f">https://medium.com/@michaelrobertellis/how-to-make-a-swift-ios-udp-listener-using-apples-network-framework-f7cef6f4e45f</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33782ec0bafb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>