Skip to content

References

codeCatLady edited this page Sep 25, 2022 · 33 revisions

Contents

Documents

The current versions of all documents should be in the LiveCode application package at /Contents/Tools/Documentation/guides/

Widgets Course

Widgets Course

  • Hello World Library
  • Extended Hello World Library
  • Rotated Text Widget
  • Extended Rotated Text Widget
  • Pie Chart Widget
  • Modifying the Line Graph Widget
  • Additional Resources

LiveCode Global Webinars

These are paywalled, and included here for reference for members of the community who have purchased access to them through various bundles or other means.

LiveCode Global 2017

Day 1: Building Widgets with Ali Lloyd

  • Math-Minimal Koch snowflake
  • Imitate an OS-native checkbox
  • Animated checkbox
  • Handler variables
  • Android-native button
  • Other android widgets via Java FFI

Day 2: Building Widgets with Ali Lloyd

  • Vertical Segmented Control
  • Developing Android-native widgets in depth: RatingBar
  • Infinite LiveCode: Android Native Field
  • Return to custom Java resources

Day 3: Building Widgets with Ali Lloyd

  • Segmented control toggleHilites property
  • Loading custom Java resources
  • Palette actions tab navigation
  • Infinite LiveCode Objective-C: First Examples

Day 4: Building Widgets with Ali Lloyd

  • iOS native field
  • Child Widgets
  • Cross-platform native widgets

Day 5: Building Widgets with Ali Lloyd

  • Widget properties and forwards/backwards compatibility
  • Native code inclusions
  • Compiling java snippets
  • Fingerprint Library example
  • Android wav recorder

Day 6: Building Widgets with Ali Lloyd

  • send / post from libraries
  • The caller
  • Android Speech to Text
  • AAR inclusions
  • Map widget (including cross-platform structure, Android AAR, and LiveCode Builder Aggregates)

LiveCode Global 2018

Day 1: Hacking the IDE with Elanor Buchanan

  • Property definitions in the IDE (used for configuring the Property inspector)
  • Property Editors
  • Adding a property to the Property Inspector
  • Creating custom property editors

Day 2: Cross-Platform Widget Structure with Ali Lloyd

  • NativeView
  • DestroyView
  • UpdateView
  • Android Button Implementation
  • iOS Button Implementation
  • Mac Button Implementation
  • Emscripten Button Implementation
  • Linux Button Implementation
  • Windows Button Implementation
  • Shared Module

Day 3: Writing a Ruler Widget with Elanor Buchanan

  • Properties
  • Modules
  • Metadata
  • More Properties
  • Setter
  • Getter
  • OnPaint()

Day 4: TreeView Widget Modifiecation with Elanor Buchanan

  • Adding Features
  • Adding Libraries
  • Adding Properties (row height, icon, expanded icon, icon size, colors)
  • Enhancing Appearance

Day 6: A Simple Gesture Library in LCB with Elanor Buchanan

  • Panning
  • Pinch/Zoom
  • Rotate
  • Recording Touches
  • Gestures

Blog Posts

Some of this information, or the screenshots in the blog post, is dated, and does not exactly reflect the current state of the art. They are included, because there isn't enough learning information as it is.

Write a Widget in 8 Steps with Georgia Hutchings

  • Beginner level
  • Creating the file
  • Dependencies (use clauses)
  • Handlers for widget properties
  • OnSave(), OnLoad(), OnCreate(), OnPaint()
  • Creating and drawing the widget
  • Custom handlers
  • drawing curves, filling paths

The Evolution of Dragons with Ian Macphail

  • Fractal example
  • OnPaint()
  • Canvas fill and stroke

Testing And Building LiveCode Builder With Tests with Peter Brett

  • Discussion of unit testing using LiveCode Builder
  • uses com.livecode.unittest
  • uses test, which is an assertion (evaluates to true/false)
  • A couple of examples

Using Infinite LiveCode for Android to Create Native Controls and Wrap OS APIs with Ali Lloyd

  • Android widget template
  • Modifying for different controls
  • Adding event listeners
  • Background audio library
  • Android Print Library

LiveCode Widgets: Modifying the Line Chart with Monte Goulding

  • Adding a showLines property
  • Adding markerStyle property

LiveCode Widgets: More Line Chart Madness with Monte Goulding

  • Implement SVG Icon Line Markers
  • Implement markerScale

Android audio recording library using Java FFI with Ali Lloyd

  • Foreign handler
  • Permissions in the manifest
  • Building the library and using it