タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

uitableviewに関するnaoyuki0517のブックマーク (2)

  • Using Auto Layout in UITableView for dynamic cell layouts & variable row heights

    TL;DR: Don't like reading? Jump straight to the sample projects on GitHub: iOS 8 Sample Project - Requires iOS 8 iOS 7 Sample Project - Works on iOS 7+ Conceptual Description The first 2 steps below are applicable regardless of which iOS versions you are developing for. 1. Set Up & Add Constraints In your UITableViewCell subclass, add constraints so that the subviews of the cell have their edges p

    Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
  • なめらかに動作するUITableViewのつくりかた

    矢口裕也です。 Advent Calendar 10日目はiOSのUITableViewの話をします。 ぼやき iOSアプリを開発していると70%くらいの時間はUITableViewに費やしている気がしてきます。 UITableViewは非常にめんどうなものですが、パフォーマンスがシビアでかつユーザーの快適さに直結するものなので大いに手間をかける価値があります。 この記事ではガクガク処理落ちするUITableViewを例として改善していきながら快適なUITableViewのつくりかたを解説します。 目的 以下のケーススタディでは次の目的でコードを改善していきます なめらかに動くようにする ここでのポイントは実際速くなくてもユーザが快適に感じればOKである、ということです。処理速度が高速である必要はありません。 戦略 UITableViewでのパフォーマンス問題は次の2点であることが多いです

    なめらかに動作するUITableViewのつくりかた
  • 1