Is it possible to display an alert for user in an easy way? Something like:
save
title
ifEmpty: [ 'Title cannot be empty' alert ]
ifNotEmpty: [ "…do the saving…" ]
so that if title
ivar will be empty user will see the dialog with appropriate message.