-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't add photos to datasource #271
Comments
+1 |
Create your own class that inherits from NYPhoto like this: class MyPhoto: NSObject, NYTPhoto {
} Then you instantiate it and provide the ImageData or Image and then add it to a data source provider. let photo = MyPhoto() |
I guess you are developing SendBird sample UI. |
Please help me!
i don't understand how to create datasource model for my controller. It requires as parameter NYTPhoto which is NSObject subclass, instead of UIImage, how its work?
I cant create instance of NYTPhotos because it hasnt any initializers. Sorry for questions ) need your help
The text was updated successfully, but these errors were encountered: