Skip to content

celedev/LuaTextKitSubclasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextKitSubclasses

TextKitSimpleLayout is another TextKit-based application that illustrates advanced TextKit customization techniques like a custom-shaped text container or text-on-path drawing with TextKit.

TextKitSimpleLayout is mixed Lua + Objective-C application, containing class extensions and class creations. It also illustrates the use of multiple return values in Lua when calling or overriding an ObjC methods with out parameter(s).

This code sample is also available as a project template in CodeFlow.

Configuration required

A Mac with Celedev CodeFlow version 1.0.2 or greater installed.

Works on iPad (recommended) or iPhone, running iOS 8.3 or later.

How to use this code sample

  1. Open the CodeFlow project for this sample application.
    This will automatically update the associated Xcode project, so that paths and other build settings are correctly set for your environment.

  2. Open the associated Xcode project. You can do this in CodeFlow with the menu command Program -> Open Xcode Project.

  3. Run the application on a device or in the simulator.

  4. Enjoy the power of live coding with CodeFlow

Troubleshooting

  • Some libraries / header files in the sample app Xcode project are missing

    ⇒ Fix: open the corresponding CodeFlow project, and CodeFlow will update the associated Xcode project, so that paths and libraries are correctly set.

License

This application is provided under the MIT License (MIT)

Copyright (c) 2014-2016 Celedev.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A CodeFlow application that shows advanced TextKit customization techniques

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published