Define delegate and datasource within 3rd party