Cosmos icon indicating copy to clipboard operation
Cosmos copied to clipboard

Value of type 'CosmosView' has no member 'prepareForReuse'

Open Shamsiddin opened this issue 7 years ago • 2 comments

  • Library setup method: CocoaPods.
  • Version of the library: 14.0.
  • Xcode version: 9.2 (9C40b)
  • OS version: Simulator, iOS 11.2.

In this guideline written how to use CosmosView in a UITableViewCell. I did the same, but compiler giving me an error: Value of type 'CosmosView' has no member 'prepareForReuse'

How to fix this problem? Or I don't need to call prepareForReuse() method anymore?

Shamsiddin avatar Feb 16 '18 17:02 Shamsiddin

Hi @Shamsiddin, prepareForReuse function was added to version 15 of Cosmos. Sorry for causing confusion. :)

evgenyneu avatar Feb 16 '18 21:02 evgenyneu

Hi @evgenyneu. I saw, documentation also updated. I'll update lib to version 15 then.

Shamsiddin avatar Feb 17 '18 05:02 Shamsiddin