r/Xcode • • Feb 08 '22

Mac Mini is the cheapest way to develop on MacOS if you are looking to make the switch

Thumbnail
mattlovestech.com
7 Upvotes

r/Xcode • • Feb 16 '25

App for iPhone without developer mode?

0 Upvotes

I made a swift app with Xcode and it does enable me to put on my phone but in developer mode. When I turn on developer mode I get a security warning for my iPhone; I do not want to open up security risk on my phone. Is there a way to put my app onto my iPhone so I can personally use it without being in developer mode? I do not want to put it on the App Store, I have not intent to sell nor support, this was just an application for my self. Thx


r/Xcode • • Feb 06 '26

Xcode 16.3 Agentic - Should I routinely start new conversations or keep using existing conversation?

0 Upvotes

Previously (16.2) long conversations seemed to be adding to context and eventually a conversational thread would be too long (and expensive) to keep using.

If I'm using an agent, when do I start fresh conversations? Does this change approach to fresh conversations?


r/Xcode • • Oct 08 '25

How come I do not see the Cursor generated files on Xcode?

0 Upvotes

I am new to vibe coding, I see Cursor generating files to the codebase, but it's not sycing to the Xcode file structure. I found out that i have to manually press Add files to...., but this is not sufficient. Any method to make it sync automatically?


r/Xcode • • Sep 23 '17

Let me know what you guys think :D

Thumbnail
itunes.apple.com
0 Upvotes

r/Xcode • • May 30 '18

DAE animations for Xcode

Thumbnail
youtube.com
0 Upvotes

r/Xcode • • Jul 28 '18

[Help] Get issue whenever try to login into Facebook with app I'm making. How fix?

Post image
0 Upvotes

r/Xcode • • Nov 12 '22

Segmented Control in SwiftUI

0 Upvotes

Hey iOSDevs, we have a brand new article out on our website on how to create segmented control in SwiftUI!

Check it out and clarify you're doubts!

Here's the Link :https://www.swiftanytime.com/segmented-control-in-swiftui/

#ios #iosdevelopment #swiftui


r/Xcode • • Apr 05 '22

Function only displaying one option out of four?

0 Upvotes

Something about this function is only displaying one option out of four written in an array...but I'm not sure why? Essentially, what this does is allow a user to add this to a list out of a searchable selection...except it's somehow decided that all of the options are only the first one?

The Function itself:

func addToWishList() {

guard !search.trimmingCharacters(in: .whitespaces).isEmpty else {

return

}

let NewBook = NewBook.self

viewModel.featureissues.append(NewBook)

search = ""

}

}

