Skip to content

Commit 791711a

Browse files
committed
DataProvider added
1 parent 160854c commit 791711a

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// File.swift
3+
//
4+
//
5+
// Created by Maxim on 2020. 10. 12..
6+
//
7+
8+
import Foundation
9+
10+
final class DataProvider {
11+
12+
func fetchPersonData(student: String) -> String {
13+
"Здравствуйте, \(student)! Вот ваш бутерброд!"
14+
}
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
struct iOSIntPackage {
22
var text = "Hello, World!"
3+
var provider = DataProvider()
34
}

0 commit comments

Comments
 (0)