How to display xib in current collection view

This is my first time working with Google AdMob native ads, I believe I followed the implementation instruction.. All that is left is actually displaying the ads within the collection view, and this is where I am stuck. I do not know how to correctly display the Ads in between users uploaded post. Basically I […]

By Clint
Published
Categorised as admob, ads, ios, swift, uicollectionview

How to add label to collection view

I want to display a label if there is no post available on a users profile. I have copied a piece of code of an answer on here which is func setEmptyMessage(_ message: String) { let messageLabel = UILabel(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: 30)) messageLabel.text = message messageLabel.textColor = .black messageLabel.numberOfLines = […]

By Clint
Published
Categorised as constraints, ios, label, swift, uicollectionview

How to check if comment belongs to current user by uid

So I am trying to create a function where users can delete their own comment/report others. I’ve done this with post so I assumed I would use the same method..which is grab the owner of the comment’s uid and check if that is the current user or not. If it is the current user then […]

By Clint
Published
Categorised as firebase, firebase-authentication, ios, swift

How to check if comment ( text) belongs to current user by uid

So I am trying to create a function where users can delete their own comment/report others. I’ve done this with post so I assumed I would use the same method..which is grab the owner of the comment’s uid and check if that is the current user or not. If it is the current user then […]

By Clint
Published
Categorised as firebase, firebase-authentication, ios, swift

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq