OpenCraft / OCHuds

MIT License
1 stars 1 forks source link

UIView Loading Indicator #12

Open giovanepossebon opened 8 years ago

giovanepossebon commented 8 years ago

We can change view opacity to a low level, hiding view information while the data are loading;

This way we have:

Morbix commented 8 years ago

@giovanepossebon I was wonder if add the spinner in the view with low opacity, the just added subview will be low opacity too, wont be?

giovanepossebon commented 8 years ago

@Morbix I thought about that, and we need to find an alternative to this, 'cause you are right, the opacity will affect the whole view, including the spinner

Morbix commented 8 years ago

@giovanepossebon maybe working with the sublayers, or, caching the backgroundColor and setting the same color with alpha componente and setting the opacity just of the subviews.

giovanepossebon commented 8 years ago

@Morbix Can't we add as a superview centered in the view?

Morbix commented 8 years ago

@giovanepossebon sounds tricky, but it is not a bad ideia. It might works very well with autolayout's constraints.

Morbix commented 8 years ago

@giovanepossebon When do you will stop the bullshit talk and start?

giovanepossebon commented 8 years ago

@Morbix When the time comes! hehe easy boy!

Morbix commented 8 years ago

@giovanepossebon We will never got the time for this kind of things. We have to practice parallelism!