Added file encryption to RealmTableViewExample

Applied the change for both Swift/ObjC versions of the example. /cc @astigsen @alazier.