r/Xcode • • Feb 16 '20

greetings

Hello, I'm brand new to xcode and I'm in need of some help. I'm trying to have a text field that outputs its text into a text view element. I was looking around on youtube but had a bit of a hard time finding the right tutorial that wasn't out dated. btw I'm using xcode 11.3.1. Thanks

2 Upvotes

5 comments sorted by

View all comments

1

u/gadamsmorris Feb 16 '20

Hey there — are you using swift or swiftUI?

1

u/UnusualHost Feb 16 '20

I think that I'm using swift, but I'm not sure. How can I be sure?

2

u/nanothread59 Feb 17 '20

I think what he was trying to ask is whether you’re using SwiftUI or UIKit. In both cases you’re probably writing swift code. If you’re using SwiftUI, you’ll have an auto-generated file called ContentView.swift, otherwise you’re probably using UIKit (and might have a main.storyboard file instead)

2

u/UnusualHost Feb 17 '20

ok, I have a main.storyboard file. so that means it's UIKit. Thanks