This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
} | |
override func didReceiveMemoryWarning() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// APP iOS X --> ardamavi.com | |
// Ders 1 - Örnek 1 <--> Arda Mavi | |
var a = 0 | |
var b = 30 | |
while a < b { | |
++a | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// APP iOS X -> ardamavi.com | |
// Ders 3 - Örnek 1 | |
/* | |
Çoklu Youm Satırı | |
*/ | |
var sayı = 2 | |
let farklısayı = 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ders 4 Örnek 1 | |
// APP iOS X -> ardamavi.com | |
var KullanıcıAdı = "Arda" | |
// "KullanıcıAdı" adlı değişkene "Arda" değerini atıyoruz. | |
print("Hello \(KullanıcıAdı) !") | |
// Konsoldaki çıktısı : Hello Arda ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ders 4 Örnek 2 | |
// APP iOS X -> ardamavi.com | |
let pisayısı = 3.14 | |
// Burada pi sayısını sabit bir değişken olduğu için "let" ile tanımlıyoruz. | |
print("Pi sayısı = \(pisayısı)") | |
// Konsoldaki çıktısı : Pi sayısı = 3.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ders 4 Örnek 3 | |
// APP iOS X -> ardamavi.com | |
var sayı1 = 10 | |
var sayı2 = 2 | |
print(sayı1 + sayı2) | |
// Burada sayı1 değişkeni ile sayı2 değişkenini topluyoruz. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ders 5 Örnek 1 | |
// APP iOS X -> ardamavi.com | |
// Değer atama : | |
var sayı0 = 5 | |
// Sayı0 değişkenine 5 değerini atıyoruz. | |
var sayi1 = 10, sayi2 = 7 | |
// Atamaları ard arda bu şekildede yapabiliyoruz. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// İkilikArda | |
// | |
// Created by Arda Mavi on 31.01.2016. | |
// Copyright © 2016 Arda Mavi. All rights reserved. | |
// | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// By Arda Mavi | |
import java.util.Scanner; | |
public class BitWiseİşlemler { | |
public static void main(String[] args) { | |
// Tanım : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// Hesapla Arda ! | |
// | |
// Created by Arda Mavi on 1.02.2016. | |
// Copyright © 2016 Arda Mavi. All rights reserved. | |
// Bu uygulama Arda Mavi tarafından tasarlanmış ve programlanmıştır. | |
import UIKit |
OlderNewer