Comments (4)
Decoding Error
failure(Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [],
debugDescription: "The given data was not valid JSON.",
underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840
"No string key for value in object around character 178."
UserInfo={NSDebugDescription=No string key for value in object around character 178.}))))
- 서버가 주는 JSON 데이터가 잘못된 경우가 많다고 한다
- 근데 아무리 mock api 의 데이터를 살펴봐도 잘못된 게 안 보인다 => 내 문제인가.. ㅠㅠ
from baseball.
게임 진행 화면으로 넘겨줘야하는 정보는
struct Info {
let userID: String
let game: Game
}
- delegate 로 넘겨줄 것 같다
- 아마 POST 요청도 이 방식으로 할 듯 싶다
from baseball.
struct Info {
let userID: String
let game: Game
}
이렇게 하면 유저가 어떤 팀을 선택했는 지 알 수가 없다..!
game 이 아니라, team 또는 팀 이름을 보내줘야할 것 같다.
고민거리
- 셀에서 노티/델리게이트를 줄 것이냐
- 뷰컨에서 줄 것이냐
=> 결정
: 셀에서 viewModel 을 호출해서 포스트 & 델리게이트 다 할 거임!
from baseball.
회의 후 결정
{
"userID": "user123",
"gameID": 1,
"team": "Marvel"
}
from baseball.
Related Issues (20)
- [BE] MOCK API 구현
- [BE] DB Schema 설계
- [iOS] 게임 모델 구현 HOT 6
- [BE] Entity 구현
- [BE] API 구현
- [iOS] 게임 진행 화면 Mock API Test HOT 1
- [iOS] 게임 선택 네트워크 디코딩 에러 HOT 3
- [BE] 서버 배포 자동화
- [iOS] 야구장 그래픽 및 애니메이션 HOT 1
- [iOS] 게임 선택 → 게임 진행 화면 이동 HOT 10
- Game DTO 형식 정하기 HOT 12
- [iOS] PR review 반영 HOT 14
- [iOS] pitch로 게임 진행하기 HOT 1
- [iOS] home에 player 처음 생성 시 위치가 다른 버그 HOT 3
- [iOS] iPad 이상 사이즈에서 일부 그래픽 깨지는 현상 HOT 2
- [BE] 코드 리팩토링
- [iOS] pitch 결과로 화면 업데이트 시의 버그 HOT 1
- [iOS] 네비게이션 컨트롤러로 애니메이션 없이 화면 전환 시 그래픽이 깨지는 현상
- [iOS] Memory Leak? HOT 4
- [iOS] 이닝 전환 / 점수 변화 시 사용자에게 알리기 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baseball.