2014-07-23から1日間の記事一覧

UICollectionViewCellに画像を表示させたい時

UITableViewCellみたいにcell.imageView.imageみたいな物が無いからむずい。 見つけた方法1 StoryBoardでUIImageViewをUICollectionViewCellのSubviewとして追加する。UIImageViewにはTagを設定しておく。 viewWithTagでsubView取得してUIImageViewにキャス…

UICollectionViewCellをdequeueReusableCellWithReuseIdentifierで生成/取得する時はStoryboard上に該当するIdentifierのUICollectionViewCellがないと落ちる

'NSInternalInconsistencyException', reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier Hoge - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' こんな感じで落…

UICollectionViewについて

Apple Developer Documentation iOS6から追加されたClassでUITableViewと同じような要領で複数のコンテンツを管理できるViewを作成できます。 UITableViewではセルはRow単位で管理されていましたがUICollectionViewではItem単位で管理されます。UITableView…

【パズドラ】ノア降臨 超地獄 ノーコンできたがスキルマの為の周回が辛い

1F 3体共1ターン被りだった場合を考慮していませんでした。 現在スキブが合計5(ソニア2,カオス1,セポネ1,呂布1)。初ターンクシナダ使うにはあと3足りないのでヘライースOUT青おでんINかまたは水闇ヴァンパイアデュークをいれて押し切るかでしょうか。2Fは初…