Re: Suspend in iOS, or when is a mobile app running?

2020-11-18 Thread hlowe--- via use-livecode
Test

_
Sent from http://runtime-revolution.278305.n4.nabble.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Dark Mode support and iOS startup screens

2020-04-27 Thread hlowe--- via use-livecode
Thank you Panos. Looking forward to seeing this.

Best wishes,

Henry


Hello Henry,

Support for storyboards is coming in the next LC 9.6 RC-1 release.

Kind regards,
Panos
--

On Mon, 27 Apr 2020 at 23:32, HENRY LOWE via use-livecode <
use-livecode@lists.runrev.com> wrote:

> As of LC 9.6.0 (dp4) there is support for detecting whether the system is
> in dark or light mode and also a message that signals when the display
> mode
> changes. This works well and we have successfully added dark mode support
> to our iOS app. However, there appears to be no support for adding a light
> & dark mode startup screen. So when the app launches in dark mode it will
> displays the bright light mode start up screen. Different dark and light
> mode startup screens are supported by Xcode’s storyboards, which will soon
> be mandated by Apple as the only way to support iOS launch screens. Any
> idea when this support might be available? We were hoping to release an
> update to our iOS app implementing dark mode, as this is a much requested
> feature, but are now blocked by the startup screen issue.
>
> Thanks,
>
> Henry
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Quoted from: 
http://runtime-revolution.278305.n4.nabble.com/Dark-Mode-support-and-iOS-startup-screens-tp4737982p4737983.html


_
Sent from http://runtime-revolution.278305.n4.nabble.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Datagrid2 Form view slow down.

2019-08-23 Thread hlowe via use-livecode
Thanks Sean.

As you suggested, using:

put the effective layermode of grp "Row Template 0001" of grp "dglist" 
of grp "DG_Browse"

I get "dynamic". The acceleratedRendering of the stack is true.

Despite this, the datagrid scrolling is still slow and choppy on an iPad
Pro.

Henry









--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Re:

2019-08-22 Thread hlowe via use-livecode
Monte,

I am experiencing a similar issue under LC 9.5.0 (Stable). An iOS app that
has exhibited slow, stuttering, scrolling of a DataGrid form under prior
versions of LC has not shown much improvement since upgrading to LC 9.5.0.

I have acceleratedRendering set to true for the stack. The datagrid has its
Layer Mode set to "container". There are no adornments that I can see (could
we get a list of relevant adornments to avoid?).

Given a datagrid named "DG_Browse" what code would I use to determine "the
effective layerMode of the groups in group dgList of your datagrid", as you
requested"

 I tried:

Answer the effective layerMode of group "dgList" of group "DG_Browse"

but that generated an error.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bug drawing card in LC9

2019-04-27 Thread hlowe via use-livecode


set the backcolor of me to the backcolor of me

can also be used for force a card redraw.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Xcode for El Capitan

2018-12-07 Thread hlowe via use-livecode
Should be available at:

https://developer.apple.com/download/more/

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread hlowe via use-livecode
BR,

After you upload the app for review using the Xcode Application Loader tool
it may take a while for the app to to available in the submission form.  If
I recall correctly, a small plus sign ('add' icon) appears at the top left
of the Build section. Clicking that icon allows you to add the uploaded app
to the form.

Hope your app gets through this time.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.2 RC-1

2018-11-14 Thread hlowe via use-livecode
@BR,

Sorry to hear about your problems with the iOS App Store.

We had an iOS app update approved this morning by the App Store using:

LC 9.0.2 - RC1 (Indy)
Mac OS 10.14.1
Xcode 10.0

I did find this link, which may be helpful:

https://stackoverflow.com/questions/52427687/invalid-architectures-xcode-10

Apparently Xcode 10.x doesn't support deployment targets lower than 8.0. We
selected 10.3 or later for the update.

Hope this helps.

Henry




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.2 RC-1

2018-11-10 Thread hlowe via use-livecode
Thanks @BR.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.2 RC-1

2018-11-09 Thread hlowe via use-livecode
I am using Mac OS 10.14.1. Downloaded LC 9.0.2 RC-1 and also installed the
latest version of Xcode (10.1) as I need to test our iOS app with the new
iOS devices available in the simulator. I am getting the message that LC
requires iOS SDK between 8.2 and 12.0, though iOS 12.1 is the latest
version. Back to Xcode 10.0?

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: App Dead on iOS 12

2018-09-18 Thread hlowe via use-livecode
I am preparing to update an iOS app in the App Store using:

LC 9.0.1 (stable)
Mac OS 10.13.6
Xcode 9.4.1

Updated an iPad Mini 2 to iOS 12.0 today and both the app currently in the
iOS store (LC 8.1.10) and the update that I am working on (see details
above) run as expected under iOS 12.0. The app icon is visibile.

The app uses "set the AcceleratedRendering of this stack to true" in both
versions.

As an aside, this exercise provided an opportunity to compare the scrolling
performance of datagrid version 1 (DG1) and datagrid version 2 (DG2) under
iOS 12.0. DG2 scrolling is SO much slower and very visually "jerky" in
comparison to DG1. 

Henry

Ascriva Health Informatics
https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Datagrid deleteline vs deletelines issue

2018-09-09 Thread hlowe via use-livecode
Thanks Zryip. I have created a bug report:

https://quality.livecode.com/show_bug.cgi?id=21576

It would be helpful if there was a support document describing the changes
between DG1 and DG2. I wasted a few hours tracking this one down.

Henry 

Ascriva Health Informatics 
https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Datagrid deleteline vs deletelines issue

2018-09-09 Thread hlowe via use-livecode
The Dictionary states that the command 'deleteline': "Deletes the specified
lines from the data grid.

The syntax is:

dispatch "DeleteLine" to group "DataGrid" with pLine

where pLine is a comma-delimited list of one or more integers, indicating
the lines to be deleted.

So to delete lines 1,2 and 3 of the datagrid "myDG" we would use:

put "1,2,3" into pLine
dispatch "DeleteLine" to group "myDG" with pLine

The Dictionary also states that the command 'deletelines' (note the plural
form) is a synonym for deleteline, implying that either form will do the
same thing.

However 'deleteline' using LC 9.0.1 (RC3) on a Mac (running an iOS App in
both the emulator and on the device) will only accept a single line number
in its 'pLine' parameter. Passing more that one integer in 'pLine' causes
'deleteline' to fail silently. To delete more that one line, I must use the
pleural form of the command 'deletelines'.

put "1,2,3" into pLine
dispatch "DeleteLine" to group "myDG" with pLine

fails silently

while

put "1,2,3" into pLine
dispatch "DeleteLines" to group "myDG" with pLine

succeeds

A bug, a Dictionary issue or something more complex?

Can anyone else confirm this?

Henry

Ascriva Health Informatics
https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Datagrid Scrolling

2018-08-25 Thread hlowe via use-livecode
I agree. There has been a very significant deterioration in datagrid
scrolling performance since DG2 and LC9 were introduced. Based on feedback
from user testing we have delayed release of an important iOS app update
because DG scrolling was perceived to be unacceptably slow and visually
jerky. The currently released version of the app uses LC8, DG1 and Monte's
mergDatagridScroller code and it scrolls very smoothly. 

DG2 is a wonderful update with many exciting new features. I do hope that
the scrolling performance issue can be addressed soon, so that we can take
advantage of the update.

Henry

Ascriva Health Informatics
https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Feature proposal: mobileActualAllowedOrientations?

2018-01-27 Thread hlowe via use-livecode
Richard,

Our iOS app works in both portrait and landscape modes on the iPhone and
iPad. With the device's software-based rotation lock (iOS Control Center)
set to 'on' the app's display is locked in portrait mode and will not switch
to landscape mode if the device (iPhone 6S and 10.5-inch iPad Pro) is
rotated. Using LC 8.1.9 (rc 1) and iOS 11.2.2

Perhaps I am misunderstanding the issue?

Henry

Ascriva Health Informatics
https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iTunes Connect claims iOS app wasn’t built with the iOS 11 SDK!

2018-01-11 Thread hlowe via use-livecode
Thanks Panos. I have created a bug report:

http://quality.livecode.com/show_bug.cgi?id=20852 - Livecode not updating
iOS app plist entries to reflect Xcode/sdk version 

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iTunes Connect claims iOS app wasn’t built with the iOS 11 SDK!

2018-01-10 Thread hlowe via use-livecode
We updated our ICD-10-CM-2018 iOS app to support the iPhone X screen
resolution and layout. As we now support the 5.8 Inch iPhone X screen, we
added 5.8 inch iPhone screen shots. On submitting the updated app version
for review we received the message below from iTunes Connect:

"The app previews and screenshots for the iPhone 5.8-Inch display won’t
appear on the App Store because your binary wasn’t built with the iOS 11
SDK."

We are using LC 8.1.9 (rc 1) and Xcode 9.2. In the iOS Standalone
Application Settings we chose 'Build for iOS iPod, iPhone and iPad 10.3 or
later'. The app runs fine on the Xcode iPhone X simulator, so I assume it
was built with the iOS 11 SDK.

Any idea what is up? This presumably means that our app may not be visible
to users running iOS 11?

Looking at the info.plist of the app I see the following:


DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
12B411
DTPlatformName
iphoneos
DTPlatformVersion
8.1
DTSDKBuild
12B411
DTSDKName
iphoneos8.1
DTXcode
0610
DTXcodeBuild
6A1052c
CFBundleDisplayName
ICD-10-CM-2018
MinimumOSVersion
10.3
UIDeviceFamily

12


Henry

Ascriva Health Informatics 

https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Printing A Browser

2017-11-25 Thread hlowe via use-livecode
I also use HTML to create and display complex tables with LC (in iOS) and
have been looking for a way to (a) save the tables as PDF files and then
print the tables (as a PDF).  There is a library for creating PDF files from
HTML created by Brent Nycum called BNHtmlPdfKit:

https://github.com/brentnycum/BNHtmlPdfKit

BNHtmlPdfKit can easily create a PDF file from an HTML string or URL. It is
also possible to specify different page sizes, and margin sizes.

This might make a great extension for LC.

Henry 

Ascriva Health Informatics 
https://www.ascriva.com




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iPhone X Screen Dimensions and the screenRect function

2017-11-19 Thread hlowe via use-livecode
Thanks,

I added a comment to the request. Hopefully we will see this soon.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iPhone X Screen Dimensions and the screenRect function

2017-11-19 Thread hlowe via use-livecode
I have been researching this issue and it does appear (as suggested by the
prior respondent) that, in the absence of an iPhone X sized splash image,
iOS default to a compatibility mode to accommodate older apps. One
consequence of this is that iOS returns the 'older' screen size to
screenRect().

There are a number of helpful sources explaining how to approach developing
for the iPhone X screen:

https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/

https://infinum.co/the-capsized-eight/how-to-prepare-mobile-app-new-iPhone-x

Adapting an app for the iPhone X using the "safe area" approach is
problematic if one cannot get the correct screenRect. I support various
screen sizes and orientations in my apps by directly redrawing the UI rather
that using the FullScreenMode property. Cannot do this without the correct
screen rect.

Is adding an iPhone X splash image in the Standalone Application Setting
dialog in the works?

Thanks,

Henry 
 
Ascriva Health Informatics 
https://www.ascriva.com





--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iPhone X Screen Dimensions and the screenRect function

2017-11-18 Thread hlowe via use-livecode
The iPhone X screen dimensions are 375pt × 812pt. However, the LC screenRect
function returns 375 x 667 in the iPhone X simulator (LC 8.1.8, iOS 11.1,
Xcode 9.1). The difference between 812 and 667 is 145, which is the
additional height of the iPhone X screen over iPhone 6,7,8. The screenRect
function returns the correct screen dimensions for other iPhones in the
simulator. Is this a bug or am I missing something?

Thanks,

Henry

Ascriva Health Informatics
https://www.ascriva.com





