<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>IOS on ZK Punk</title>
		<link>https://www.ZKPunk.dev/tags/ios/</link>
		<description>Recent content in IOS on ZK Punk</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Sun, 05 Feb 2023 12:03:15 +0530</lastBuildDate>
		
			<atom:link href="https://www.ZKPunk.dev/tags/ios/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Interval picker in SwiftUI</title>
				<link>https://www.ZKPunk.dev/tips/interval_picker_swiftui/</link>
				<pubDate>Sun, 05 Feb 2023 12:03:15 +0530</pubDate>
				<guid>https://www.ZKPunk.dev/tips/interval_picker_swiftui/</guid>
				<description>&lt;p&gt;Last run on Xcode 14.2, iOS 16.2, and Swift 5.7.2&lt;/p&gt;&#xA;&lt;h3 id=&#34;picker-view-for-time-durations&#34;&gt;&#xA;  Picker View for Time Durations&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#picker-view-for-time-durations&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;In my Timer app, I needed a Picker View for taking the timer interval from the user. Sadly, at this moment SwiftUI does not come with a built in View that I needed for my use case. However, SwiftUI does provide the building blocks to create such a view.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Change Back Button Icon in Navigation Bar</title>
				<link>https://www.ZKPunk.dev/tips/change_back_button_icon_navigation/</link>
				<pubDate>Tue, 31 Jan 2023 07:27:15 +0530</pubDate>
				<guid>https://www.ZKPunk.dev/tips/change_back_button_icon_navigation/</guid>
				<description>&lt;p&gt;Last Run on XCODE 14.2 / iOS 16.2 / Swift 5.7.2&lt;/p&gt;&#xA;&lt;h3 id=&#34;change-the-back-buttons-icon&#34;&gt;&#xA;  Change the Back Button&amp;rsquo;s Icon&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#change-the-back-buttons-icon&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;If you have used the default Settings App that comes with iOS, you are most likely to be familar with the back button with the &amp;ldquo;less than&amp;rdquo; symbol &amp;ldquo;&lt;em&gt;&amp;lt; Back&lt;/em&gt;&amp;rdquo; on the top left of your iOS devices screen (in the navigation bar). It&amp;rsquo;s something we have gotten very used to, thanks to it being implemented in not only the first party apps by Apple, but also the innumerous 3rd party apps that use the &lt;a href=&#34;https://developer.apple.com/documentation/swiftui/navigationstack&#34;&gt;NavigationStack&lt;/a&gt; and related API&amp;rsquo;s.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Dynamic Buttons to handle different app behvaior in SwiftUI</title>
				<link>https://www.ZKPunk.dev/tips/toggling-button-based-on-app-state/</link>
				<pubDate>Sat, 21 Jan 2023 12:42:15 +0530</pubDate>
				<guid>https://www.ZKPunk.dev/tips/toggling-button-based-on-app-state/</guid>
				<description>&lt;p&gt;Last Run on XCODE 14.2 / iOS 16.2 / Swift 5.7.2&lt;/p&gt;&#xA;&lt;h3 id=&#34;making-a-dynamic-button&#34;&gt;&#xA;  Making a Dynamic Button&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#making-a-dynamic-button&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;If you have noticed, the play button on most media players changes to pause once the media starts playing and vice versa. This is a behavior, I also needed in one of my apps that I was building.&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s a functionality pretty staright forward to achieive in SwiftUI.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Making a Progress View Ring</title>
				<link>https://www.ZKPunk.dev/tips/making-a-progress-view-ring/</link>
				<pubDate>Tue, 17 Jan 2023 13:48:35 +0530</pubDate>
				<guid>https://www.ZKPunk.dev/tips/making-a-progress-view-ring/</guid>
				<description>&lt;p&gt;Last Run on XCODE 14.2 / iOS 16.2 / Swift 5.7.2&lt;/p&gt;&#xA;&lt;h3 id=&#34;progress-view-ring&#34;&gt;&#xA;  Progress View Ring&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#progress-view-ring&#34;&gt;&#xA;    &lt;i class=&#34;fa fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;I was building a Timer app and needed a visual indicator to display the the amount of time left while the countdown was running. A circular progress bar similar to the fitness/activity rings of Apple Watch made the most sense. Sadly, Apple currently doesn&amp;rsquo;t provide a good API to use such a view in your own apps. However, building such a View in SwiftUI is pretty simple.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
