Search found 992 matches

by trevordevore
Tue Feb 11, 2020 10:25 pm
Forum: LiveCode Builder
Topic: NSArray - issues passing to LCS?
Replies: 5
Views: 5762

Re: NSArray - issues passing to LCS?

An NSArray is a "A static ordered collection of objects." so yes, ListFromNSArray is going to return a List of objective-c object ids. Regarding ObjcID and ObjcRetainedID - I don't have a great understanding of these and I always have to refresh my memory when I start coding in LCB again. But here a...
by trevordevore
Tue Feb 11, 2020 7:55 pm
Forum: LiveCode Builder
Topic: NSArray - issues passing to LCS?
Replies: 5
Views: 5762

Re: NSArray - issues passing to LCS?

Ah, that is an array of EKEvent objects. You have to loop through the array and extract each object. Take a look at the AppCastItemsToArray handler in my Sparkle project on Github. It creates an LCB list from an NSArray and then converts each AppCastItem object in the list to an array in LCB. Look a...
by trevordevore
Tue Feb 11, 2020 7:49 pm
Forum: LiveCode Builder
Topic: LCB FFI "StringToNSString" not declared
Replies: 10
Views: 9611

Re: LCB FFI "StringToNSString" not declared

It's been a while since I've used LCB on iOS but it should be the same if you are using Objective-C libraries included with iOS.
by trevordevore
Tue Feb 11, 2020 7:00 pm
Forum: LiveCode Builder
Topic: LCB FFI "StringToNSString" not declared
Replies: 10
Views: 9611

Re: LCB FFI "StringToNSString" not declared

You need to wrap your code in an unsafe/end unsafe block. Take a look at code from my GitHub repo for examples:

https://github.com/trevordevore/lc-maco ... /nsapp.lcb
by trevordevore
Tue Feb 11, 2020 6:31 pm
Forum: LiveCode Builder
Topic: LCB FFI "StringToNSString" not declared
Replies: 10
Views: 9611

Re: LCB FFI "StringToNSString" not declared

You need to include the necessary LCB libraries.

Code: Select all

use com.livecode.foreign
use com.livecode.objc
by trevordevore
Thu Feb 06, 2020 5:35 pm
Forum: Mac OS
Topic: Notarization, hardened runtimes, LCB, and executables
Replies: 0
Views: 6583

Notarization, hardened runtimes, LCB, and executables

I just spent a good portion of the last few days troubleshooting some notarization errors I started receiving. I'm going to document what I did so that someone else out there might benefit.  The Original Problem I have been notarizing my application for a while now without any issues. This week an e...
by trevordevore
Mon Feb 03, 2020 6:31 am
Forum: LiveCode Builder
Topic: How to get started or am I mad ?
Replies: 7
Views: 6275

Re: How to get started or am I mad ?

Simon, You can find Objective-C LCB examples in the following Github repo: https://github.com/trevordevore/lc-macos-toolset There are a couple of examples of allocating an object and then initializing it in the files in the repo. the NSURL file is one such example: https://github.com/trevordevore/lc...
by trevordevore
Wed Jan 22, 2020 9:08 pm
Forum: Talking LiveCode
Topic: How to split a folder structure into an array with sub arrays?
Replies: 11
Views: 8492

Re: How to split a folder structure into an array with sub arrays?

theowright2020: I am going to provide some links to some files that may prove helpful. I have a folder browser demo in a DataView demo stack (DataView is a control I created and it has a tree variant). I haven't looked at the type of array that a tree widget requires but you should be able to modify...
by trevordevore
Wed Jan 01, 2020 8:07 pm
Forum: Community Projects
Topic: DataView and DataView Tree Updates
Replies: 0
Views: 10679

DataView and DataView Tree Updates

Happy New Year everyone! I've uploaded updates for the DataView and DataView Tree Helpers . The big addition in these releases is a robust Drag Reordering API, but there are a number of other features and bug fixes as well. Here is a link to the docs on the Drag Reordering API in the DataView: https...
by trevordevore
Wed Jan 01, 2020 7:47 pm
Forum: Community Projects
Topic: Baker's Assistant version 0.2.0
Replies: 0
Views: 7380

Baker's Assistant version 0.2.0

Happy New Year everyone! Baker's Assistant 0.2.0 is now available from the Github repo releases page: https://github.com/trevordevore/bakers-assistant/releases Baker's Assistant is a plugin that helps you work on applications built on the Levure framework . The UI allows you to easily browser the UI...
by trevordevore
Wed Dec 11, 2019 1:44 pm
Forum: LiveCode Builder
Topic: Nyquist Language and LCB
Replies: 3
Views: 5550

Re: Nyquist Language and LCB

Hi trags3,

LiveCode Builder (LCB) allows you to bring libraries written in C, Objective-C, and Java into LiveCode. Unless Nyquist outputs DLLs for Windows and a library for macOS/Linux that follows the C calling convention then I don't think you will be able to use LCB with it.
by trevordevore
Tue Nov 05, 2019 12:02 am
Forum: Marketing Your Products
Topic: Levure framework - non stackFiles
Replies: 4
Views: 10106

Re: Levure framework - non stackFiles

Since the app builds for iOS and works but not for Android it appears that there isn't a configuration issue. I would suggest checking to see if some code that is running is triggering an error.I would start by placing some debug code (a simple answer "I'm here!" will do) in the `InitializeApplicati...
by trevordevore
Thu Oct 31, 2019 10:32 pm
Forum: Marketing Your Products
Topic: Levure framework - non stackFiles
Replies: 4
Views: 10106

Re: Levure framework - non stackFiles

It looks like the standalone.livecode stack was saved while it was being built. You can remove all entries from the "Copy Files" pane. That should be empty. It is filled in by the Levure packager when building standalone.

Go to advanced search