iphone - Adding separator in UICollectionViewCell like one in UITableViewCell -


Hi guys, I am developing an app in which I need "a separator line" after each line of UICollectionViewCell <

How anyone can get this idea? .. Because I'm new to iOS ..

Thanks in advance. Create a UIView with a black background which is 1 pixel high and 320 pixels wide?

For example

for horizontal line

  UIView * horizontalLine = [[UIView alloc] initWithFrame: CGRactack (x cordinate, y cordinate, 1, linelenth)]; horizontal line. Background color = [UIColor blackColor]; [Self.view addSubview: horizontalLine]; [Horizontal release];    (x chordinate, y cordinate, lineline, 1)]; VerticalLine.backgroundColor = [UIColor blackColor]; [Self.view addSubview: vertical line]; [Vertical release];  

Comments

Popular posts from this blog

Editing Python Class in Shell and SQLAlchemy -

import - Python ImportError: No module named wmi -

uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -