Resizable UITableViewCell with variable image and content height

Displaying a variable amount of text in a tableViewCell is easy. It’s one of those things you learn pretty early. Set the .rowHeight to .automaticDimension, set a top and bottom constraint, set the number of lines to 0, and you’re done.

Trying to incorporate variable text and variable image height? Not quite so easy.

If you’re like me, you’ll fight with Auto Layout for a while, maybe refer to Stack or Medium for some pointers. You might even arrive at something that appears to get things working correctly. Then you start scrolling, and your UI goes to hell.

Sound familiar? Read on. (more…)

Swift and the FileMaker Data API

I wrote a service class last week for Swift, to communicate with the FileMaker Data API. The class includes functions for:

  • Token management
  • Find request
  • Get record
  • Get records, with limits and offsets
  • Create record
  • Duplicate record (v18 Data API)
  • Edit record
  • Delete record
  • Set global fields (v18 Data API)
  • Error handling

There are a couple of walkthroughs and other FileMaker-related goodies in the repo as well.

Go see. 🚀