Loves finding reasonable solutions.
Failure is an option. If you’re not failing now and then, you’re not being innovative enough or taking enough risks.
This project forked from yagom-academy/ios-stream-chat
Socket 통신을 통해 참여자 간 실시간 채팅기능을 제공하는 앱
ChatRoom
서비스와 ChatRoomViewController
사이에서 View Model 작업을 담당할 타입을 구현합니다.
ChatRoom
서비스와 delegate를 통한 수신 메시지 메모리 저장 및 뷰 반영messages
뷰 모델 변화에 따른 ChatRoomViewController
뷰 반영을 위한 데이터 바인딩String
-> Message
타입 변환 지원 메서드사용자 이름을 입력할 수 있는 로그인 뷰의 기본적인 기능을 구현합니다.
사용자 이름 글자수를 제한하는 기능을 제공합니다.
Stream을 이용하여 소켓 통신을 수행하는 타입을 구현합니다.
StreamDelegate
의 stream(_:handle:)
메서드 구현상황 | 데이터 형식 |
---|---|
채팅 참가 알림 | USR_NAME::{username}::END |
타인의 채팅참가 알림 수신 | {username} has joined |
타인의 채팅 중단 알림 수신 | {username} has left |
메시지 전송 | MSG::{message}::END |
메시지 수신 | {username}::{message} |
채팅방 나가기 | LEAVE::::END |
메시지 입력창에 입력 가능한 글자수를 지정하여 제한합니다. 를
메시지를 확인할 수 있는 기본 뷰를 구현합니다.
개발에 앞서 프로젝트를 설정합니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.