--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Issue with Xcode 9.0 Simulator

2017-11-10 Thread hlowe via use-livecode
Thanks for posting this Panos.

I made another attempt to revert back to Xcode 9.0.1 today with no luck. On
my machine, at least, the process of installing an iOS app onto the
simulator is completely broken.

I archived Xcode 9.1 and restored Xcode 9.0.1 from a Time machine backup
(also later reinstalled a fresh version of 9.0.1 from Apple).

Using LC 8.1.7 Stable under Mac OS 10.13.1 and Xcode 9.0.1 the only way that
I can get LC to install and launch an iOS app in the simulator is to
manually restart the simulator device while LC is attempting to launch the
app on the simulator. Most of the time even this doesn't work and LC hangs
(with a spinning 'beachball' cursor) requiring that a force quite and
restart. On the rare occasions that the app installed, it works fine.
Unfortunately this leaves the "Standalone Builder Progress" window open
reporting "Launching App…". If I then quite LC, relaunch it and then select
the "test" menu item to try to install the app again, LC crashes (suddenly
quits). Crash Log excerpt below. 

Process:   LiveCode-Indy [3311]
Path:  /Applications/LiveCode Indy
8.1.7.app/Contents/MacOS/LiveCode-Indy
Identifier:com.runrev.livecode
Version:   8.1.7.14039 (8.1.7.14039)
Code Type: X86 (Native)
Parent Process:??? [1]
Responsible:   LiveCode-Indy [3311]
User ID:   501
Date/Time: 2017-11-10 13:44:37.606 -0800
OS Version:Mac OS X 10.13.1 (17B48)
Report Version:12
Time Awake Since Boot: 2600 seconds
System Integrity Protection: enabled
Crashed Thread:0  Dispatch queue: com.apple.main-thread
Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:  KERN_INVALID_ADDRESS at 0x3162c83f
Exception Note:EXC_CORPSE_NOTIFY

VM Regions Near 0x3162c83f:
MALLOC_LARGE   1901d000-197be000 [ 7812K]
rw-/rwx SM=COW  
--> 
Submap 9000-a780 [376.0M]
r--/rwx SM=SHM  machine-wide VM submap








--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Xcode 9.1 support

2017-11-06 Thread hlowe via use-livecode
Thanks Panos. 

Henry

Ascriva Health Informatics

https://www.ascriva.com



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Announcing our first Livecode app in the iOS App Store

2017-11-01 Thread hlowe via use-livecode
I am excited to announce the release of Ascriva Health Informatics' first app
for iPhone and iPad in the App Store. The app was developed using Livecode.
Many thanks for the knowledge and support that I have received here as we
worked towards this first product release.

ICD-10-CM is the classification system used to code diagnoses and reasons
for healthcare encounters in the United States. The ICD-10-CM-2018 app
allows healthcare providers to quickly find diagnosis codes, create a
library of frequently-used codes and automatically search the Web for
related information.

To celebrate the launch of the app, it is available for FREE in the App
Store until November 8. 

https://itunes.apple.com/us/app/icd-10-cm-2018/id1296363233

Best wishes,

Henry

https://www.ascriva.com




--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Xcode 9.1 support

2017-11-01 Thread hlowe via use-livecode
There has been a serious performance issue (related to OpenGL) with the iOS
simulators under Xcode 9.0, to the point that they are so slow as to be
unusable for testing. This has been widely commented on elsewhere and is not
an LC-related problem.

This issue is now fixed in Xcode 9.1, released today. However LC 8.1.7
(stable) does not support Xcode 9.1. When I try to point LC 8.1.7 towards
Xcode 9.1 is declines to link, claiming "The chosen folder is not a valid
iOS SDK".

Do we need an update to obtain compatibility with Xcode 9.1? If so, would it
be possible to get this out soon as I have had to  suspend testing of iOS
apps under development because of the simulator issues when using Xcode 9.0
and 9.0.1.

Thanks,

Henry

Ascriva Healthcare Informatics

https://www.ascriva.com





--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 8.1.7 RC-3

