• How to Implement Tinder Swipe Cards in SwiftUI

    In June, we heard about SwiftUI for the first time — a totally new way of creating and working with UI elements in iOS and macOS (also iPadOS) apps. It felt like Christmas in the summer. It's new, it's declarative, it's sexy! And now, just a few weeks after iOS 13 has been released, we can start to use SwiftUI in all our projects. Let's learn how to use this amazing tool that Apple gave us, to create the classic Tinder-esque Swipe Cards.

    In this article, I would like to show you how to achieve a Tinder-like card view and behavior (swipe to action), with just a few lines of code.

    To achieve this, we need to do the following things, in order:

    • Create UserView
    • Create NavigationView
    • Create BottomBarView
    • Create SwipeView
    • Put all this together inside ContentView

    So let's get started.
    Read more →
  • PHP Microservice Framework: Swoft v2.0.7 Release on schedule


      What is Swoft?


      Swoft is a PHP high performance microservice coroutine framework. It has been published for many years and has become the best choice for php. It can be like Go, built-in coroutine web server and common coroutine client and is resident in memory, independent of traditional PHP-FPM. There are similar Go language operations, similar to the Spring Cloud framework flexible annotations.


      Through three years of accumulation and direction exploration, Swoft has made Swoft the Spring Cloud in the PHP world, which is the best choice for PHP's high-performance framework and microservices management.


      Github


      https://github.com/swoft-cloud/swoft

      Read more →