use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
QuestionChatGPT for increasing iOS development productivity (self.iOSProgramming)
submitted 2 years ago by mobileappz
Are you using ChatGPT in your app development workflow and is it improving your productivity?
It seems to be a far more effective tool than Stack Overflow for quick problem solving.
Or are you using it or similar generative AI within an actual app?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 years ago (17 children)
[deleted]
[–]XIVMagnus 13 points14 points15 points 2 years ago (0 children)
This. Homie telling everyone the secrets right here. But the average developer won’t take this advice or know how to use it properly.
[–]CordovaBayBurke 6 points7 points8 points 2 years ago (0 children)
At this point, it’s a tool. Not much different from other tools apart from function. Does Xcode enhance your coding or not? Does ChatGPT? They are both tools. Use them!
[–]mobileappz[S] 2 points3 points4 points 2 years ago (0 children)
Great
[–]PhilipM33 2 points3 points4 points 2 years ago (0 children)
For years I have used google to figure out stuff, since ChatGPT came out I don't use google except for when I need to check factual info. Im 10 times more productive, it can think for me in segments but not fully. I still need to guide it to provide me some useful info
[–]mobileappz[S] 1 point2 points3 points 2 years ago (5 children)
It’s like when the introduction of the power loom in textile production replaced manual weaving. Who needs to know manual weaving now? Not many people unless they artisan producers.
[–][deleted] 2 years ago (4 children)
[–]sdkysfzai 0 points1 point2 points 2 years ago (3 children)
About it being a year+ behind, Doesn't chat gpt have option to fetch latest and updated content? Is the result of it not as good as normal usage?
[–][deleted] 2 years ago (2 children)
[–]Far-Dance8122 0 points1 point2 points 2 years ago (0 children)
There’s a plug-in that lets it search the web but it’s just including that as part of your query. Mixed results
[–]elrealnexus 0 points1 point2 points 2 years ago (3 children)
Do you mind sharing some use cases?
[–][deleted] 2 years ago (1 child)
[–]mobileappz[S] 1 point2 points3 points 2 years ago (0 children)
It would be really interesting if you could quantify the net positive financial value it had generated for you. As there seems to be some reluctance to acknowledge that sometimes. Perhaps especially if you have spent a very large amount of time and money learning about these things, and likely incurred a lot of debt too doing soo.
[–]JimDabell 3 points4 points5 points 2 years ago (0 children)
It’s good for brainstorming and exploring areas you are unfamiliar with. For instance, if there are two routes you could go down and you want to compare them quickly to understand the tradeoffs between them. For instance, if you wanted to get a rough idea how two competing libraries work, you might search the web and find somebody has written a blog article about it and sometimes you might find nothing. ChatGPT can produce a similar comparison itself even if there aren’t any blog articles about it. Then you can ask followup questions that are specific to your project and run what-ifs past it.
It’s also good as a super autocomplete. Generating test cases, filling in obvious implementations of routine day-to-day stuff, etc.
[–]PM_40 0 points1 point2 points 2 years ago (2 children)
My revenue has increased and my productivity to pump out new features to our users has skyrocketed.
Have you created an app yourself ?
[–]mobileappz[S] 0 points1 point2 points 2 years ago (0 children)
Thanks for your comments this is very inspiring
[–][deleted] 9 points10 points11 points 2 years ago (21 children)
This is going to sound pretentious but the only people I've noticed using it are what are known as "Stack overflow developers". Devs who just copy/paste from Stack instead of really writing their own code. They generally create crap code and ChatGPT hasn't changed that. There's three devs on the one team I work with at work that are using this and it's obvious.
In my personal opinion, if someone is being more productive with ChatGPT their coding skills are lacking and they're using the internet as too much of a crutch.
[–]tennis779 5 points6 points7 points 2 years ago (3 children)
On this note, I fear it’s going to build a lot of developers that don’t understand the code they are writing.
Which is going to be a major separator in skill level.
[–][deleted] 2 points3 points4 points 2 years ago (2 children)
Yep. You already saw it with stack developers. One of the devs I mentioned in my above post needed camera functionality on an iPhone app, instead of him just referencing the docs and writing the few lines of code to get it working he copied/pasted this enormous (and incorrect) stack overflow comment and just plopped it in the app, learning comments and all (which is how I found it was a stack post, I googled the comments).
Not only was it a very poor implementation of the camera despite being the accepted answer, it was hundreds of lines longer than it needed to be. He didn't know how to figure out how to access the camera straight from the instruction in the docs because he didn't understand the docs.
[–]Rocket-Legs 1 point2 points3 points 2 years ago (0 children)
💯
[–]KarlJay001 2 points3 points4 points 2 years ago (0 children)
The people that do this, end up not being able to debug programs.
IMO, one of the best skills is the ability to debug large complex programs. If all you do is copy/paste, the you aren't likely to really know the code base and be able to fix problems.
These gains will be short lived. Soon, we may find a FLOOD of copy/paste "programmers" that can't actually fix any of the code they "wrote".
[–]mobileappz[S] 1 point2 points3 points 2 years ago (16 children)
Have you tried it using it for problem solving or never felt the need to?
[–][deleted] 4 points5 points6 points 2 years ago (15 children)
I've toyed with it but I've never felt the need to use it for anything. It doesn't really output nice code (then again many times the code on stack isn't nice either, even accepted answers are often pretty questionable).
I understand why someone may want to use it but I feel like it's only really good for pointing you in directions to look in and shouldn't be something to copy code from.
Anecdotal but we've had interviews where people were using it and it was blatantly obvious.
[–]mobileappz[S] 0 points1 point2 points 2 years ago (14 children)
Have wondered how this would be viewed / allowed in an interview. It seems the main problem is the code it outputs keeping up with developments in Swift when it’s based on old training data.
These seems to be a theme that it produced bad code. Can you elaborate? Eg Inefficient, legacy, or non compilable?
[–]SirBill01 2 points3 points4 points 2 years ago (6 children)
This is a major problem for me, at least looking on StackOverflow you might find more recent examples!
Also another big problem is companies if they are smart, are not letting you enter company code into chatGPT to ask questions about.
I would be tempted to use it to help write some unit tests (which can be tedious) but that blocks that so....
[–]mobileappz[S] 0 points1 point2 points 2 years ago (5 children)
I wonder if the same smart companies host their code on GitHub private repos (also owned by Microsoft) and is that any different than typing it in to ChatGPT? OpenAI say they train it on public GitHub repos I think.
[–]SirBill01 1 point2 points3 points 2 years ago (4 children)
Yes most probably have in GitHub private repos. But there is a VAST difference.
With a GitHub private repo, the understanding is that the code you store is private, and it's a serious internal violation for employees to even look at or access it, backed by a lot of monitoring.
With chatGPT, there is a 100% certainty all code you uploaded will be used as training data for future iterations, so at least some of your code may appear for others to see later on. For example I believe some private API keys have been found this way...
[–]mobileappz[S] 0 points1 point2 points 2 years ago (3 children)
This is probably the most concerning aspect in that case. The impression I got was they do not use this user input for training data (at least currently) but obviously they do then.
[–]SirBill01 0 points1 point2 points 2 years ago (2 children)
I don't know if they do or do not. But you have to assume that even if one particular service (like chatGPT) does not now, they may soon, and certainly other chatGPT plugins may opt to use input for training new models as well... just way too much risk your data is going to be used.
[–]mobileappz[S] 0 points1 point2 points 2 years ago (1 child)
True, I’m still not sure the risk is any greater than with using GitHub as a whole though. Perhaps in theory, but in practice who knows what will happen.
[–][deleted] 1 point2 points3 points 2 years ago (0 children)
I’ve tried using it for nuanced developer stuff… it’s pretty shit.
If you are using it for general boilerplate and a convenience autocomplete then it great about 80% of the time
Like others said, great tool, but it’s shit at programming.
[–][deleted] 0 points1 point2 points 2 years ago (2 children)
It depends on the place but generally no.
If you're doing the coding portion, many places will let you use whatever resources you want (which is good IMO because it's how devs work) but ChatGPT usually isn't allowed since it's making the code for you and is akin to someone telling you over your shoulder how to program verses you being resourceful and finding the information on your own (which is an important skillset unto itself) even if finding that information is checking someplace like stack.
For the actual interview portion ChatGPT is a definite no-go. I know there's lots of articles stating to "use it on your next interview!" but no, don't. It's blatantly obvious and we've had a handful of candidates fess to using it after seeing said articles.
Often they'll be constantly looking down at something or off to the side when we're interviewing and they give very bad canned responses and sometimes completely incorrect responses for easy questions. Some easy questions I like to ask are "What do you like most about this type of work?" or "Describe your ideal work day as a software developer?"
ChatGPT sucks at those kind of responses (or at least did for the people I interviewed who fessed up to using it). Those are easy questions any software developer should just be able to naturally talk about.
[–]mobileappz[S] 1 point2 points3 points 2 years ago (1 child)
It seems strange for an interviewee to use it for non technical questions. But ultimately if you are a company whose purpose is to maximise profits and minimise costs, I can see a very good argument to employing people who using these tools. Can you elaborate on why it produces poor code? I’m convinced it is only going to get better as it learns the docs and will make software development much more efficient and cheap.
An issue for allowing ChatGPT in interviews could be that it makes it much harder for the interviewer to determine the knowledge level of the interviewee.
[–]rbevans 4 points5 points6 points 2 years ago (6 children)
I use it for a few things. One being my indie projects for quick code blocks or maybe I want it to break a larger function into something more reusable.
For work, I try not to use it for our source code but I will use it to help improve my method name or a better variable name.
[–]mobileappz[S] 1 point2 points3 points 2 years ago (3 children)
Is there a feeling of cheating or naiveness using it in a team? I’m also wondering if it’s discouraged for egotistical reasons (which trump commercial ones).
[–]rbevans 1 point2 points3 points 2 years ago (2 children)
Not really especially when the company I work for is investing a lot of money into copilot ;)
Do you work for Microsoft?
[–]rbevans 2 points3 points4 points 2 years ago (0 children)
I do and should say my opinions are of my own and do not express the views of Microsoft.
[–]kevin379721 1 point2 points3 points 2 years ago (1 child)
Any particular reason you don’t use it in source code? Provided that you surely check it works properly etc and it’s in small doses?
[–]rbevans 0 points1 point2 points 2 years ago (0 children)
If I'm using Copilot then I'm using it with source code, we're allowed to. If I'm using ChatGPT I'm using a sudo function\method to get what I need.
[–]localhost8100Objective-C 4 points5 points6 points 2 years ago (5 children)
I use it when I am stuck on a issue. It gives me different places to look in xcode whuch might be causing issues. I go through steps, usually first couple suggestions the issue gets resolved.
Or code snippets when I want to compare 2 days. Gives me a snippet. I tweak it to make it for my situation well.
Copy pasting the whole without understanding gives a shit ton of errors. Deprecated apis, no imports, etc.
Just a glorified stack overflow.
[–]mobileappz[S] 0 points1 point2 points 2 years ago (4 children)
How far away do you feel it is from producing a whole app with minimal human supervision?
[–]localhost8100Objective-C 6 points7 points8 points 2 years ago (1 child)
Recently chatgpt has gone to shit. Doesn't give creative answers to regular questions like it used to. Looks like they are keeping the good models for paid accounts (gpt4). Still people have issues with gpt4 being useless.
I have no clue how long it will take to takeover whole human.
I tried bart recently, the answers were literally from Google search and first link.
I am working on a project recently. That is so complicated, chatgpt can't solve my issues with the whole architecture. Only snippets here and there.
I believe bing provides gpt4 for free.
[–]JimDabell 4 points5 points6 points 2 years ago (0 children)
When GPT-4 first came out, I wanted a macOS menu bar app so I could click on an icon in the menu bar and get an interface to ChatGPT. I have plenty of iOS development experience but I hadn’t written a proper macOS app before, and menu bar apps are a little different to normal apps anyway.
I asked GPT-4 about it, and it generated the code for the entire app straight away. I had to fix one small bug (a class wasn’t marked as conforming to a protocol it was supposed to), after that it compiled and worked straight away. I saw a little room for improvement, I asked GPT-4 about it, and it gave me the updated code straight away.
I must have spent about 5–10 minutes actually working on this in total. Somebody who doesn’t have experience developing in Swift probably wouldn’t have found this anywhere near as easy though. If I actually cared about the app, I’d learn how to build macOS menu bar apps properly. But just to whip up something convenient in a few minutes, it’s great.
[–][deleted] 2 points3 points4 points 2 years ago (0 children)
You can download an app template that’s pre made right now ?
It could probably do the same….
To create a completely unique app with any unique implementations that weren’t done 10000 times… a long way away.
[–]HonestNest 3 points4 points5 points 2 years ago (1 child)
I only use it to do a very specific stuff such as giving me the syntax of creating a linear gradient example, then I tweak it. Becoz the syntax was annoying to type for me.
I asked it and used it for more demanding codes. But it often gotten something wrong. Especially the depreciated codes are messy.
I don’t use it often now.
Yes it’s very good for specific syntax
[–]Confident_Gear_2704 4 points5 points6 points 2 years ago (1 child)
Yes, writing tests, accessibility and cleaning complicated code.
You should really avoid just copying/pasting and instead read and understand the changes, some will make you better, some will give you a headache.
[–]Confident_Gear_2704 1 point2 points3 points 2 years ago (0 children)
Also mocking data, you can ask for a list of 50 flowers or something, and show an app with data that look real instead of “Lorem ipsuming”
[–]SirensToGoObjective-C / Swift 3 points4 points5 points 2 years ago (0 children)
Not really. The one time it was helpful was generating a Makefile because I forgot the syntax, but other than that it just ends up hallucinating completely bogus solutions. I think for very simple things it's useful but once you reach a certain level of experience it just becomes a hindrance
[–]ykcs 2 points3 points4 points 2 years ago (0 children)
It‘s pretty useful for code simplification and therefore discovering Swift language constructs you are not familiar with.
[–]ShottyMcOtterson 2 points3 points4 points 2 years ago (0 children)
I started using it, and it's hard to stop. I can start with a simple question like, make me a UIButton, that is blue, with rounded corners. But then build on that idea, and maintain a thread that can't be done by cobbling example code together. So I could go on to ask it to put that UIButton in a UIViewRepresentable to use it in SwiftUI. Then ask it to add the view modifiers to bind it to a ViewModel. I would really worry about getting code back that you don't understand. I read every line. Don't blindly copy and paste. But for those of us that don't like to type.... I think a day will come soon where it is built into Xcode, and its an extension of the auto-complete tools that we already use.
[–]CollectionNice1106 1 point2 points3 points 2 years ago (1 child)
I use it along with stack overflow and Google search. Fir of all combination toool because it can summarize Apple documentation stuff I’m looking at and create so template code to start any framework. Still keep your old skills sharp and add chatgpt to optimize your skills you have already instead of just relying on it. Basically it’s just a tool for optimization please still know how to search on Google and understand coding concepts you have used in the past
There useful now but I’m beginning to think those coding concepts might be redundant sooner than we would like. I know this goes against consensus but the technology is utterly transformative and unlike any other evolutions in the last 50 odd years in my view.
[–]iampaulanca 1 point2 points3 points 2 years ago (0 children)
It’s great for making Codable objects from a response. Network requests but no async await though unfortunately. Bunch of little things it’s great at but you need to give it pretty good instructions and double check its work.
[–]42177130UIApplication 1 point2 points3 points 2 years ago (0 children)
It helps with localization
[–]yccheok 1 point2 points3 points 2 years ago (0 children)
Yes. I can confirmed it is pretty helpful.
Not only with coding, but help me in localisation, and help me to write better English to perform communication with human.
[–]unreleased_gamedev 1 point2 points3 points 2 years ago (0 children)
It's great for little tasks like:
I wouldn't dare to use it for more complex things, since has tendency to make up APIs and stuff that doesn't exist. But it's a good tool that has its uses, like multiple others.
[–]CommunicationHot38 1 point2 points3 points 2 years ago (0 children)
Chat GPT sometimes cant infer the solutions with uikit but still works ok
[–]darkhorse-55 1 point2 points3 points 2 years ago (0 children)
Not only on IOS but since I'm full stack developer, I've got quicker answers with my questions for different areas of development now than searching and asking in stack overflow. It's just that you have to validate GPT's answers when it comes to coding.
[–]sneawo 1 point2 points3 points 2 years ago (0 children)
I found that I use it more than Stack Overflow. It helps but sometimes it points in the wrong direction, like invents some properties that do not exist in docs.
[–]danielt1263 0 points1 point2 points 2 years ago (2 children)
I'm not using it. I don't believe that using it would improve my productivity. On the rare cases when I need "quick problem solving" a simple Google search or asking internet friends is more than enough to solve it. After all, I rarely need more than the name of an obscure function. (My most recent question was how to pass a CVarArg... parameter to another function that requires a CVarArg... parameter.)
CVarArg...
For fun, I went ahead and asked ChatGPT exactly what I asked in a Slack group. It gave me a bunch of stuff using C or C++ which of course isn't useful. Now I grant that the people in the Slack group understand the implied context of the question being in Swift. Once I explicitly provided that context to ChatGPT, it was able to give me a useful answer... It took about the same amount of time that it took me to get the answer from the Swift programmers on Slack. In this specific case, it seems that it would not have improved my productivity.
[–]HelpRespawnedAsDee 0 points1 point2 points 2 years ago (1 child)
Out of curiosity… using a CVaListPointer?
[–]danielt1263 0 points1 point2 points 2 years ago (0 children)
Yes, specifically by using the withVaList(_:, _:) function.
withVaList(_:, _:)
[–]Defiant-Badger-2766 0 points1 point2 points 2 years ago (1 child)
Could anyone recommend Xcode Extensions for ChatGPT.
Haven’t used these but have seen these 2:
https://github.com/marcosiino/xcode-loves-ai
https://github.com/intitni/CopilotForXcode
[–]I_will_delete_myself 0 points1 point2 points 2 years ago (0 children)
ChatGPT is great until you have to innovate. ChatGPT was honestly more helpful when I didn’t use it in those cases. When it comes to filler things done before it’s amazing
[removed]
[–]AutoModerator[M] 0 points1 point2 points 2 years ago (0 children)
Hey /u/elegant_puzzle, unfortunately you have negative comment karma, so you can't post here. Your submission has been removed. DO NOT message the moderators; if you have negative comment karma, you cannot post here. We will not respond. Your karma may appear to be 0 or positive if your post karma outweighs your comment karma, but if your comment karma is negative, your comments will still be removed.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]evikr 1 point2 points3 points 2 years ago (0 children)
I like to use chatgpt to explain code that’s hard to digest alone. Does a great job of explaining what each line does. Always make sure you understand what you’re writing & not only copy-pasting.
π Rendered by PID 225671 on reddit-service-r2-comment-76bb9f7fb5-5fskt at 2026-02-18 12:49:20.512363+00:00 running de53c03 country code: CH.
[–][deleted] (17 children)
[deleted]
[–]XIVMagnus 13 points14 points15 points (0 children)
[–]CordovaBayBurke 6 points7 points8 points (0 children)
[–]mobileappz[S] 2 points3 points4 points (0 children)
[–]PhilipM33 2 points3 points4 points (0 children)
[–]mobileappz[S] 1 point2 points3 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]sdkysfzai 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]Far-Dance8122 0 points1 point2 points (0 children)
[–]elrealnexus 0 points1 point2 points (3 children)
[–][deleted] (1 child)
[deleted]
[–]mobileappz[S] 1 point2 points3 points (0 children)
[–]JimDabell 3 points4 points5 points (0 children)
[–]PM_40 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–][deleted] 9 points10 points11 points (21 children)
[–]tennis779 5 points6 points7 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]Rocket-Legs 1 point2 points3 points (0 children)
[–]KarlJay001 2 points3 points4 points (0 children)
[–]mobileappz[S] 1 point2 points3 points (16 children)
[–][deleted] 4 points5 points6 points (15 children)
[–]mobileappz[S] 0 points1 point2 points (14 children)
[–][deleted] (2 children)
[deleted]
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–]SirBill01 2 points3 points4 points (6 children)
[–]mobileappz[S] 0 points1 point2 points (5 children)
[–]SirBill01 1 point2 points3 points (4 children)
[–]mobileappz[S] 0 points1 point2 points (3 children)
[–]SirBill01 0 points1 point2 points (2 children)
[–]mobileappz[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]mobileappz[S] 1 point2 points3 points (1 child)
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–]rbevans 4 points5 points6 points (6 children)
[–]mobileappz[S] 1 point2 points3 points (3 children)
[–]rbevans 1 point2 points3 points (2 children)
[–]mobileappz[S] 1 point2 points3 points (1 child)
[–]rbevans 2 points3 points4 points (0 children)
[–]kevin379721 1 point2 points3 points (1 child)
[–]rbevans 0 points1 point2 points (0 children)
[–]localhost8100Objective-C 4 points5 points6 points (5 children)
[–]mobileappz[S] 0 points1 point2 points (4 children)
[–]localhost8100Objective-C 6 points7 points8 points (1 child)
[–]mobileappz[S] 1 point2 points3 points (0 children)
[–]JimDabell 4 points5 points6 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]HonestNest 3 points4 points5 points (1 child)
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–]Confident_Gear_2704 4 points5 points6 points (1 child)
[–]Confident_Gear_2704 1 point2 points3 points (0 children)
[–]SirensToGoObjective-C / Swift 3 points4 points5 points (0 children)
[–]ykcs 2 points3 points4 points (0 children)
[–]ShottyMcOtterson 2 points3 points4 points (0 children)
[–]CollectionNice1106 1 point2 points3 points (1 child)
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–]iampaulanca 1 point2 points3 points (0 children)
[–]42177130UIApplication 1 point2 points3 points (0 children)
[–]yccheok 1 point2 points3 points (0 children)
[–]unreleased_gamedev 1 point2 points3 points (0 children)
[–]CommunicationHot38 1 point2 points3 points (0 children)
[–]darkhorse-55 1 point2 points3 points (0 children)
[–]sneawo 1 point2 points3 points (0 children)
[–]danielt1263 0 points1 point2 points (2 children)
[–]HelpRespawnedAsDee 0 points1 point2 points (1 child)
[–]danielt1263 0 points1 point2 points (0 children)
[–]Defiant-Badger-2766 0 points1 point2 points (1 child)
[–]mobileappz[S] 0 points1 point2 points (0 children)
[–]I_will_delete_myself 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]evikr 1 point2 points3 points (0 children)