Xcode Views their elements and Applescript

Hi I have two views that are identical.
I’d like to simply my code so that I can set elements of each separate view.

1st ly I’ll create to properties.
property _aView : missing value
property _bView : missing value

then should I connect those to each of the individual views as Referencing Objects?

next question is can I access the subelements (containers) (what should I call those)?
in each view somehow? And do I reference them by the name I’ve give to the element(object)?

like:

set processView to _aView
processView's track setStringValue:"Test"
set processView to _bView
processView's track's setStringValue:"Test Track"
processView's artist's setStringValue:"Test Artist"

Do I need to set up any of the subelements to reference anything?
their outlets, delegates, referencing outlets?

Is there a better way to do this via a Object Controller, Dictionary Controller or
a Data Model?

thanks

The general approach is to create outlets for any view you need to address. Referring to subviews by index just leads to fragile code that can break when you modify the nib.

Yeah that’s what I have going now.
As it was direct and basic.
But I figured there may be a better way as I was liking arounin all the
Controllers available.

Glad to know and I’ll proceed with coding the rest of it