Merhaba arkadaşlar bu yazımda ios ile ilk programımızı yapacağız Kodlar ekte vardır iyi çalışmalar dilerim

//
//  ViewController.swift
//  merhaba
//
//  Created by Ramazan Cesur on 13/06/2015.
//  Copyright (c) 2015 Ramazan Cesur. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
    @IBOutlet weak var ramazan: UITextField!
    @IBOutlet weak var lbl_yazi: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }
    @IBOutlet var txt_adi: UIView!
    @IBOutlet var txt: [UITextField]!
    @IBAction func btn_tikla(sender: AnyObject) {
    var ram=deneme(deger: “ramazan”)
        lbl_yazi.text=ram.topla()
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}
func sayHello(personName: String) -> String {
    let greeting = “Hello, “ + personName + “!”
    return greeting

}
//
//  ramazan.swift
//  merhaba
//
//  Created by Ramazan Cesur on 13/06/2015.
//  Copyright (c) 2015 Ramazan Cesur. All rights reserved.
//
import Foundation
class deneme{
    let deger:String
    init(deger:String){
        self.deger=deger;
    }
   public func topla() ->String{
        return “ramazan”
    }
}
Ramazan CESUR