Skip to content

iOS Dev blog

about creating mobile applications but also a bit about my interests

  • Home
  • About me

Tag: guard

swift tips

Can encoding a String to Data with utf8 fail?

January 14, 2021January 14, 2021 TomekLeave a Comment on Can encoding a String to Data with utf8 fail?

Surely none of us programming in Swift likes force-unwrapping optional values too much (we prefer a ‘guard’ – although excessive use is also not quite the right approach). Quick reminder for beginners: optionals represent data that may or may not…

Read More→

Recent Posts

  • Parentify: Your parenting companion
  • Polyglotter: Your Personal Language Learning Assistant
  • SwiftUI: Is It Time? 
  • private(set) modifier
  • How to generate secure random data?

Recent Comments

    Archives

    • January 2025
    • October 2023
    • April 2021
    • January 2021

    Categories

    • ios app security
    • swift tips
    • SwiftUI

    Author

    Tomek

    Tomek

    passions: IT world of course, app development, football, gym, street workout, tourism

    Copyright © 2021 TomekI. All rights reserved.
    Artblog by iThemer
    Go to top