Posts

Post not yet marked as solved
0 Replies
364 Views
Hey,I have a Static Table View Cell which leads to another ViewController (segue).But in the fitting class of the Scene "Table View Controller" I can only insert an Outlet or Outlet Collection.This is a problem because I need some code happens if the Cell is touched. Where I have to implement this?Thank you!
Posted
by garrett35.
Last updated
.
Post marked as solved
2 Replies
2.2k Views
Hey,I have a really annoying problem:I want to have a TableView in a Scene with a nagvigation bar on top. The TableView should have Static Cells.So, I created a TableView Controller Scene but I see no way to implement a NavigationBar. Xcode really does not want me to move it righ there!Anyone an idea what to do?Thank you!
Posted
by garrett35.
Last updated
.
Post marked as solved
4 Replies
1.1k Views
I read about it here but I even don't know what it is?And what's the problem if I use a global variable?Is it a way to save variables withlet defaults = UserDefaults.standard defaults.set("Hello World", forKey: "BeginningText") defaults.synchronize()so that every class can access to it?Can someone please answer this questions?Would be very kind!
Posted
by garrett35.
Last updated
.
Post not yet marked as solved
0 Replies
487 Views
Hey there,I need some variables saved in a file where all classes of a project can access to them.So I would like to save them in the RAM or Cache or whatever. Saving them in a plist in filesystem would not be an option because the variables are only need in current session.At least in a Swift file it does not work.Anyone an (easy!) idea what to do, because I'm a beginner ;-) ?Thank you!
Posted
by garrett35.
Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
Hi,I want an app to inspect "live" (means: constantly) what the user is typing into a text field ("text input").Like a normal "Search-Input" already search for a charackter also if the user haven't klicked on "Go" yet.(But please don't give me Search-Input examples because the input should do something different 😉)Has anyone an idea how to implement this?(It should be an iPad App with Swift 5 and newest Xcode)
Posted
by garrett35.
Last updated
.
Post not yet marked as solved
1 Replies
1.2k Views
Hey there,I have a button which has the normally function from a Start-Button.If the user tab on it he should type in some text in a text field and the application is going to check this text.But the big problem is: As soon as the button is active all TextFields are disabled!I tried to fix this with "Input.isEnabled = true"in the source code of the button but unfortunately it does not change anything.Anyone an idea what to do?Thanks ;-)
Posted
by garrett35.
Last updated
.
Post marked as solved
3 Replies
3.1k Views
Hey there,I want to create a TableView displaying datas the user created in the View before.Just for testing I tried to set Strings manually so that I know the TableView is working correctly.In storyboard I created a TableViewController with a TableView and a Cell. The Cell has the style "Subtitle" and the Indentifer "Cell".The code in the matching class file is the following:override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) // Configure the cell... cell.textLabel?.text = "Test" cell.detailTextLabel?.text = "Test2" return cell }Anyone knows what I did wrong?Best regards
Posted
by garrett35.
Last updated
.