# Elements RTL

**URL:** https://talk.remobjects.com/c/elements/rtl/15.md?page=1

[Latest](https://talk.remobjects.com/latest.md) · [Categories](https://talk.remobjects.com/categories.md) · [Tags](https://talk.remobjects.com/tags.md)

**Page:** 2

---

## [Problems to run Sugar.Test.Nougat.iOS](https://talk.remobjects.com/t/problems-to-run-sugar-test-nougat-ios/10319)

<div class="topic-metadata">

**Author:** [@Jose\_A\_Molina](https://talk.remobjects.com/u/Jose_A_Molina)\
**Replies:** 0\
**Last updated:** [August 7, 2016, 10:19am UTC](https://talk.remobjects.com/t/problems-to-run-sugar-test-nougat-ios/10319 "2016-08-07T10:19:06Z")

</div>

After removing the lines that prevent the compilation of Sugar.Test.Nougat.iOS, I have executed the project, showing numerous times the next window within Visual Studio: And it concludes by showing the following info…

---

## [Bug in sugar convert (iOS C#)](https://talk.remobjects.com/t/bug-in-sugar-convert-ios-c/10101)

<div class="topic-metadata">

**Author:** [@Peter\_Tribe](https://talk.remobjects.com/u/Peter_Tribe)\
**Replies:** 4\
**Last updated:** [July 18, 2016, 10:30pm UTC](https://talk.remobjects.com/t/bug-in-sugar-convert-ios-c/10101 "2016-07-18T22:30:27Z")

</div>

The following code puts into variable c "1,237" instead of expected "1.237" float a = 1.237; var c = Sugar.Convert.ToString(a);

---

## [Bug in JSON parser Sugar... (C#)](https://talk.remobjects.com/t/bug-in-json-parser-sugar-c/10009)

<div class="topic-metadata">

**Author:** [@Peter\_Tribe](https://talk.remobjects.com/u/Peter_Tribe)\
**Replies:** 4\
**Last updated:** [July 11, 2016, 5:07pm UTC](https://talk.remobjects.com/t/bug-in-json-parser-sugar-c/10009 "2016-07-11T17:07:05Z")

</div>

var result = JsonDocument.FromString("\[{\\"test\\":123}\]"); Throws error "Invalid Cast Exception"

---

## [Error upgrading from Silver 8.3.91.1965 to 8.3.93.1987 and Sugar shared project code fails?](https://talk.remobjects.com/t/error-upgrading-from-silver-8-3-91-1965-to-8-3-93-1987-and-sugar-shared-project-code-fails/9525)

<div class="topic-metadata">

**Author:** [@Koen\_Kraak](https://talk.remobjects.com/u/Koen_Kraak)\
**Replies:** 8\
**Last updated:** [September 1, 2020, 4:07am UTC](https://talk.remobjects.com/t/error-upgrading-from-silver-8-3-91-1965-to-8-3-93-1987-and-sugar-shared-project-code-fails/9525 "2020-09-01T04:07:25Z")

</div>

I upgraded to 8.3.93.1987 in order to have Sugar for iOS since they weren’t included in 8.3.91.1965. Once installed my Android project failed to build with the following error: (E0) Internal error: Object reference not…

---

## [Adding sugar to iOS project and compiling for simulator fails](https://talk.remobjects.com/t/adding-sugar-to-ios-project-and-compiling-for-simulator-fails/9799)

<div class="topic-metadata">

**Author:** [@Peter\_Tribe](https://talk.remobjects.com/u/Peter_Tribe)\
**Replies:** 1\
**Last updated:** [June 23, 2016, 6:32pm UTC](https://talk.remobjects.com/t/adding-sugar-to-ios-project-and-compiling-for-simulator-fails/9799 "2016-06-23T18:32:36Z")

</div>

Creating a simple iOS application and adding a reference to libSugar fails compile for simulator with the following error... ld: symbol(s) not found for architecture i386

---

## [Sugar Json example?](https://talk.remobjects.com/t/sugar-json-example/9675)

<div class="topic-metadata">

**Author:** [@contoso](https://talk.remobjects.com/u/contoso)\
**Replies:** 3\
**Last updated:** [June 14, 2016, 6:21am UTC](https://talk.remobjects.com/t/sugar-json-example/9675 "2016-06-14T06:21:11Z")

</div>

Hello? I downloaded latest beta and add references with "sugar, sugar.data" in github test example of json, they references sugar.data.JSON however, in my ide, it says there is no such thing... i think sugar on g…

---

## [What is a proper way to wait Sugar Http response callback?](https://talk.remobjects.com/t/what-is-a-proper-way-to-wait-sugar-http-response-callback/9474)

<div class="topic-metadata">

**Author:** [@contoso](https://talk.remobjects.com/u/contoso)\
**Replies:** 2\
**Last updated:** [May 22, 2016, 10:42pm UTC](https://talk.remobjects.com/t/what-is-a-proper-way-to-wait-sugar-http-response-callback/9474 "2016-05-22T22:42:05Z")

</div>

I lately discovered that the potential of Sugar library could be awesome. I noticed that the test case of sugar http uses EUnit's Waittoken, However I am very curious about the possibility to utilize async or await syn…

---

## [Sugar.DateTime constructor bug](https://talk.remobjects.com/t/sugar-datetime-constructor-bug/9333)

<div class="topic-metadata">

**Author:** [@Koen\_Kraak](https://talk.remobjects.com/u/Koen_Kraak)\
**Replies:** 3\
**Last updated:** [May 11, 2016, 11:13am UTC](https://talk.remobjects.com/t/sugar-datetime-constructor-bug/9333 "2016-05-11T11:13:12Z")

</div>

When initializing a DateTime and printing it results in the wrong time being printed: You can reproduce it by executing the following code: print("Time = \\(Sugar.DateTime(2000, 2, 14, 0, 0, 0).ToString())") The outp…

---

## [Trying to follow the example](https://talk.remobjects.com/t/trying-to-follow-the-example/8875)

<div class="topic-metadata">

**Author:** [@gmurt](https://talk.remobjects.com/u/gmurt)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 12:57pm UTC](https://talk.remobjects.com/t/trying-to-follow-the-example/8875 "2016-04-07T12:57:52Z")

</div>

Again, I'm sorry for all the questions, but as a long-time Delphi developer, I'm sure these are questions which would be asked by other developers who are new to Elements/Fire I'm trying to understand the code structur…

---

## [Sugar TimeSpan vs. Timespan](https://talk.remobjects.com/t/sugar-timespan-vs-timespan/7890)

<div class="topic-metadata">

**Author:** [@Sevan](https://talk.remobjects.com/u/Sevan)\
**Replies:** 21\
**Last updated:** [April 1, 2016, 9:39am UTC](https://talk.remobjects.com/t/sugar-timespan-vs-timespan/7890 "2016-04-01T09:39:45Z")

</div>

Hi, I'm trying to write a simple profiler to measure how long operations take and the simplest way that I can see of doing this with Sugar is something like: let startTicks = DateTime.Now.Ticks ...execute operation..…

---

## [Sugar.json.JsonObject.getKeys: java.lang.ClassCastException](https://talk.remobjects.com/t/sugar-json-jsonobject-getkeys-java-lang-classcastexception/8247)

<div class="topic-metadata">

**Author:** [@Loreto\_Parisi](https://talk.remobjects.com/u/Loreto_Parisi)\
**Replies:** 6\
**Last updated:** [September 1, 2020, 3:07am UTC](https://talk.remobjects.com/t/sugar-json-jsonobject-getkeys-java-lang-classcastexception/8247 "2020-09-01T03:07:51Z")

</div>

On a Android target with sugar.jar from Sugar develop tree, I have a cast error: java.lang.ClassCastException: java.lang.Object\[\] cannot be cast to java.lang.String\[\] Full strack trace: at sugar.json.JsonObject.g…

---

## [Error when referencing Sugar](https://talk.remobjects.com/t/error-when-referencing-sugar/7707)

<div class="topic-metadata">

**Author:** [@papa](https://talk.remobjects.com/u/papa)\
**Replies:** 15\
**Last updated:** [February 3, 2016, 3:44pm UTC](https://talk.remobjects.com/t/error-when-referencing-sugar/7707 "2016-02-03T15:44:38Z")

</div>

Disclaimer : total noob, attempting to use Sugar I have a working very basic Android app and attempting to use a Shared project. I have some Sugar code in the shared class which will be called from the Android project…

---

## [Threading in Sugar](https://talk.remobjects.com/t/threading-in-sugar/7790)

<div class="topic-metadata">

**Author:** [@Andrey](https://talk.remobjects.com/u/Andrey)\
**Replies:** 8\
**Last updated:** [January 28, 2016, 4:10pm UTC](https://talk.remobjects.com/t/threading-in-sugar/7790 "2016-01-28T16:10:31Z")

</div>

From your documentation http://docs.elementscompiler.com/API/Sugar/Sugar.Threading/ it is not clear for me - what exactly Sugar support in threading. Does it support, let's say thread spawning, wait for thread, etc... O…

---

## [Compile Sugar.sln on Fire/MacOSX](https://talk.remobjects.com/t/compile-sugar-sln-on-fire-macosx/7857)

<div class="topic-metadata">

**Author:** [@Loreto\_Parisi](https://talk.remobjects.com/u/Loreto_Parisi)\
**Replies:** 7\
**Last updated:** [January 12, 2016, 8:48am UTC](https://talk.remobjects.com/t/compile-sugar-sln-on-fire-macosx/7857 "2016-01-12T08:48:23Z")

</div>

I was trying to compile Sugar project on MacOSX 10.10.5 Yosemite, since I need some frameworks to be added to my shared library project (Sugar.Data). I'm using Xcode macbookproloreto:sugar admin$ xcodebuild -version …

---

## [Is there a currency type in sugar?](https://talk.remobjects.com/t/is-there-a-currency-type-in-sugar/7783)

<div class="topic-metadata">

**Author:** [@landrix](https://talk.remobjects.com/u/landrix)\
**Replies:** 3\
**Last updated:** [December 27, 2015, 2:47pm UTC](https://talk.remobjects.com/t/is-there-a-currency-type-in-sugar/7783 "2015-12-27T14:47:59Z")

</div>

Is there a currency type in sugar?

---

## [ArrayOutOfBounds exception during Android app build process](https://talk.remobjects.com/t/arrayoutofbounds-exception-during-android-app-build-process/7699)

<div class="topic-metadata">

**Author:** [@Sevan](https://talk.remobjects.com/u/Sevan)\
**Replies:** 14\
**Last updated:** [December 16, 2015, 6:49pm UTC](https://talk.remobjects.com/t/arrayoutofbounds-exception-during-android-app-build-process/7699 "2015-12-16T18:49:12Z")

</div>

Hi, I've just started playing with Silver and am trying to create a small app using Sugar. I currently only have a basic Android project containing a layout with 2 elements and a Shared Project that has a single class…

---

## [Pull Request](https://talk.remobjects.com/t/pull-request/7712)

<div class="topic-metadata">

**Author:** [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)\
**Replies:** 1\
**Last updated:** [December 13, 2015, 8:47pm UTC](https://talk.remobjects.com/t/pull-request/7712 "2015-12-13T20:47:37Z")

</div>

Sorry for being impatient I did a pull request for sugar I just wanted to make sure I had done it right and somebody had seen it and would get around to it at some point ? Thanks, John

---

## [Unable to build Sugar for iOS or OSX](https://talk.remobjects.com/t/unable-to-build-sugar-for-ios-or-osx/2978)

<div class="topic-metadata">

**Author:** [@deltics](https://talk.remobjects.com/u/deltics)\
**Replies:** 15\
**Last updated:** [October 2, 2015, 7:45am UTC](https://talk.remobjects.com/t/unable-to-build-sugar-for-ios-or-osx/2978 "2015-10-02T07:45:06Z")

</div>

---

## [Sugar.DateTime.ToString fails in Java](https://talk.remobjects.com/t/sugar-datetime-tostring-fails-in-java/6584)

<div class="topic-metadata">

**Author:** [@arturredzko](https://talk.remobjects.com/u/arturredzko)\
**Replies:** 17\
**Last updated:** [September 11, 2015, 9:10am UTC](https://talk.remobjects.com/t/sugar-datetime-tostring-fails-in-java/6584 "2015-09-11T09:10:12Z")

</div>

Current public release introduced a bug in DateTime.ToString. The method should end with : exit Formatter.format(mapped.Time); but now it's exit Formatter.format(mapped); causing error.

---

## [Time unit bug in Sugar.Threading.Thread.Sleep](https://talk.remobjects.com/t/time-unit-bug-in-sugar-threading-thread-sleep/6558)

<div class="topic-metadata">

**Author:** [@Esword](https://talk.remobjects.com/u/Esword)\
**Replies:** 2\
**Last updated:** [August 7, 2015, 9:49am UTC](https://talk.remobjects.com/t/time-unit-bug-in-sugar-threading-thread-sleep/6558 "2015-08-07T09:49:48Z")

</div>

Occasionally find this bug in Sugar when investigate a problem. Code from https://github.com/remobjects/sugar/blob/master/Sugar/Threading/Thread.pas: class method Sleep(aTimeout: Integer); mapped to {$IF COOPER OR ECHO…

---

## [Sugar Http Runtime Error with Xcode](https://talk.remobjects.com/t/sugar-http-runtime-error-with-xcode/6283)

<div class="topic-metadata">

**Author:** [@Salman](https://talk.remobjects.com/u/Salman)\
**Replies:** 4\
**Last updated:** [June 7, 2015, 12:28pm UTC](https://talk.remobjects.com/t/sugar-http-runtime-error-with-xcode/6283 "2015-06-07T12:28:16Z")

</div>

I've created a shared project for writing some Http abstraction using Sugar and exposed it as a iOS Class Library and Android Class Library in Fire. When I use the created jar files in Android Studio, the function using …

---

## [Sugar dates and NSPredicate](https://talk.remobjects.com/t/sugar-dates-and-nspredicate/6093)

<div class="topic-metadata">

**Author:** [@jeremy](https://talk.remobjects.com/u/jeremy)\
**Replies:** 0\
**Last updated:** [April 28, 2015, 11:19am UTC](https://talk.remobjects.com/t/sugar-dates-and-nspredicate/6093 "2015-04-28T11:19:04Z")

</div>

I have a problem when using Sugar's dates when using them with NSPredicate. If I use the following: var startDate,endDate : NSDate; endDate:= NSDate.date; var components: NSDateComponents := NSCalendar.currentCal…

---

## [\[68595 Open\] Implicit Sugar.String type conversion problem](https://talk.remobjects.com/t/68595-open-implicit-sugar-string-type-conversion-problem/4532)

<div class="topic-metadata">

**Author:** [@carlosfrias](https://talk.remobjects.com/u/carlosfrias)\
**Replies:** 2\
**Last updated:** [August 28, 2014, 5:32pm UTC](https://talk.remobjects.com/t/68595-open-implicit-sugar-string-type-conversion-problem/4532 "2014-08-28T17:32:50Z")

</div>

I am using Oxygene 7.1.76.1545 with VS 2012 My iOS application crash on simulator when i use implicit Sugar.String type conversion from Char. Problem example: method RootViewController.tabBar(aTabBar: UITabBar) didSe…

---

## [Latest doesn't build](https://talk.remobjects.com/t/latest-doesnt-build/3956)

<div class="topic-metadata">

**Author:** [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)\
**Replies:** 4\
**Last updated:** [March 22, 2014, 10:27am UTC](https://talk.remobjects.com/t/latest-doesnt-build/3956 "2014-03-22T10:27:05Z")

</div>

---

## [RTTI / Reflection as new feature for Sugar](https://talk.remobjects.com/t/rtti-reflection-as-new-feature-for-sugar/3873)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 8\
**Last updated:** [March 10, 2014, 4:02pm UTC](https://talk.remobjects.com/t/rtti-reflection-as-new-feature-for-sugar/3873 "2014-03-10T16:02:44Z")

</div>

---

## [Compiling iOS Tests for device - strange linker error](https://talk.remobjects.com/t/compiling-ios-tests-for-device-strange-linker-error/3728)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 6\
**Last updated:** [February 28, 2014, 12:38pm UTC](https://talk.remobjects.com/t/compiling-ios-tests-for-device-strange-linker-error/3728 "2014-02-28T12:38:52Z")

</div>

---

## [CPU Architecture management in references](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 3\
**Last updated:** [February 14, 2014, 12:54pm UTC](https://talk.remobjects.com/t/cpu-architecture-management-in-references/3727 "2014-02-14T12:54:54Z")

</div>

---

## [My first pull request for Sugar](https://talk.remobjects.com/t/my-first-pull-request-for-sugar/3723)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 3\
**Last updated:** [February 12, 2014, 11:06am UTC](https://talk.remobjects.com/t/my-first-pull-request-for-sugar/3723 "2014-02-12T11:06:21Z")

</div>

---

## [Error compiling OSX TestFramework project](https://talk.remobjects.com/t/error-compiling-osx-testframework-project/3717)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 2\
**Last updated:** [February 11, 2014, 2:32pm UTC](https://talk.remobjects.com/t/error-compiling-osx-testframework-project/3717 "2014-02-11T14:32:46Z")

</div>

---

## [What kind of license have Sugar?](https://talk.remobjects.com/t/what-kind-of-license-have-sugar/3093)

<div class="topic-metadata">

**Author:** [@deksden](https://talk.remobjects.com/u/deksden)\
**Replies:** 7\
**Last updated:** [October 4, 2013, 9:25pm UTC](https://talk.remobjects.com/t/what-kind-of-license-have-sugar/3093 "2013-10-04T21:25:49Z")

</div>

[Previous page](https://talk.remobjects.com/c/elements/rtl/15.md)

[Next page](https://talk.remobjects.com/c/elements/rtl/15.md?page=2)
