Closed ghost closed 9 years ago
Currently, the only information on the cards are the little bits of placeholder text. I add the UITextLabel to the DraggableView, and then set the content in the DraggableBackgroundView. Images use the same concept. Set a blank UIImageView in the DraggableView, and place is properly, and then fill it with content in the backgroundView.
also have the same query regarding uiimage and uilabels with parse data and if not then remove draggbleview Background from controller.(working with xib)
Find where I implemented the text label. I placed the text label on the card, and made the text label get information from an array. If you want to pull information from parse, pull it into an array and use that array as the datasource for the image. You can alternatively put a uiimageview on the card and have each card pull from parse on load, but I wouldn't recommend that as it might clog up the main thread and cause stuttering
I wanna display images in the cards, so which array is that looks for data? I'm pretty new to Swift, so it's a little confusing.