G'day Ron
Thanks for your concrete example. Unfortunately it still generates the same error. However, your code is completely different from what I expected the correct code to be, so food for thought.
I'm going to have to try and follow Shane's advice once again, but unfortunately when Shane uses terms like 'clue' and 'pretty obvious' he's speaking from someone who has this damn stuff running through his veins, whereas to me, those terms mean I'm once again going to have to group my way through a bloody blinding snow storm, usually without success.
It's no wonder that it seems very few people actually take up programming in ASObjC, there's so many hurdles! And so very, very few concrete examples of conversion.
Regards
Santa
On 03/10/2014, at 12:04 PM, Ron Reuter <
email@hidden> wrote:
Right, you'll have to use contentView() because it is a method on a view, not a property of a view.
Brian,
I program in Objective C, and its been awhile since I tried ASOC, but the translation should be something like this:
NSPoint currentScrollPosition=[[theScrollView contentView] bounds].origin;
set currentScrollPosition to the origin of the bounds of the contentView of theNewColorsView
[[theScrollView documentView] scrollPoint:currentScrollPosition];
set the scrollPoint of the documentView of theNewColorView to currentScrollPosition
• Ron