Native way to create sever and client comm using SwiftUI
MessageClientSever
-
Architecture MVVM – SwiftUI Basic Sever Client comm using Native Network framework. Where TCPSever & TCPClient both class used for connection
-
Applied SOILD priciple: ex: Dependency inversion (DIP) used in MessageSever & MessageClient.
-
Unit test for Sever connection.
-
Step to Run
- Use Xcode 14.2, run
- Tap on Connect button , (It will run Sever & connect client)
- Type text (type here..) & press send button
- There is 2 List view , able to see Client & Sever messages.