« first day (1382 days earlier)      last day (1558 days later) » 

3:46 AM
Hey
GM all :)
 
 
3 hours later…
7:13 AM
hello @Kneel-Before-ZOD
i have a problem
could you help me out
 
@Ranjit I'm only a couple of weeks into iOS development; so, I don't know how helpful I can be. You're still welcome to ask though
 
no problem
if you see this image
you can see timings of movies
which come from server
now each movie time should be displayed either on a button or label
because user can click the timing and choose to book tickets
and these labels should arrange according to the screen sixe
*size
I am not understanding how to approach this problem
can you guys help me out with this
some theatres have more shows, some have less
and accordingly the height is getting adjusted
 
so, you'd like all the timing to be displayed on a single line?
 
no they should be adjusted according to the space and come to next line
 
is the image displaying the right stuff, just the way you want it?
 
7:23 AM
yes
i want it the same way
name of theatre and timings below
 
and you want to understand how those labels/buttons are generated
 
yes
 
I think that
- the timing are retrieved as a collection (array, dictionary, etc)
- the collection is looped over
- each button is created on each loop and attached to the current row of the table
 
i know that
i have already retrieved the timings
problem is of displaying it
on a table
 
do you know how to put regular content on rows in a UITableView?
 
7:31 AM
yes
 
I was facing problem regarding iOS notification
please visit my this question for more details
 
do you have a View in each row in which the labels will reside or will they just stick to the cell? @Ranjit
 
i dont have view
they will just stick
 
ok.....so, simply create a single button for each time and call cell.addSubview(button_name) for each of the buttons
 
7:56 AM
but what about the position ?
i am using autolayout
 
 
5 hours later…
12:44 PM
posted on May 22, 2016 by Johann

Build Time Analyzer from Robert Gummesson is an Xcode plugin that provides an overview of how long it takes to Xcode to build individiual Swift files. Build Time Analyzer was created so you can easily find any bottlenecks causing large build time increases. Here’s an image from the readme showing Build Time Analyzer in action: […]

 

« first day (1382 days earlier)      last day (1558 days later) »