OK, thank you.
Post
Replies
Boosts
Views
Activity
the code:
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var larghezzaField: UITextField!
@IBOutlet weak var altezzaField: UITextField!
@IBOutlet weak var result: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
@IBAction func TotArea(_ sender: UIButton) {
if let L = Double(larghezzaField.text!) {
if let H = Double(altezzaField.text!) {
result.text = String (L * H)
} else
{result}
}
}
@IBAction func calcPerimetro(_ sender: UIButton) {
}
@IBAction func cancella(_ sender: UIButton) {
}
}
I have change name from calcArea to totArea but i have = error
Help me please… I’m blocked 😭
Is not error…
I resolved. Thank you
does anyone have the solution to solve this problem? I too have the same problem.
I also don't know what to copyright. do i have to do something to get a copyright? or you just need to put your name and surname.
thank you for your availability. by url I mean the one asking apple for privacy and assistance. so i have to create a site? for the privacy speech, do I have to write something important? the app does not request data from those who download and use it. So I have to create a website with this info? what should i indicate for privacy? for the material I downloaded some pngs that I use in the app, it says that it can be used for apps or something else, should I indicate this?