created separate lib swifty plugin view for view mode