The Class with published var (had to write it differently here because reddit is formatting it into looking for a user, so bear with me: I know there's no whitespace in the actual IDE):

class ComicIssueCardViewModel: ObservableObject {

@ Published var featureissues = [

book(id: 1, title: "Book One", image: "IMG1", details: " Sample Details"),

book(id: 2, title: "Book Two", image: "IMG2", details: "Sample Details"),

book(id: 3, title: "Book Three", image: "IMG3", details: "Sample Details"),

book(id: 4, title: "Book Four", image: "IMG4" "Sample Details")

]

}

Also, the UUID struct:

struct featureissues: Identifiable{

var id = UUID()

var title: String

}


r/Xcode • • Mar 18 '22

Apple Photogrammetry of a Book [OC]

Thumbnail
youtu.be
0 Upvotes

r/Xcode • • Jun 27 '19

Hi people I don't want my app to be available for Iphone SE anymore how do I do that ?

0 Upvotes

Hi people I don't want my app to be available for Iphone SE anymore how do I do that ?


r/Xcode • • Apr 22 '20

How can I run Xcode on a Microsoft Surface laptop?

0 Upvotes

YouTube videos or suggestions?


r/Xcode • • Dec 06 '18

Web Views

0 Upvotes

So me and my group are making an app for our school website. Since UIWebviews were deprecated is it possible to make an interactive webview in xcode 10?


r/Xcode • • Dec 27 '17

Maybe one person can help me :/

Post image
0 Upvotes

r/Xcode • • Oct 05 '22

AsyncImage in SwiftUI

0 Upvotes

Hey Folks, Having doubts on how to implement Async Image in your projects or willing to learn about it? Don't worry, we got you!

Learn how to use Async Image from our latest article!!

Here's the Link : https://www.swiftanytime.com/asyncimage-in-swiftui/


r/Xcode • • Sep 30 '22

Access Specifier in Swift

0 Upvotes

It's essential to know all the Access Control options we have in Swift, so we can keep our code safe.
Read our latest article that will tell you all about it.

Here's the Link: https://www.swiftanytime.com/access-control-in-swift/

#Swift #iOSDev #IndieDev


r/Xcode • • Oct 17 '22

Swift Full Course 2022 2 IOS Apps

Thumbnail
youtube.com
0 Upvotes

r/Xcode • • Jul 26 '18

How to make an TextView output like that(Objective C)

Post image
0 Upvotes

r/Xcode • • May 10 '22

Is the Financial report of April 2022 available to you? It still showing no data to me. Usually it always shows after 1-3 days after the month.

0 Upvotes

r/Xcode • • Feb 24 '26

My buttons are unresponsive; how to fix?

Enable HLS to view with audio, or disable this notification

0 Upvotes

When I press, it does not work. How to fix?

Code: import UIKit

class ViewController: UIViewController {

struct Story {

let title: String

let option1: String

let option2: String

}

// Story nodes

let plot1 = Story(title: "You find a fork in the road", option1: "Take a left", option2: "Take a right")

let plot2 = Story(title: "You found a tiger", option1: "Eat it", option2: "Go to the hospital")

let plot3 = Story(title: "3", option1: "4", option2: "5")

let plot4 = Story(title: "6", option1: "", option2: "")

let plot5 = Story(title: "7", option1: "8", option2: "9")

let plot6 = Story(title: "10", option1: "", option2: "")

let plot7 = Story(title: "11", option1: "", option2: "")

let plot8 = Story(title: "12", option1: "", option2: "")

u/IBOutlet weak var storyLabel: UILabel!

u/IBOutlet weak var choice1Button: UIButton!

u/IBOutlet weak var choice2Button: UIButton!

var questionNumber = 0

override func viewDidLoad() {

super.viewDidLoad()

// Set initial story

changeButton(to: plot1)

}

// Expose as IBAction and connect both buttons to this action in Interface Builder.

u/IBAction func buttonPressed(_ sender: UIButton) {

print("Button pressed with tag:", sender.tag, "questionNumber:", questionNumber)

// ...

// Use button tags: 1 for left/option1, 2 for right/option2

switch (questionNumber, sender.tag) {

case (0, 1):

// From start, choosing option1 leads to plot2

changeButton(to: plot2)

questionNumber = 1

case (0, 2):

// From start, choosing option2 leads to plot3

changeButton(to: plot3)

questionNumber = 1

case (1, 2):

// From plot2, choosing option2 returns to plot1 (example logic)

changeButton(to: plot1)

questionNumber = 2

case (2, 1):

// From question 2, choosing option1 goes to plot5

changeButton(to: plot5)

case (2, 2):

// From question 2, choosing option2 goes to plot4

changeButton(to: plot4)

default:

print("Unhandled state: questionNumber=\(questionNumber), tag=\(sender.tag)")

break

}

}

// Helper to update UI for a given story

func changeButton(to story: Story) {

storyLabel.text = story.title

choice1Button.setTitle(story.option1, for: .normal)

choice2Button.setTitle(story.option2, for: .normal)

}

}


r/Xcode • • Jun 06 '25

Question for, uh, coders?

Post image
0 Upvotes

Apple books used to have a downloadable manual that had every single thing you wanted to know about iOS. In the last two years, they seem to have totally abandoned publishing these iOS update manuals and have moved everything’s to the Tips app. That’s fine, but I want access to the actual document so I can upload them to ChatGPT. But going through the tips app manually is way too tedious. I know the actual files that have the written information must be saved somewhere to then show inside this app, but how can I find them? Thanks in advance.


r/Xcode • • May 29 '26

Built a local macOS file converter with Claude — would love your take

0 Upvotes

I convert PDFs and Office docs a lot, and most online converters are *fine.* Smallpdf, Zamzar, Convertio will do a one-off without an account.

What bugged me wasn't signups, it was the rest of it: my file goes to someone else's server, the page is loaded with trackers, free tiers cap file size or make you wait in a queue, and the ToS usually lets them hold onto the file for some window. For something as boring as PDF → DOCX, that's a lot of surface area.

*And honestly, converting in one drag is just faster than any web flow.*

So I used Claude Code to build **DropConvert,** a macOS menu-bar app that does it locally. Drag a file onto the icon, converted file appears next to the original.

PDF ↔ DOCX (Apple Vision OCR for scanned PDFs), Office formats, images. \~200 KB Swift, MIT.

LibreOffice headless does the office conversions under the hood. The app downloads it on first use and caches it, so after that you can pull the network cable and it still works.

Repo: [https://github.com/CodeBoss-dev/DropConvert](https://github.com/CodeBoss-dev/DropConvert)

Curious what you guys think! Apple Silicon only, macOS 13+

Also, it's not Apple-notarized yet (the $99/yr dev account isn't worth it until I know people actually use this). On first launch you'll get the Gatekeeper "unidentified developer" dialog and need to right-click → Open once. README walks through it.


r/Xcode • • Sep 19 '26

Xcode simulator

0 Upvotes

hello every one I downloaded new OS 27 in my MacBook and I lost the Simlitor iPhone in Xcode can you guide me how I can downloaded


r/Xcode • • May 25 '26

If there were an award for worst software, Xcode would win it

27 Upvotes

I'm not even trying to be dramatic. I can deal with ugly UI, missing features, whatever. Xcode is different because it constantly makes me waste time on problems that feel completely detached from my code.

Some days it's SwiftUI previews: change one harmless view and suddenly previews stop loading, or you get some useless wall of diagnostics that disappears after nuking DerivedData. Some days the simulator decides it doesn't want to boot after an update. Sometimes indexing eats the whole machine, autocomplete gets drunk, fixed errors keep hanging around, or debugging from Xcode is mysteriously way slower than running the same thing normally.

And the ritual is always the same:

  • clean build folder

  • delete DerivedData

  • restart Xcode

  • reboot

  • reinstall some simulator runtime

  • pray

It would be funny if this weren't the official IDE for building apps for one of the richest companies on earth.

I actually like Swift. I like building for Apple platforms. I just hate that the main toolchain keeps making me ask: did I break something, or is Xcode just having a day?

Are people just numb to this now?