<?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 Rajasekhar Tolapu on Medium]]></title>
        <description><![CDATA[Stories by Rajasekhar Tolapu on Medium]]></description>
        <link>https://medium.com/@rajasekhartolapu?source=rss-ab37eb3870dc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mZ3g_8bmi9MCbqBChccchA.jpeg</url>
            <title>Stories by Rajasekhar Tolapu on Medium</title>
            <link>https://medium.com/@rajasekhartolapu?source=rss-ab37eb3870dc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:26:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajasekhartolapu/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 test an iOS app on 2G / 3G, LTE, Edge, etc on High-Speed Internet /Poor Internet /Internet…]]></title>
            <link>https://rajasekhartolapu.medium.com/how-to-test-an-ios-app-on-2g-3g-lte-edge-etc-on-high-speed-internet-poor-internet-internet-972a1b986d03?source=rss-ab37eb3870dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/972a1b986d03</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ionic]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Rajasekhar Tolapu]]></dc:creator>
            <pubDate>Fri, 19 Feb 2021 07:56:10 GMT</pubDate>
            <atom:updated>2024-03-09T20:46:12.240Z</atom:updated>
            <content:encoded><![CDATA[<h3>Testing iOS app on Low/High/Good/Bad/Average Internet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*q5YXP9tzYANmPf7CfEslPA.gif" /></figure><p>We develop apps on high-speed office internet or home internet. I hope you test apps on no internet, Have you ever tested your app on a poor internet connection or 2G, etc...</p><p>This article helps you test your iOS native app on Low, High, Poor internet connections. I demonstrate how to make various internet settings on an iOS device and Simulator.</p><p>Let’s dive into an iOS Device:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zd_uO0hZrNSOjtbc" /><figcaption>Photo by <a href="https://unsplash.com/@blocks?utm_source=medium&amp;utm_medium=referral">blocks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Open your Xcode project and go to Window -&gt; Devices and Simulators -&gt; Select Devices Tab. Make sure your device connected.</p><p>Now you see your device in the list and make it selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0oB7zTjxpIEoSCOuidzH8A.png" /></figure><p>Make sure to select Network Link for Condition and select very poor internet and start it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_dauIPDadQG6jqQnCGTGA.png" /></figure><p>After start now you can see setting button on top of iphone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*1Wpvsx3DJs-wB21x9OZ8RA.png" /></figure><p>Now open your app and test how the app is behaving, Is the API got time-out error/ slow loading network images. Find the error if any and make sure handled. In my case, I open Appstore and it showed the following error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*FvK5jIs6tec0Ql7PI9eBRg.jpeg" /></figure><p>Once your testing is completed, make sure to stop network link condition to none. You can stop for a device or you can go Devices and Simulator -&gt; Condition -&gt; None</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*V-DR50_nbUfbg2BCMyHY2A.png" /></figure><p>We did testing on the physical device up to now. What if you don&#39;t have a device, let see how to keep settings for Simulator.</p><p>Let&#39;s dive into an iOS simulator:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zfbifP7EogYiKYPUmEFzXA.jpeg" /></figure><p>It is quite easy to make setup on iOS Devices. For the simulator, we need to download some stuff.</p><p>Open <a href="https://developer.apple.com/download/more/?=xcode">https://developer.apple.com/download/more/?=xcode</a></p><p>download Additional Tools for Xcode XX</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ByQhmoNpnjFMyxrBGZbEw.png" /></figure><p>After download open it and Go to Hardware -&gt; Install Network Link Conditioner.prefpane</p><p>After installing, it moves to preferences</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TvJ-nRI5Jxg_Y54nQ1T_Q.png" /></figure><p>Open Network Link Conditioner, It shows like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9nuk2XSzkwB0J-xODmBtBA.png" /></figure><p>Select Very Bad Network on Dropdown Profile. Make it on from the Left side.</p><p>On the mac status bar, you can see a symbol like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AF9Pkzi1M0-RGP9HNQ2J3Q.png" /></figure><p>Once it is ON, You can test your app as we did on the device section. So after completing make sure to OFF the Network Link Conditioner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IdQKwDQamVu9q9od" /><figcaption>Photo by <a href="https://unsplash.com/@brucemars?utm_source=medium&amp;utm_medium=referral">bruce mars</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You can also test the app on 2G, 3G, LTE, Edge, Wifi in poor, average, good conditions. Hope you enjoyed this article 😀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=972a1b986d03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Faster your development/ Automated MVVM View/ViewModel Template]]></title>
            <link>https://rajasekhartolapu.medium.com/faster-your-development-automated-mvvm-view-viewmodel-template-d2cf5d4dce34?source=rss-ab37eb3870dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2cf5d4dce34</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios-developer]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[template]]></category>
            <dc:creator><![CDATA[Rajasekhar Tolapu]]></dc:creator>
            <pubDate>Fri, 14 Aug 2020 20:06:55 GMT</pubDate>
            <atom:updated>2024-03-09T20:49:10.647Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>iOS Faster your development/ Automated MVVM View &amp; ViewModel Template — XCode</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C9zLDkBllmEbnp4QaLGifw.png" /></figure><p>Yes Templates, In this real-world everyone loves if we have templates to create some content easily like what Google Docs, Sheets, and PowerPoint provide templates. How cool is that if we have custom templates for Apple development for our project.</p><p>Benefits:</p><ol><li>Speed up your Development</li><li>There will be sync between team members</li><li>Many More</li></ol><p>I will demonstrate in two steps — First, how to Create templates and secondly, an example of how to use it.</p><p><strong>Let’s Start Template Creation :</strong></p><p>Use the following path to see Apple’s / Existing templates.</p><p>(Click FINDER -&gt; GO -&gt; GO TO FOLDER and Paste the following path. It will redirect to the templates folder)</p><blockquote><strong><em>/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D1KrZNopzu6ISTqTJYxW-w.png" /></figure><p>Now create a folder with a name in which all your custom templates will be kept there (I create Folder named MVVM basically I want to create Automated Basic ViewContoller and ViewModel code).</p><p>As you can see in the above picture that you can find all types of empty templates (Eg: Swift, Objective-C, XIB, StoryBoard, Swift UI etc ) which Apple already provided.</p><p>We will be creating a swift file with some custom methods inside it. Now copy Swift File.xctemplate and paste it on your create folder (@here it is <strong>MVVM</strong>)</p><p>I pasted two times and named as <strong>MVVMViewController.xctemplate</strong> and other as <strong>MVVMViewModel.xctemplate</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WOLkGzVC2Sz5P6p-Ujz_Uw.png" /></figure><p>Now try to open the Xcode project and add a new file. (FILE-NEW-FILE)</p><p>You can see both MVVM’s VC and VM will be reflected in the list. See below Image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Pf4Y0JqF3xZ-PjKbzJhag.png" /></figure><p>Successful here, We have created Template and now let’s focus on template design</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hu5hsCKXgoSsOOKb" /><figcaption>Photo by <a href="https://unsplash.com/@dre0316?utm_source=medium&amp;utm_medium=referral">Andre Hunter</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Let’s Start Template Example :</strong></p><p>Place below code in <strong>___FILEBASENAME___.swift</strong> under <strong>MVVMViewController.xctemplate</strong></p><pre>//___FILEHEADER___</pre><pre><strong>import</strong> UIKit</pre><pre><strong>class</strong> ___FILEBASENAMEASIDENTIFIER___ViewController: UIViewController {<br>  <strong>var</strong> viewModel = ___FILEBASENAMEASIDENTIFIER___ViewModel()</pre><pre><strong>  override</strong> <strong>func</strong> viewDidLoad() {<br>     <strong>super</strong>.viewDidLoad()<br>  }</pre><pre>}</pre><pre><strong>extension</strong> ___FILEBASENAMEASIDENTIFIER___ViewController: ___FILEBASENAMEASIDENTIFIER___ViewModelDelegate {</pre><pre>// Table View / Collection View / Protocols</pre><pre><strong>  func</strong> reloadData() {<br>  }</pre><pre>}</pre><p>Place below code in <strong>___FILEBASENAME___.swift</strong> under <strong>MVVMViewModel.xctemplate</strong></p><pre>//___FILEHEADER___</pre><pre><strong>import</strong> Foundation</pre><pre><strong>protocol</strong> ___FILEBASENAMEASIDENTIFIER___ViewModelDelegate: class {<strong>            <br>   func</strong> reloadData()<br>}</pre><pre><strong>class</strong> ___FILEBASENAMEASIDENTIFIER___ViewModel {<br><strong>   weak</strong> <strong>var</strong> delegate: ___FILEBASENAMEASIDENTIFIER___ViewModelDelegate?</pre><pre><strong>   init</strong>() {<br>     // If required<br>   }</pre><pre>  /* Eg<br>    func someMethod {<br>      delegate?.reloadTable()<br>    }<br>   */<br>}</pre><p>Now we create templates for View and ViewModel for MVVM. Use the same name while creating ViewContoller and ViewModel and Later change file names which are created in files accordingly (watch Video below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZY6OovP1noIRlkj3" /><figcaption>Photo by <a href="https://unsplash.com/@nullplus?utm_source=medium&amp;utm_medium=referral">Razvan Chisu</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FAiUIvRMZHnU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAiUIvRMZHnU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FAiUIvRMZHnU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/647ee6a4ea07aec29f61897a609b87c7/href">https://medium.com/media/647ee6a4ea07aec29f61897a609b87c7/href</a></iframe><p><strong>Source Code &amp; Example:</strong></p><p><a href="https://github.com/rajasekhar-tolapu/XCode-Templates-MVVM">rajasekhar-tolapu/XCode-Templates-MVVM</a></p><p><strong>Conclusion</strong></p><p>This makes faster development. Some ideas like you can create templates for Swift UI Classes, Architecture classes, etc…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2cf5d4dce34" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>