<div dir="ltr"><div style>Hello Susan,</div>What layout are you using and are you returning any attributes for the cells? Have you set the identifier in the nib? <div><br></div><div style>TJ</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 2:20 PM, Susan Cudmore <span dir="ltr"><<a href="mailto:susan.cudmore@gmail.com" target="_blank">susan.cudmore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi All,<div><br></div><div>I'm trying to use a custom UICollectionViewCell that has a top level view with subviews including an imageview, and several labels that I need to set when the cell is loaded. I am using storyboards and creating the aforementioned views in the cell that shows up when I drag in a UICollectionView. I believe the identifiers are set correctly and I am registering the cell with the UICollectionView obj in viewDidLoad. I have also hooked up Outlets (at least it appears so to me) in my UICollectionViewCell for each of the properties that I wish to set at run time.</div>

<div><br></div><div>I'm trying to dequeue my custom cell using its identifier in cellForIndexPath. I see that the initWithFrame method gets called on my custom UICollectionViewCell. It seems that unless I set the frame on all of the views and programmatically add them to the contentView of the UICollectionViewCell, the views don't show up. At that point, why am I bothering to put any of these views in IB?</div>

<div><br></div><div>Any idea what I might be missing? Would I be better off creating a nib and loading the cell from a nib rather than have it embedded in the UICollectionView in the storyboard?</div><div><br></div><div>
Thanks for any pointers!</div>
<div><br></div><div>/Sue</div></div>
<br>_______________________________________________<br>
MacTechGroup-discuss mailing list<br>
<a href="mailto:MacTechGroup-discuss@lists.mactechgroup.org">MacTechGroup-discuss@lists.mactechgroup.org</a><br>
<a href="http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss" target="_blank">http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss</a><br>
<br></blockquote></div><br></div>