Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cony] Weather app step3 #19

Merged
merged 15 commits into from
Dec 3, 2019
Merged

Conversation

conyconydev
Copy link

  • Weather app step3 진행하였습니다.


///jsonData -> foundationData
static func parseJSONData() -> Array<Dictionary<String,String>>? {
let json = getContestsFromURL(url: "http://public.codesquad.kr/jk/weatherapp/customcell.json")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JSONParser도 문자열을 하드코딩하지 않고 매개변수나 외부에서 의존성을 넣어주도록 만들었으면 유연한 구조가 됐을 것 같네요. 참고하세요.

@godrm godrm merged commit 9de3534 into code-squad:conyconydev Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants