Vadim Bulavin

@V8tr

 Lead iOS Engineer . 📖 Author of Yet Another Blog . 👨‍💻 I tweet daily on , and .

Ukraine
Vrijeme pridruživanja: veljača 2013.

Tweetovi

Blokirali ste korisnika/cu @V8tr

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @V8tr

  1. Prikvačeni tweet
    prije 24 sata

    📝 New article: Using UIView and UIViewController in 📱 🧑🏻‍💻 Step-by-step integration of activity indictator and font picker in SwiftUI. 📲 Passing data between UIKit and SwiftUI 🔁 Lifecycle of UIViewRepresentable.

    Poništi
  2. prije 15 sati

    I’ve silently added RSS on . Be sure to subscribe not to miss any updates.

    Poništi
  3. proslijedio/la je Tweet
    31. sij

    💡💻📱 Quick Friday tip! Highlight some code in Xcode, hold down Shift then type a quotation mark; or an opening parenthesis; or an opening curly brace; or an opening square bracket. This automatically wraps your highlighted code in the character you typed. 💫

    Prikaži ovu nit
    Poništi
  4. proslijedio/la je Tweet
    31. sij
    Odgovor korisnicima

    I’d add that if nil and empty have different meanings for your case, it’s clearer in intent to create a dedicated enum with clear semantic. Typical example: enum LoadingState<T> { case notLoaded case loaded(T) } var books: LoadingState<[Book]>

    Poništi
  5. 31. sij

    💡 : Avoiding Degenerate Optional Values Avoid designing your code with `Optional` collections and booleans. Otherwise, you will run into a degenerate case, where it is unclear what does "nothing" mean. Is it an empty array or `nil` array; is it `false` or `nil`?

    Poništi
  6. proslijedio/la je Tweet
    29. sij

    SwiftUI is a great framework, but sometimes we need to reuse UIKit views that we had for years in iOS SDK. Fortunately, it is very effortless to do with help of UIViewRepresentable protocol. This week we will learn how to use UIKit views in SwiftUI.

    Poništi
  7. proslijedio/la je Tweet
    28. sij
    Prikaži ovu nit
    Poništi
  8. proslijedio/la je Tweet
    27. sij

    Introducing swift-doc: an (experimental) command-line utility for generating documentation for Swift projects. It's still early on, but I'm really excited about the infrastructure behind it, and how it can be used to develop Swift tooling. 🧵⬇️

    $ swift swift-doc path/to/SwiftProject/Sources \
			--output Documentation
$ tree Documentation
$ Documentation/
├── Home
├── (...)
├── _Footer.md
└── _Sidebar.md
    Prikaži ovu nit
    Poništi
  9. 27. sij

    Am I the only one who finds ForEach a weird name for a container?

    Poništi
  10. 24. sij

    "Software design is about putting things apart is such a way, that they can be put back together" -- 'Design, Composition, and Performance' talk by .

    Poništi
  11. 24. sij

    Just realized that Apple introduced `UIFontPickerViewController` that allows us to pick a system font. The "Font Management and Text Scaling" WWDC session seem to be the only source of documentation .

    Poništi
  12. 24. sij

    A great read by on why SwiftUI defaults shouldn't be so smart . SwiftUI tries to make things easy instead of simple.

    Poništi
  13. proslijedio/la je Tweet
    23. sij

    🚨 I'd like to announce a brand new feature on my site: The Swift Community News is now available in beta, go check now it's hot. ➡️🔥📰

    Prikaži ovu nit
    Poništi
  14. proslijedio/la je Tweet
    23. sij
    Odgovor korisniku/ci

    Interesting use case, ! An alternative to a relatively slow Reflection could be a bitwise comparison. Something like that:

    Poništi
  15. proslijedio/la je Tweet
    22. sij
    Poništi
  16. 22. sij

    💡 : XCTAssertEqual for Non-Equatables Almost every unit test asserts values for equality. If the values conform to Equatable, we use XCTAssertEqual(). Otherwise, we compare field-by-field or changes the production code. DumpEqual() solves this with reflection 👇

    Poništi
  17. 21. sij

    📝 New article: Async Programming with Futures and Promises🧵 💡 What are futures and promises? 🧵 Why futures are the future of Swift async programming? 🛠 How to use futures and promises without 3rd-parties? 🏗 How to migrate from callbacks to futures?

    Poništi
  18. proslijedio/la je Tweet
    18. sij

    I'm working on something, that's almost production ready. What do you think?

    Poništi
  19. proslijedio/la je Tweet
    16. sij

    Did you manage to read Edition #31? Great! 🎉 If not, go take a look! It contains articles from , , , , , , , , , , , & 📚

    Prikaži ovu nit
    Poništi
  20. 16. sij
    Prikaži ovu nit
    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·