Resizable UITableViewCell with variable image and content height

Displaying a variable amount of text in a tableViewCell is easy enough. Set the .rowHeight to .automaticDimension, set top and bottom constraints, number of lines to 0, and you’re done.

Trying to incorporate variable text and variable image height will probably test your patience. :)

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 it all working correctly. Then you start scrolling, and your UI goes to hell.

Sound familiar? Read on. (more…)

Swift 4 and the FileMaker Data API

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

  • Session token management
  • Find requests
  • Get record
  • Get records (with an offset)
  • Create record
  • Edit record
  • Delete record
  • Error handling

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

Go see. 🚀