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 | |
//String tipinde değer döndüren Draw() fonksiyonuna sahip bir protokol oluşturdum. | |
public protocol Shape { | |
func draw() -> String | |
} | |
//Enumerator tipinde 3 adet geometrik sekil tanımladım | |
enum ShapeType { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding" addBOMForNewFiles="with NO BOM" /> | |
</project> |
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
titleLabel.isAccessibilityElement = true |
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
titleLabel.accessibilityLabel = foo.title |
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
cell.accessibilityTraits = .none | |
cell.accessibilityTraits = .button | |
cell.accessibilityTraits = .link | |
cell.accessibilityTraits = .header | |
cell.accessibilityTraits = .adjustable | |
cell.accessibilityTraits = .allowsDirectInteraction | |
cell.accessibilityTraits = .causesPageTurn | |
cell.accessibilityTraits = .image | |
cell.accessibilityTraits = .keyboardKey | |
cell.accessibilityTraits = .notEnabled |
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
playButton.accessibilityHint = "double_tap_to_pause" | |
loginCell.accessibilityHint = "double_tap_to_log_out" |
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 SwiftUI | |
import ComposableArchitecture | |
import CoreLocation | |
struct LocationPermissionFeature: Reducer { | |
struct State: Equatable { | |
var authorizationStatus: CLAuthorizationStatus = .notDetermined | |
var currentLocation: CLLocation? | |
var showLocationAlert = false | |
var locationAlertTitle = "" |