Class: Turbo::VisitableView

Inherits:
UIView
  • Object
show all
Includes:
ActivityIndicator, Constraints, RefreshControl, Screenshots, ScrollView, WebView
Defined in:
lib/turbo/visitable_view/web_view.rb,
lib/turbo/visitable/visitable_view.rb,
lib/turbo/visitable_view/constraints.rb,
lib/turbo/visitable_view/screenshots.rb,
lib/turbo/visitable_view/scroll_view.rb,
lib/turbo/visitable_view/refresh_control.rb,
lib/turbo/visitable_view/activity_indicator.rb

Defined Under Namespace

Modules: ActivityIndicator, Constraints, RefreshControl, Screenshots, ScrollView, WebView

Instance Attribute Summary

Attributes included from Screenshots

#screenshotView

Attributes included from WebView

#visitable, #webView

Instance Method Summary collapse

Methods included from Constraints

#addFillConstraintsForSubview

Methods included from ActivityIndicator

#activityIndicatorView, #hideActivityIndicator, #showActivityIndicator

Methods included from RefreshControl

#allowsPullToRefresh, #allowsPullToRefresh=, #isRefreshing, #refresh, #refreshControl

Methods included from Screenshots

#clearScreenshot, #hideScreenshot, #isShowingScreenshot, #screenshotContainerView, #showScreenshot, #updateScreenshot

Methods included from WebView

#activateWebView, #deactivateWebView, #showOrHideWebView

Instance Method Details

#initWithFrame(frame) ⇒ Object



10
11
12
13
14
# File 'lib/turbo/visitable/visitable_view.rb', line 10

def initWithFrame(frame)
  super
  setup
  self
end

#setupObject



16
17
18
# File 'lib/turbo/visitable/visitable_view.rb', line 16

def setup
  installActivityIndicatorView
end