Skip to content
View EugeneBychkailoIos's full-sized avatar

Block or report EugeneBychkailoIos

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
EugeneBychkailoIos/README.md

Hi, I'm Eugene 👋

  • about 3 year of experience in iOS Application development of commercial projects.
  • passionate about new technologies
  • like to study foreign languages
  • live in Ukraine
func calcAge(birthday: String) -> Int {
   let dateFormater = DateFormatter()
   dateFormater.dateFormat = "MM/dd/yyyy"
   let birthdayDate = dateFormater.date(from: birthday)
   let calendar: NSCalendar = NSCalendar(calendarIdentifier: .gregorian)
   let now = Date()
   let calcAge = calendar.components(.year, from: birthdayDate, to: now, options: [])
   guard let age = calcAge.year else { return }
   return age
  }
calcAge(05/01/1997)

👔 linkedin

Popular repositories Loading

  1. MVVM-COMBINE- MVVM-COMBINE- Public

    example of architecture (mvvm + combine)

    Swift

  2. MVVM-RX MVVM-RX Public

    example of architecture ( mvvm + rx )

    Swift

  3. Button-Example Button-Example Public

    example of custom button

    Swift

  4. Validation-example- Validation-example- Public

    example of validation

    Swift

  5. Design-styles-example Design-styles-example Public

    example of design styles

    Swift

  6. Player-example Player-example Public

    example of player

    Swift