I’m trying to understand the following code coming from the iOSHttpSocketExample (PageReceived event).
GetTestView(currentView).taResponseArea.Text = buffer
GetTestView is the iosView control as is the currentView property. The code references the TextArea control. Why can’t I just do this:
currentView.taResponseArea.Text = buffer
In .NET, which is my expertise, this would work. Maybe I’m overlooking something here. What?
[quote=219474:@Marcus van Breemen]I’m trying to understand the following code coming from the iOSHttpSocketExample (PageReceived event).
GetTestView(currentView).taResponseArea.Text = buffer
GetTestView is the iosView control as is the currentView property. The code references the TextArea control. Why can’t I just do this:
currentView.taResponseArea.Text = buffer
In .NET, which is my expertise, this would work. Maybe I’m overlooking something here. What?[/quote]
if your view is not named currentView, it will not work. Try :
self.taResponseArea.Text = buffer