<?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 Max on Medium]]></title>
        <description><![CDATA[Stories by Max on Medium]]></description>
        <link>https://medium.com/@maxdevelopercontent?source=rss-edf674435017------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PiHjHuUPORTKj8RjYyVzFQ.jpeg</url>
            <title>Stories by Max on Medium</title>
            <link>https://medium.com/@maxdevelopercontent?source=rss-edf674435017------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 05:36:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maxdevelopercontent/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[What are some of the safety features of Swift? — Part 1]]></title>
            <link>https://maxdevelopercontent.medium.com/what-are-some-of-the-safety-features-of-swift-part-1-86872454bd72?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/86872454bd72</guid>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[swift-language]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 11:09:08 GMT</pubDate>
            <atom:updated>2021-01-24T08:06:58.760Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding Swift safety feature “Variables are always initialised before use”</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0giOKsscNeRtZKtE8gBpTA.jpeg" /><figcaption>Pic Courtesy : <a href="https://wallpapercave.com/">https://wallpapercave.com</a></figcaption></figure><p>Remember whenever we turn into some iOS Dev interview we are often asked this question.</p><p>But tbh, Safety here just means how fast developer is informed about something wrong. <strong>Earlier the feedback, safer a language</strong>. So what is the earliest a language can pinch developer and point out the mistake in code?</p><p>Yes you guessed it right, it’s <strong>compile time.</strong></p><p>Swift adopts modern programming patterns to point out errors such as:</p><blockquote>Variables are always initialised before use.</blockquote><p>Let’s play on playground to see what it actually means. <br>Suppose we have a class Employee and we want one property “<em>name</em>” to store the employee name. Pretty simple stuff.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/af31a6499b8f74b0a1e94bf58d198bd6/href">https://medium.com/media/af31a6499b8f74b0a1e94bf58d198bd6/href</a></iframe><p>Employee [Yes, we are old school] class without an initialiser. If you are following along in your playground as well, you will see an error mentioning about “Class Employee has no initializers”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*dMjzffigizHc623x5yQ3zw.png" /><figcaption>Compiler prompting error</figcaption></figure><p>So complier is in short saying that there are no intializers for <strong>“<em>Employee</em>” class nor there is any default value to property “<em>name</em>”</strong>.</p><p>The ideal solution to deal with the error would be to go ahead and add the initializer to Employee Class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*C3zN4-3OCPPFAs33Fb85wg.png" /><figcaption>Ideal Solution</figcaption></figure><p>Now, you must be wondering I could also add a default value say “” (empty string) to property <em>name</em> and that would also work. Correct, but I personally prefer this way, because the later adds one additional step to initialise and then assign value to the <em>name</em> property and also we have to keep name property as variable (var) instead of a constant (let).</p><p>So this is one of the safety feature Swift offers of pointing out that variables should always be initialized before use.</p><p>We will discuss more such features in subsequent posts.</p><p>Thanks for reading. Stay tuned.</p><p>If you ❤️ this article please give a clap👏 and support my work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86872454bd72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Category vs Sub-classing in Objective-C ?]]></title>
            <link>https://maxdevelopercontent.medium.com/category-vs-sub-classing-in-objective-c-51b1bf743c75?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/51b1bf743c75</guid>
            <category><![CDATA[objective-c]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[ios-interview]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Thu, 01 Feb 2018 05:32:58 GMT</pubDate>
            <atom:updated>2022-05-13T14:00:08.734Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 8: Category vs Sub-classing in Objective-C ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0f6U0Hh6jNfoYFWYMwQBiA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@polarmermaid?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Anne Nygård</a> on <a href="https://unsplash.com/s/photos/category?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>Category</strong> is useful when you want to alter the behaviour of <strong>all instances</strong> of that class even when the source code is not available to you.</p><p><strong>Subclassing</strong> is useful when want to alter the behaviour of <strong>some instances</strong> of that class and keep intact for other instances.</p><p>Categories <strong>cannot store state</strong>, whereas subclass <strong>can store state</strong>.</p><p>While using category you need to be extra cautious because it can change the behaviour of all instances in your project without any warning especially when you don’t have source code for that class. It is recommended to use subclassing on third-party and private framework classes than category.</p><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst! 👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-7-checking-api-availability-in-swift-de5661d222dd"><strong><em>previous</em></strong></a><em> article</em><strong><em> </em></strong><em>in the series or if you wish to </em><a href="https://medium.com/@maxifytech/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51b1bf743c75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Checking API availability in Swift]]></title>
            <link>https://maxdevelopercontent.medium.com/day-7-checking-api-availability-in-swift-de5661d222dd?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/de5661d222dd</guid>
            <category><![CDATA[ios-interview]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[swif]]></category>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Wed, 31 Jan 2018 06:08:56 GMT</pubDate>
            <atom:updated>2022-05-13T13:43:15.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 7: Checking API availability in Swift</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bx3eLn6qjpt68CXmWBFNCg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@visualsbybrad?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Brad Starkey</a> on <a href="https://unsplash.com/s/photos/change?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Tell me if this sounds familiar, your super duper App has a legacy support so it runs on from iPhone 4s to the latest iPhone and you want to implement some functionality which was pain for previous versions but is simple as ______ mmmm cannot catch any reference atm lets just say simple 👅 for later versions.</p><p>So you want to ready to write that painful piece of code but also want to use new APIs available for the latest versions.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F52VjAeGgj78GY%2Fgiphy.mp4&amp;src_secure=1&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F52VjAeGgj78GY%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F52VjAeGgj78GY%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=video%2Fmp4&amp;schema=giphy" width="435" height="342" frameborder="0" scrolling="no"><a href="https://medium.com/media/52ad51216f932b7ef3c3f0e173438b6e/href">https://medium.com/media/52ad51216f932b7ef3c3f0e173438b6e/href</a></iframe><p><strong><em>Here swift can give you a hand…</em></strong></p><p>Swift has built-in support for checking API availability, which ensures that you don’t accidentally use APIs that are unavailable on a given deployment target. You use an <strong><em>availability condition</em></strong> in an <strong>if</strong> or <strong>guard</strong> <strong>statement</strong> to conditionally execute a block of code, depending on whether the APIs you want to use are available at runtime.</p><p><strong>Syntax</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a631b45edde15aea492779dca1b0cc2f/href">https://medium.com/media/a631b45edde15aea492779dca1b0cc2f/href</a></iframe><p><strong>Example</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e565c30026ef4832fffd3ce00da23e68/href">https://medium.com/media/e565c30026ef4832fffd3ce00da23e68/href</a></iframe><p>So the body of if statement executes for iOS 10 or later and macOS 10.12 or later. The <strong>last argument *</strong> is required and signifies any other platform.</p><p>You use <strong>platform names</strong> such as iOS, macOS, watchOS, and tvOS—for the full list, <a href="https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Attributes.html#//apple_ref/doc/uid/TP40014097-CH35-ID348"><strong><em>see</em></strong></a>.</p><p><strong>Reference</strong></p><p><a href="https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/ControlFlow.html#//apple_ref/doc/uid/TP40014097-CH9-ID120">Control Flow - The Swift Programming Language (Swift 5.1)</a></p><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst! 👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/category-vs-sub-classing-in-objective-c-51b1bf743c75"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or the </em><a href="https://maxdevelopercontent.medium.com/day-6-difference-between-class-category-and-class-extension-in-objective-c-75ca299beab3"><strong><em>previous</em></strong></a><strong><em> </em></strong><em>one, or if you wish to </em><a href="https://medium.com/@maxifytech/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de5661d222dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between class category and class extension in Objective-C ?]]></title>
            <link>https://maxdevelopercontent.medium.com/day-6-difference-between-class-category-and-class-extension-in-objective-c-75ca299beab3?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/75ca299beab3</guid>
            <category><![CDATA[objective-c]]></category>
            <category><![CDATA[ios-interview]]></category>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ios-basics]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Mon, 29 Jan 2018 05:26:59 GMT</pubDate>
            <atom:updated>2022-05-13T13:59:42.547Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 6: Difference between class category and class extension in Objective-C ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yifLx58VGEtOSOF1QgLuwg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@zonduurzaam?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Zonduurzaam Deventer</a> on <a href="https://unsplash.com/s/photos/extension-cord?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><ol><li><strong>Factor -&gt; Source code</strong></li></ol><p>Categories provide a way to add methods to a class even if its source code is not available to you. ex: NSString</p><p>Extensions are only possible if the source code is available , because compiler compiles the extension &amp; source code at same time.</p><p><strong>2. Factor -&gt;Instance variable/Properties</strong></p><p>Category : Not possible</p><p>Extensions : Possible</p><p><strong>3. Factor -&gt;Accessibility to Inherited classes.</strong></p><p>Category — All methods defined inside a category are also available to the inherited class</p><p>Extensions — All properties and methods defined inside a class extension are not even available to inherited class.</p><h4><strong>Bottom Line</strong></h4><p>Use category when you need to want to add any methods to a class whose source code is not available to you OR you want to break down a class into several files depending on its functionality.</p><p>Use class extensions when you want to add some required methods to your class outside the main interface file. Also when you want to modify a publicly declared variable in the main interface file .</p><p>References:</p><ul><li><a href="https://stackoverflow.com/questions/3499704/difference-between-category-and-class-extension">Difference between Category and Class Extension?</a></li><li><a href="https://code.tutsplus.com/tutorials/objective-c-succinctly-categories-and-extensions--mobile-22016">Objective-C Succinctly: Categories and Extensions</a></li></ul><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-7-checking-api-availability-in-swift-de5661d222dd"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or the </em><a href="https://maxdevelopercontent.medium.com/day-5-what-is-category-in-objective-c-1f0dad702872"><strong><em>previous</em></strong></a><strong><em> </em></strong><em>one, or if you wish to </em><a href="https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75ca299beab3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Category in Objective-C?]]></title>
            <link>https://maxdevelopercontent.medium.com/day-5-what-is-category-in-objective-c-1f0dad702872?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f0dad702872</guid>
            <category><![CDATA[category]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[ios-interview]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Fri, 26 Jan 2018 07:56:25 GMT</pubDate>
            <atom:updated>2022-05-13T13:59:04.359Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 5: What is Category in Objective-C?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8z2LELjdEoXA3m8toDHa2A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@possessedphotography?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Possessed Photography</a> on <a href="https://unsplash.com/s/photos/differences?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><blockquote>Category is used to define additional methods to an existing class. Yes, even you don’t have its source code and even without subclassing it.</blockquote><p>You can add methods, but not properties (possible in a non-conventional way, will save it for some other day.)</p><p><strong>Three powerful features</strong></p><ol><li>Can be used to split up class interface &amp; implementation into several files to achieve MODULARITY in large projects.</li><li>Definition iteself.</li><li>Provide an effective way to achieve psuedo-private methods in Objective C.</li></ol><p><strong>Declaration &amp; Implementaion :</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d09b60edbe71b2c6f917aba41e9c1feb/href">https://medium.com/media/d09b60edbe71b2c6f917aba41e9c1feb/href</a></iframe><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-6-difference-between-class-category-and-class-extension-in-objective-c-75ca299beab3"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or the </em><a href="https://maxdevelopercontent.medium.com/day-4-what-is-fallthrough-in-swift-bfb2233de7a9"><strong><em>previous</em></strong></a><strong><em> </em></strong><em>one, or if you wish to </em><a href="https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f0dad702872" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is fallthrough in Swift?]]></title>
            <link>https://maxdevelopercontent.medium.com/day-4-what-is-fallthrough-in-swift-bfb2233de7a9?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfb2233de7a9</guid>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[switch]]></category>
            <category><![CDATA[fallthrough]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Thu, 25 Jan 2018 05:41:33 GMT</pubDate>
            <atom:updated>2022-05-13T13:58:22.172Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 4: What is fallthrough in Swift?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x7tOHMZiVBH9ypL6J0YAKg.jpeg" /><figcaption>Pic courtsey : Preview App 😆</figcaption></figure><p><em>Fun story</em> : I was at an interview with a very reputed company, and they had this first round of objective type questions with four options. One particular question(or option you can say) took my notice was the question based on switch control flow and it had one of the option as <em>fallthrough. </em>I thought it was a printing error and there was not a keyword called <em>fallthrough</em> in Swift. Just after the interview, I realised how fool I was.</p><p><em>Back to business!</em></p><p>If you have done any programming in C styled languages, you would remember particularly one very unsafe feature in switch control flow that if we didn’t (or missed by any chance, which I did often) write <em>break</em> after the case ended it would just barge in the next case? (Whoa give me some privacy, bruh 😠)</p><p>Obviously <strong>Swift</strong> is more safe language, and its default nature is not that but its more <strong>concise</strong>, <strong>predictable</strong> and <strong>avoids executing multiple switch cases by mistake</strong>.</p><h3><strong>But…</strong></h3><p>If you want that(C style) feature in Swift, you need to write keyword <strong><em>fallthrough </em></strong>after every<strong><em> </em></strong>case where you need.</p><p>Example from The Swift Programming Language book</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3890237bb1270aab4fd1fdf3464e0607/href">https://medium.com/media/3890237bb1270aab4fd1fdf3464e0607/href</a></iframe><p>One last thing, and the <strong>most important</strong></p><blockquote>The fallthrough keyword does not check the case conditions for the switch case that it causes execution to fall into. The fallthrough keyword simply causes code execution to move directly to the statements inside the next case (or default case) block, as in C’s standard switch statement behaviour.</blockquote><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-5-what-is-category-in-objective-c-1f0dad702872"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or the </em><a href="https://maxdevelopercontent.medium.com/day-3-how-to-print-stack-trace-on-console-of-xcode-7177debf1413"><strong><em>previous</em></strong></a><strong><em> </em></strong><em>one, or if you wish to </em><a href="https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfb2233de7a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to print stack trace on console of Xcode?]]></title>
            <link>https://maxdevelopercontent.medium.com/day-3-how-to-print-stack-trace-on-console-of-xcode-7177debf1413?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/7177debf1413</guid>
            <category><![CDATA[stack]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios-interview-question]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 05:22:48 GMT</pubDate>
            <atom:updated>2022-05-13T13:57:33.278Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 3: How to print stack trace on console of Xcode?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q_SFqF-IkmdPez1x" /><figcaption>Photo by <a href="https://unsplash.com/@bekirdonmeez?utm_source=medium&amp;utm_medium=referral">Bekir Dönmez</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><pre><strong>po Thread.callStackSymbols</strong></pre><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-4-what-is-fallthrough-in-swift-bfb2233de7a9"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or the </em><a href="https://maxdevelopercontent.medium.com/day-2-difference-between-rect-and-bounds-49c47d7b18b5"><strong><em>previous</em></strong></a><strong><em> </em></strong><em>one, or if you wish to </em><a href="https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7177debf1413" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between Frame and Bounds?]]></title>
            <link>https://maxdevelopercontent.medium.com/day-2-difference-between-rect-and-bounds-49c47d7b18b5?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/49c47d7b18b5</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[bound]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[frames]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Tue, 23 Jan 2018 04:42:20 GMT</pubDate>
            <atom:updated>2022-05-13T13:40:03.703Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 2: Difference between Frame and Bounds?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m7EGoiSqtU-nEC9i" /><figcaption>Photo by <a href="https://unsplash.com/@juvnsky?utm_source=medium&amp;utm_medium=referral">Anton Maksimov 5642.su</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Bounds</strong> : The bounds of an UIView is the rectangle, expressed as a location (x,y) and size (width, height) <strong>relative to its own coordinate system.</strong></p><p><strong>Frame</strong> : The rect of an UIView is the rectangle, expressed as a location (x,y) and size (width, height) <strong>relative to its superview’s coordinate system.</strong></p><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-3-how-to-print-stack-trace-on-console-of-xcode-7177debf1413"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series or if you wish to </em><a href="https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca"><strong><em>start</em></strong></a><strong><em> </em></strong><em>from beginning.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49c47d7b18b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between keywords static & class in Swift?]]></title>
            <link>https://maxdevelopercontent.medium.com/difference-between-keywords-static-class-in-swift-95c21a6881ca?source=rss-edf674435017------2</link>
            <guid isPermaLink="false">https://medium.com/p/95c21a6881ca</guid>
            <category><![CDATA[class]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[static]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Max]]></dc:creator>
            <pubDate>Mon, 22 Jan 2018 06:07:06 GMT</pubDate>
            <atom:updated>2022-05-13T13:51:44.400Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 1: <strong>Difference between keywords static &amp; class in Swift?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C3LGG5Q3KNGqmmOF" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>static</strong> and <strong>class</strong> keywords can be used in front of method and properties in Swift.</p><p>Both of them associate a method to a class, rather than an instance of a class.</p><p><strong>class</strong> methods <strong>can</strong> be overridden by the subclasses, but <strong>static</strong> methods <strong>cannot</strong> be overridden by the subclasses.</p><p><strong><em>That’s one question, see you tomorrow</em></strong><em>. If you ❤️ this article please give it a </em><strong><em>clap</em></strong><em>👏 and support my work. Also, smash that </em><a href="https://maxdevelopercontent.medium.com/"><strong><em>Follow</em></strong></a><em> icon </em>🟢<em> to get posts delivered to you on your couch. </em><strong><em>We are in this together</em></strong><em> </em>😇<em>. Cheers!</em></p><p><strong><em>Psst!👋, want to continue?</em></strong><em> Go to </em><a href="https://maxdevelopercontent.medium.com/day-2-difference-between-rect-and-bounds-49c47d7b18b5"><strong><em>n</em>ext</strong></a><strong><em> </em></strong><em>article</em><strong><em> </em></strong><em>in the series.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95c21a6881ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>