2017-10-06 Thread hlowe via use-livecode
Mark,

Thank you for the detailed explanation. Overall the current strategy appears
sound. I took a look at Apple's developer info on this topic today and they
state:

"Slicing is the process of creating and delivering variants of the app
bundle for different target devices. A variant contains only the executable
architecture and resources that are needed for the target device. You
continue to develop and upload full versions of your app to iTunes Connect.
The App Store will create and deliver different variants based on the
devices your app supports. Xcode simulates slicing during development so you
can create and test variants locally. Xcode slices your app when you build
and run your app on a device or in Simulator."

I compared the size of my iOS app directly installed onto an iPhone 6S (iOS
11, set to run on iOS 10.3 or later) using Xcode 9.0 - with 64 bit slice
only (8.1.7 RC-2) and with both 64 bit and 32 bit slices (8.1.7 RC-3). The
universal binary on the phone is approximately twice as large as the 64 bit
version. I have not found any way to check app size in the simulator.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 8.1.7 RC-3

2017-10-05 Thread hlowe via use-livecode
As Apple no longer supports running 32 bit apps under iOS 11, would it be
possible to make including a 32 bit slice optional, as defaulting to
universal binaries almost doubles the size of the app bundle (my app went
from 18 MB when built with LC 8.1.7 RC-2 to 31 MB when built with LC 8.1.7
RC-3. Ideally in iOS Application Settings one could choice from : (1) Build
universal binary; (2) Build 64 bit binary only; (3) Build 32 bit binary
only.

Henry



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How do we access the clipboard on mobile devices?

2017-06-25 Thread hlowe via use-livecode
iOS native text fields (and I presume other native mobile text fields)
support manual copy and paste actions - the user has to manually select the
text and then initiate the action. I don't know of any way to
programatically copy and paste to/from the iOS clipboard nor to access the
data on the clipboard. Perhaps I am missing something?

In Objective C this appears to be relatively straight forward:

UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = @"some text to be pasted";

Is there is a reason why basic mobile clipboard support was never
implemented in LiveCode?

It would be very nice to be able to get and set the rawClipboardData on
mobile but that is only possible on the desktop.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-do-we-access-the-clipboard-on-mobile-devices-tp4716158p4716182.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Word delimiters

2017-06-12 Thread hlowe via use-livecode
Done. http://quality.livecode.com/show_bug.cgi?id=19855

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Word-delimiters-tp4715709p4715746.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Word delimiters

2017-06-11 Thread hlowe via use-livecode
Thank you, again, for pointing me towards TrueWord which (according to the
dictionary):

"Designates a string as part of a chunk expression, delimited by Unicode
word breaks, as determined by the ICU Library."

Using TrueWord instead of word in my 8.1.4 code, fixed the problems that I
was encountereing with word chunk identification when the "word" was
prefixed or suffixed with parens characters or punctuation. There appears to
be little performance impact is using "TrueWord" in place of "word" when
searching very large texts (10+ MB).

Interestingly, there is no cross-refernce to TrueWord from the Word entry in
the 8.1.4 dictionary, though there is a cross-reference from TrueWord to
Word. 

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Word-delimiters-tp4715709p4715715.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Word delimiters

2017-06-11 Thread hlowe via use-livecode
Thank you. I will try using trueWord.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Word-delimiters-tp4715709p4715711.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Word delimiters

2017-06-10 Thread hlowe via use-livecode
Livecode defines a word as:

"A word is delimited by one or more spaces, tabs, or returns, or is enclosed
by double quotes."

Generally this works well but if I have text in which one or more words are
contained within either round brackets "(word1 word2)" or square brackets
"[word1 word2]" the paren characters are considered part of the word.

For example try this from the message box:

"answer word 4 of "word1 (word2 word3) [word4 word5]"
 the result is "[word4"
 
Thus searching for specific word chunks within text fails if the word is
contained within a round or square bracket.

For example:

repeat for each word tWord in "red (blue green) [orange purple]"
if tWord is "orange" then answer "found" 
end repeat

Though "orange" is a word (by general definition) in the text, it is not
found.

The same issue arises if there are certain punctuation characters at the end
of a word e.g "orange;"

Ideally one could define a set of comma-delimited characters that are
considered word delimiters in the same way that we can (temporarily) change
the itemDelimiter character:

e.g. set the WordDelimiters to "~,(,),{,},[,],;,:,comma, return,space,tab"

Similar to the itemDelimiter property, this property would be reset to the
default when the handler completes.

Perhaps there is already a solution to this that I don't know about? Yes,
one can preprocess the input text to remove parens and certain punctuation
characters but having the option for LiveCode to recognize them as word
delimiters would be more elegant (IMHO).

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Word-delimiters-tp4715709.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 8.1.4 and Xcode 8.3.3

2017-06-08 Thread hlowe via use-livecode
Thank you Panos.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LC-8-1-4-and-Xcode-8-3-3-tp4715579p4715596.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC 8.1.4 and Xcode 8.3.3

2017-06-08 Thread hlowe via use-livecode
The release docs for LC 8.1.4 state:

 "Last but not least, LiveCode 8.1.4 includes support for building iOS apps
using the latest iOS SDKs, included in Xcode 8.3.x."

Installed LC Indy 8.1.4 on a Mac under MacOS 10.12.5, installed the new
version of Xcode (8.3.3) and I get this error message when attempting to run
an LC iOS app in the simulator:

"Unable to start simulator: 634,0,0,iPhone Simulator version not found
573,220,1,reviPhoneSetSimulatorSDK"

Going to Preferences>Mobile Support and pointing at the newly installed
Xcode did not help. Reinstalled xCode 8.3.2 and everything back to normal.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LC-8-1-4-and-Xcode-8-3-3-tp4715579.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best Practice for updating the screen?

2017-05-23 Thread hlowe via use-livecode
A while back I encountered a problem with datagrids not correctly redrawing
(its a long story). One of the LC team suggested this code (in the card
script) to force a screen redraw:

command RedrawCard
   # forces a card redraw by the Engine
   set the backcolor of me to the backcolor of me
end RedrawCard

It fixed the problem that I was having. I agree with Richard that, in
general, locking and unlocking the screen is the standard approach to
forcing a screen update. 

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Best-Practice-for-updating-the-screen-tp4715086p4715095.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Detecting clicks in Segmented Control widget

2017-01-25 Thread hlowe via use-livecode
Thank you for the detailed reply. I will take a look at this possible
solution.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Detecting-clicks-in-Segmented-Control-widget-tp4711930p4711943.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Detecting clicks in Segmented Control widget

2017-01-25 Thread hlowe via use-livecode
I am switching over from a home-grown segmented control to LC's Segmented
Control widget. This widget receives a "hiliteChanged" message when the
selected segment changes but (apparently) no message is received by the
widget if the user clicks in the currently selected segment. I need to
respond to the user clicking in the currently selected segment of the
widget. Anyone know if it is possible to detect this event in the Segmented
Control widget? The widget does not appear to receive MouseUp or MouseDown
messages when clicked.

Thanks,

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Detecting-clicks-in-Segmented-Control-widget-tp4711930.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ ANN ] Release 8.1.3 RC-1

2017-01-20 Thread hlowe via use-livecode
I followed the advice about emptying the Plugins folder then adding back my
user plugins. Everything works as expected until I add back the DataGrid
Helper plugin 'ASG_DataGrid_Helper 2.1.rev'. If that file is in my Plugins
folder the other user plugins will not load. DataGrid Helper was working
fine in 8.1.2. Perhaps this is an incompatibility between DataGrid Helper
and LC 8.1.3 (RC-1)?

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-3-RC-1-tp4711784p4711805.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ ANN ] Release 8.1.3 RC-1

2017-01-20 Thread hlowe via use-livecode
Trevor,

Using 8.1.3 (RC 1) under Mac OS 10.12.2, all of my plug-ins are missing.
Temporarily deleting preference file(s) did not help. All was well with
8.1.2.

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-3-RC-1-tp4711784p4711795.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode