Create as Many Views as Necessary

So, for a simple example, let’s imagine I’m making a journal program in AppleScript Studio.

Each entry goes in a pre-made template in the form of an NSView.

And I have no idea how many entries the user has.

Is there any way I can create one view for each entry that exists, in a single window?

Obviously this would go into a scroll view.

So, basically, how do you dynamically add objects to a window in AppleScript Studio?

Thanks,

SuperScripter

EDIT: One thought I just had was to make each entry template into the default cell of a table view, then just create new cells for each entry. I don’t really know if this is possible, and I have no idea how to approach it, however.