I’m going to demonstrate on how I achieved the dynamic height for my UITableViewCell. Below is what it looks like. This is a UITableViewCell for comments. ImageView on the left side is for the user’s avatar, the top most UILabel is for the username and lastly at the bottom is the UILabel for comment. YesContinue reading “Dynamic TableViewCell Height”
Category Archives: Mobile Development
Code Refactoring: First Loom Video
In programming, you always encounter duplicate code blocks. The best thing to do is to place it in a separate function so that we can reuse it throughout our source code.
Play Looping Video using Swift
Playing a looping video in iOS is fairly simple but there’s a catch. You need to declare AVPlayerLooper global in your class. Below is the code: The videoPlayContainerView is a UIView.
Create a camera shutter in Swift
I’m going to show how I achieved the camera shutter button and animation using Swift, more or less the same with the stock iOS camera app. Grab a coffee because this one’s going to be a little longer. Storyboard UI On your ViewController, drag a UIButton and place it at the bottom part. On theContinue reading “Create a camera shutter in Swift”
2020 Was a Mixed Year
Mixed year because as good as the metrics are compared to last year, it saddens me that a huge number of people are laid off and companies closed because of Covid-19. Hopefully 2021 will be different. Here’s a sneak peek of the OnlineJobs.ph app metrics during lockdown. In terms of number of installations, active devicesContinue reading “2020 Was a Mixed Year”