issues
search
shinonome-inc
/
mobile_sakai
0
stars
1
forks
source link
模擬案件_#8_UserPage実装まで
#34
Closed
yasyun
closed
2 years ago
yasyun
commented
3 years ago
実装内容 ・UserPageのレイアウト実装 ・選択したユーザのプロフィールと記事一覧を表示 ・記事をタップするとWebViewで記事表示 ・UserPageのフォロー・フォロワー数をタップすると再度FollowPageへ遷移
yasyun
commented
3 years ago
実装過程 1.UI作成 2.Follow・FollowerPageでタップしたユーザーの情報を表示 3.記事をタップしたらWebViewを表示できるように実装 4.フォロー・フォロワー数をタップすると再度FollowPageへ遷移できるように実装
yasyun
commented
3 years ago
その他 ・MyPage, UserPageともにヘッダーの情報は取得してきたユーザーの記事から引用していたのですが、この状態だと記事を1つも投稿していないユーザーのヘッダーが表示できないため、それぞれヘッダー用でURLを分けて、記事からではなくユーザーの情報を個別で取得してきて表示する形に変更しました。それに伴って、ApiModel.swiftの
UserHeader
をネストにする必要がなくなったので削除しました。