<?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 Pranav Singh on Medium]]></title>
        <description><![CDATA[Stories by Pranav Singh on Medium]]></description>
        <link>https://medium.com/@pranav_ps?source=rss-b3e30c3935c7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UYGxt8dsqw1hbsNY</url>
            <title>Stories by Pranav Singh on Medium</title>
            <link>https://medium.com/@pranav_ps?source=rss-b3e30c3935c7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:24:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pranav_ps/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[Building an AI Bug-Triage Team with Switch]]></title>
            <link>https://medium.com/@pranav_ps/building-an-ai-bug-triage-team-with-switch-bb9a8d1dc0fa?source=rss-b3e30c3935c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb9a8d1dc0fa</guid>
            <category><![CDATA[ai-tools]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Pranav Singh]]></dc:creator>
            <pubDate>Sat, 07 Nov 2026 16:46:13 GMT</pubDate>
            <atom:updated>2026-11-07T16:46:13.763Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I participated in the <a href="https://www.wemakedevs.org/hackathons/switch">Flip the Switch Hackathon</a>. It was four days of exploring a new platform, trying out tools, and building an idea I had been thinking about. I was excited to see how AI agents could work together on a problem that feels familiar to many product teams.</p><p>The result was <a href="https://github.com/Pranav108/tracesquad">TraceSquad</a>, a demo where six agents collaborate on an app bug report using Switch.</p><h4><strong>First, what is Switch?</strong></h4><p>The way I understood Switch is that it brings people and AI agents together in shared rooms. You can give agents different responsibilities and let them communicate as they work on a task.</p><p>What interested me was the possibility of building a team of agents around a problem, rather than asking one agent to do everything on its own.</p><h4><strong>The idea behind TraceSquad 🤫</strong></h4><p>Many organisations have a common channel where colleagues report product issues. Someone usually looks at the report, figures out which team can help, and tags the right people.</p><p>But even a short bug report can lead to several questions: Have we seen this before? Can we reproduce it? Is the issue in the app or the backend? And once a fix is proposed, how do we know it works?</p><p>I wanted to explore whether a team of agents could help with that investigation while keeping the person who reported the bug informed.</p><p>So I built TraceSquad. It brings six agents into a Switch workflow, each with a different role. Together, they can look into a report, check for similar issues, reproduce a scenario, investigate a possible cause, and work on a fix and its verification. They can also ask each other for context along the way.</p><blockquote>For example, imagine someone reporting a checkout issue. Instead of just receiving a single answer, they can follow the progress as the agent team works through the report.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oUTlUDlYVWG_Tmz59GxFdg.png" /></figure><p>For the hackathon, I used simulated scenarios and a mock backend. The reproduction, fixes, and verification happen within that simulation. Connecting the workflow to real app builds, logs, and testing tools is something I would like to explore next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*J5XJTjd8eT5TBH_GiyihgQ.png" /></figure><h4><strong>Where Switch helped</strong></h4><p>Switch gave the agents a shared place to communicate and made it possible to bring their different roles into one workflow. I used Mattermost as the chat interface for the demo, so a person could report an issue and see progress without following every conversation between the agents.</p><p>That was my favourite part of the idea: making the collaboration visible. A bug investigation often involves more than finding a possible answer. You also want to know what was checked and whether the proposed fix addressed the issue.</p><p><strong><em>A little more than the project 🦙</em></strong></p><p>Alongside TraceSquad, I also worked on two Switch contributions: an <a href="https://github.com/sandbox-quantum/switch/pull/1716">Asana connector</a> and a <a href="https://github.com/sandbox-quantum/switch/pull/1705">Grafana Cloud connector</a>. It was interesting to experience Switch from both sides: building a workflow with it and contributing to the platform itself.</p><p>The hackathon gave me a chance to try new tools, experiment with an idea, and learn how a group of agents might work together on a familiar problem. I enjoyed the experience and would love to keep exploring where this can go.</p><p>Thanks to the Switch and WeMakeDevs teams for organising it! You can check out <a href="https://github.com/Pranav108/tracesquad">TraceSquad on GitHub</a>. 🧑🏾‍💻🫴🏽</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb9a8d1dc0fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flavoring for different build modes in iOS]]></title>
            <link>https://medium.com/@pranav_ps/flavoring-for-different-build-modes-in-ios-bf5f0dd69201?source=rss-b3e30c3935c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf5f0dd69201</guid>
            <category><![CDATA[flavoring]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[schema]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Pranav Singh]]></dc:creator>
            <pubDate>Sat, 03 Feb 2024 21:00:24 GMT</pubDate>
            <atom:updated>2024-02-03T21:00:24.573Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XwWbdStKZ4S1PwrwJYw5rQ.png" /><figcaption><a href="https://dev.to/leon_arantes/react-native-multiple-environments-setup-schemaflavors-3l7p">https://dev.to/leon_arantes/react-native-multiple-environments-setup-schemaflavors-3l7p</a></figcaption></figure><h3>What is flavoring</h3><p>In iOS development, <strong><em>flavoring</em></strong> refers to creating different versions of an app with specific features or branding for different purposes or different building modes, all based on a common codebase. Here we will implement flavoring for different building modes only (in this example we will be working with <strong><em>Debug</em></strong> and <strong><em>Release</em></strong>).</p><h3>Why is flavoring required?</h3><p>Flavoring in iOS isn’t a strict necessity, but it’s incredibly useful. The requirement for flavoring in our iOS project is to smoothen the development process by creating distinct versions that can be easily switched between environments. <strong>This allows for faster development without the need to manually adjust server settings and build modes each time</strong>.</p><h4>How to achieve it ?</h4><p>The solution is to create two different schemas, and connect config files(containing different environment variables) and info.plist of both the environments.</p><blockquote>As an example, value of <em>SERVER_TYPE</em> will be taken from the config file of the current environment, <strong>via info.plist and ServerConfig</strong>.</blockquote><h3>Now let’s actually achieve it!!…... 🚜</h3><p><strong>Step 1 :</strong> Create configurations files(.<strong><em>xcconfig</em></strong>) as per your requirement (generally we make different config file for different schemas).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35t3vdYTrLjGH3GD2Nf4zQ.png" /></figure><p><strong>Step 2 :</strong> Create info.plist files as per your requirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bSm_eVnWnISgkbOuw0HfOA.png" /></figure><p><strong>Step 3 :</strong> Add/Edit the configuration from the configurations in your <em>xcconfig</em> inside the info setting and connect both <em>xcconfig</em> in the respective environment(config for Pod will be installed automatically)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FEMw3MEK_ZByjqELVXHrFQ.png" /></figure><p><strong>Step 4 :</strong> Connect both <em>info.plist</em> in the respective environment. You should set the unique bundle identifier if you want to keep apps from different environments simultaneously in your iOS device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhUAUeYsZGvofoIx0u-HqA.png" /></figure><p><strong>Step 5 :</strong> Open schemes via <strong>any of the option</strong> below</p><ul><li><em>Go to Product -&gt; Schemes-&gt;Choose Scheme</em></li><li><em>Press ^ + 0 (control + Zero) in keyboard</em></li><li><em>Directly clicking on button shown below</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*G9kKB6DkuyKOJd7zXmSCQw.png" /></figure><p><strong>Step 6 :</strong> Create/Edit the schemes to connect them with the required environment. In the build configuration drop down, we can select the desired environment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RpV7gCjN3cvEc7URzGu8vg.png" /></figure><p><strong>Step 7 :</strong> Choose the schema and run/build/archive the app from <em>Step 5</em>.</p><blockquote>For accessing the values of the configuration file a singleton class is created with the name <em>ServerConfig</em>, having only getter properties.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-4_XfHg5_keq7783SVpv5g.png" /></figure><p>The use-cases of above code will be as follows :</p><pre>let API_ID = ServerConfig.shared.WEATHER_API_ID<br>let API_URL = &quot;https://some-weather-api/forecast?appid=\(API_ID)&quot;</pre><p>There are multiple ways to implement flavoring, based on our requirements. This article primarily focuses on build flavoring, specifically when we want to simultaneously use both the debug and release builds of our app on the device. Btw here the app which I have taken in example —</p><p><a href="https://github.com/Pranav108/iOS-weather-app">GitHub - Pranav108/iOS-weather-app: A simple weather app to fetch weather update of given/current city.</a></p><p>🧡 DO COMMENT IF YOU FACE ANY CHALLENGES TO IMPLEMENT — HAPPY TO HELP 🧡</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf5f0dd69201" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swiggy iOS interview experience]]></title>
            <link>https://medium.com/@pranav_ps/swiggy-ios-interview-experience-ad1018f12353?source=rss-b3e30c3935c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad1018f12353</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[swiggy]]></category>
            <dc:creator><![CDATA[Pranav Singh]]></dc:creator>
            <pubDate>Sun, 21 Jan 2024 07:03:31 GMT</pubDate>
            <atom:updated>2024-01-21T07:03:31.455Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8e72gVVLNrA00pCsQ4IYvw.png" /></figure><p>I have 7 months of iOS experience and in last week I had some series of interviews with <a href="https://apps.apple.com/in/app/swiggy-food-grocery-delivery/id989540920"><strong>Swiggy</strong></a> for the Associate iOS Developer role. Thought of sharing the experience here 😃</p><blockquote>Discovered the job opening in a LinkedIn <a href="https://www.linkedin.com/posts/agam-mahajan-8296a7a5_swiggy-iosdeveloper-techjobs-activity-7140962025622482946-m6qc"><strong>post</strong></a> and applied via referral with the iOS Engineer Manager, and got an interview call within a few days.</blockquote><h3><strong>Round 1 : Machine Coding Round (1.5 hr)</strong></h3><p>Interview started with basic introduction sharing followed by a task. The task was clear: construct a weather app featuring a sorted list of cities on the first screen. Clicking on a city should reveal detailed weather info on a second screen. The catch? Implement a ‘favourite’ button on the second screen, with a mirrored version on the first screen(with all city names), all synchronised. Provided a weather API and city names array, constraints included no external frameworks, robust error handling, and a focus on favourite logic within a challenging one-hour timeframe.</p><p>I took approx 1 hr 10 min to complete this task but was unable to complete the favourite logic( have implemented the callback of it but UI changes was left to finish).</p><p><strong>Asked questions were related to the code that I have written, which includes</strong> -</p><blockquote>How I could have Implemented the uncompleted task.</blockquote><blockquote>Why I have used self in the closure, and what is weak and unowned self.</blockquote><blockquote>Why have I used a forced unwrap operator at one place, what are other ways to handle it.</blockquote><blockquote>How I’ll do error handling</blockquote><blockquote>How can I implement caching here.</blockquote><blockquote>Why I used the main thread for UI changes.</blockquote><blockquote>Why I have used callback to handle the favourite click change logic.</blockquote><blockquote>What is application lifecycle</blockquote><p>With a rewarding two-hour session, I earned the ticket to the next round.</p><h3>Round 2 : DS - Algo + iOS Round (1.5 hr)</h3><p>Round 2 unfolded with an introduction to my responsibilities at current role, tech stack, architectural pattern I follow, iOS journey etc.</p><p><strong>Asked questions were related to swift fundamentals, which includes</strong> -</p><blockquote>Distinction between Structs and Classes.</blockquote><blockquote>Are Arrays, Sets and String classified as classes or structs?</blockquote><blockquote>Define the type of Optionals along with their cases.</blockquote><blockquote>Implement a method to check whether any optional is nil or not, something like someOptionalProperty.isNil().</blockquote><blockquote>Enhance the optimization of the Optional extension code I have written.</blockquote><blockquote>Does Objective-C support optionals, and how does it handle errors?</blockquote><blockquote>Mention some significant Swift features that contribute to its excellence.</blockquote><blockquote>Examine the various methods to facilitate data passage between ViewModel and ViewController.</blockquote><blockquote>Choose the optimal data passing method for a given scenario, providing reasoning.</blockquote><blockquote>Write code to pass data between ViewModel and ViewController using delegates.</blockquote><blockquote>Write code to print the first ’n’ Fibonacci numbers and optimize it for linear time complexity.</blockquote><p>In major part of the this round, we talked about SwiftUI features and navigated through the migration challenges from Swift to SwiftUI. The outcome of this discussion was positive.</p><h3>Round 3 : Managerial Round (1 hr)</h3><p>In this final technical round, my interviewer(who was the same person I got referral from ), facilitated a technical discussion incorporating a single DSA question.</p><p><strong>Asked questions were related to my experience at the current company , which includes</strong> -</p><blockquote>What are some important contributions/tasks that I have done in my current role.</blockquote><blockquote>Which is the most challenging task, solving approach and its learning .</blockquote><blockquote>Many questions were related to one of the tasks which was about notification permission in the app and to show a custom popup based on some internal logic.</blockquote><blockquote>They asked about the life-cycle of UINotification, order of the methods, user permission scenarios, app state changes, and selecting the appropriate viewLifecycle method with justifications.</blockquote><blockquote>What are singleton and its drawbacks?</blockquote><blockquote>What are access specifiers and the differences among them.</blockquote><blockquote>Addressing a coding challenge — rearranging an array of positive and negative elements to place negatives on the left and positives on the right, optimized till linear time complexity.</blockquote><blockquote>Details about my current CTC.</blockquote><blockquote>Reasons behind the decision to join Swiggy.</blockquote><blockquote>What motivate you in life (for just anything…)</blockquote><p>I was NOT SELECTED in this interview round, and some of the reasons could be -</p><ul><li><em>Although I answered nearly everything, I didn’t make a significant impact on the engineering manager.</em></li><li><em>In a few instances, my responses seemed unclear and not aligned with the interviewer’s expectations.</em></li><li><em>The heightened competition among applicants has raised the quality bar, as discussed </em><a href="https://www.linkedin.com/posts/agam-mahajan-8296a7a5_globaltalent-reversebraindrain-techinindia-activity-7148965205228638208-RiGH?utm_source=share&amp;utm_medium=member_desktop"><em>here</em></a><em> 🔗.</em></li><li><em>My communication skills, particularly for a remote-first company, may not meet the expected standards (as I’m not particularly strong in this area).</em></li><li><em>One of the concepts I presented regarding the notification task was incomplete.</em></li><li><strong><em>My current CTC is 1.5x of what they were offering, they might have anticipated being ignored (which I wouldn’t have done)</em></strong><em>.</em></li></ul><p>The overall interview experience was good, accompanied by valuable lessons. With a total of 7 months of iOS development experience, I found satisfaction in my performance. While it might not be the best decision but the motivation behind this interview was the opportunity to transition to the latest tech-stack employed by the company.</p><p>💛 THIS IS MY FIRST MEDIUM BLOG , HUGE THANKS FOR READING 🥹 💛</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad1018f12353" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>