minor apple generator refactoring
minor refactoring in field renderer