Skip to content

lesson 13,14 complete. Don't working task in position 340, help me pl…#11

Open
klintukhov wants to merge 1 commit intomainfrom
lesson-13---14-Properties
Open

lesson 13,14 complete. Don't working task in position 340, help me pl…#11
klintukhov wants to merge 1 commit intomainfrom
lesson-13---14-Properties

Conversation

@klintukhov
Copy link
Copy Markdown
Owner

…ease to correct this :)


var firstName: String {
didSet {
if firstName != "" {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

firstName.isEmpty или !firstName.isEmpty

}
var lastName: String {
didSet {
if lastName != "" {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и тут


var surname: String {
didSet {
if name != "" {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

везде поправь

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants