<?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 Erich Flock on Medium]]></title>
        <description><![CDATA[Stories by Erich Flock on Medium]]></description>
        <link>https://medium.com/@erichflock?source=rss-796d3b3b6c8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5QTVXdlCYBZ-BngW.</url>
            <title>Stories by Erich Flock on Medium</title>
            <link>https://medium.com/@erichflock?source=rss-796d3b3b6c8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 11:53:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@erichflock/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[Simular diferente conexões de internet no Simulador]]></title>
            <link>https://medium.com/@erichflock/simular-diferente-conex%C3%B5es-de-internet-no-simulador-316d46159372?source=rss-796d3b3b6c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/316d46159372</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Erich Flock]]></dc:creator>
            <pubDate>Fri, 24 Jul 2020 14:33:15 GMT</pubDate>
            <atom:updated>2020-07-24T14:33:15.680Z</atom:updated>
            <content:encoded><![CDATA[<p>Programadores mobile precisam se preocupar com o fato de que a conexão de internet nos smartphones varia dependendo de muitos fatores. Geralmente desenvolvemos aplicações de nossas casas ou escritório e as vezes não conseguimos simular as condições de internet da vida real. Para tentar reduzir este problema, existe uma ferramenta chamada “Network Link Conditioner”.</p><p>Para instalar essa ferramenta, abra o Xcode e clique em “More Developer Tools”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jICzPWODPMpMNALVUAAfdQ.png" /></figure><p>Após clicar em “More Developer Tools”, a página de downloads da área de Developer no site da Apple irá abrir. Selecione a opção “Additional Tools” com a versão mais próxima de seu Xcode e faca o download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvYJrHrEkj1v6LrbA9xAaA.png" /></figure><p>Quando o download estiver concluído, clique duas vezes no arquivo. Dentro da pasta “Hardware”, de dois cliques em “Network Link Conditioner” e comece a instalação.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VQk3P3nx4FYRxHD_px6j5Q.png" /></figure><p>Após a instalação, o software irá abrir e voce poderá mudar as condições de internet e efetuar os testes que deseja no seu aplicativo através do simulador. Ao iniciar o software e selecionar uma opção de conexão, a conexão de internet do seu computador será afetada. Portanto fique atento para evitar problemas com as tarefas que voce está executando. Caso precise abrir o programa novamente, é só clicar em “System Preferences” e o ícone do software estará lá.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYExbkFiTH1yfK31zusMFQ.png" /></figure><p>Aqui está um exemplo de um aplicativo que procura imagens online e mostra os resultados da busca na tela. No primeiro vídeo, a internet está configurada para 3G e no segundo Wi-Fi. Podemos notar que os resultados da busca aparecem bem mais rápido no segundo vídeo (Wi-Fi).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*QIgy5d_S8yPqBugX6n0UXA.gif" /><figcaption>App using 3G connection</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*xL9AF-SHFV3irU-Uzu3ysA.gif" /><figcaption>App using Wi-Fi connection</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=316d46159372" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simulate different Internet Conditions on iOS Simulator]]></title>
            <link>https://medium.com/@erichflock/simulate-different-internet-conditions-on-ios-simulator-8021aba991c3?source=rss-796d3b3b6c8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8021aba991c3</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Erich Flock]]></dc:creator>
            <pubDate>Fri, 24 Jul 2020 12:34:54 GMT</pubDate>
            <atom:updated>2020-07-24T12:34:54.699Z</atom:updated>
            <content:encoded><![CDATA[<p>As mobile developers, we always need to keep in mind that internet conditions on mobile applications vary depending on many factors. As we usually develop from our office or home, we tend to not test the “real life” conditions. In order to reduce this gap, I explore the use of one tool called “Network Link Conditioner”.</p><p>To install this tool, first open Xcode and click on “More Developer Tools”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jICzPWODPMpMNALVUAAfdQ.png" /></figure><p>This will open the downloads page on the developer session on Apple website. Select the “Additional Tools” with the closest version from your Xcode version and download it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvYJrHrEkj1v6LrbA9xAaA.png" /></figure><p>Next, double click on the downloaded file. Then, open the folder “Hardware”, double click on “Network Link Conditioner” and install it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ltn2--sv7sCXLJECRGaYTQ.png" /></figure><p>After the installation, the software will open and you will be able to change the internet conditions. This will affect the whole internet connection of your machine, so be aware of it in order to avoid problems with the tasks you are performing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nYExbkFiTH1yfK31zusMFQ.png" /></figure><p>After that, you can execute your app on iOS Simulators and test its behaviour under different internet variations.</p><p>Here is an example with an app that searches images online and display the results on the screen. The first video is under the 3G Internet connection and the second one is using the Wi-Fi. We can notice that the search results appear much faster on the second one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*QIgy5d_S8yPqBugX6n0UXA.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*xL9AF-SHFV3irU-Uzu3ysA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8021aba991c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>