Posts

Post not yet marked as solved
0 Replies
226 Views
I am writing a simple iOS app to let people know their rating and how that rating increases or decreases with each game they play. But I am having difficulty with what should be a simple task. I've tried everything, like playerGrade = playerGrade + PointsGained but to no avail. I have sort of tried to set up an array which appends the value of PointsGained to a file which I can post process but this is difficult as well. Does anyone have any ideas? When I implements this simple task it comes up with an error that the compiler can't process the types in sufficient time. Thanks, Dave
Posted
by DJN1972.
Last updated
.
Post not yet marked as solved
1 Replies
309 Views
This may be trivial to some but I just would like to know if you can copy an array to a new array and change the type of the data for each column of elements? I have loaded a file into an array as String data as I can't seem to do it any other way (i.e. as another type) I now want to convert some of the columns to a different type in possibly a new array. I have an array full of string data and I would like to convert it to Double, or some Int, data so that I can easily do my calculations. I would appreciate as much info as possible as I am relatively new to SwiftUI and Xcode. Many thanks, D Norris
Posted
by DJN1972.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
Although possibly frowned upon, collections of data are commonly input into spreadsheets and this remains, and probably alway will, the main means of data collection and storage rather than databases for scientists everywhere. It is necessary, therefore, to ascertain ways in which data acquired and stored through these means can be successfully extracted and put in a format which can be displayed using modern means of technology. Mobile phones and Tablets are commonly and increasingly being used to access and display data. However, the means by which these data are transferred are through Databases which may not be appealing to some who use spreadsheets to acquire and store their data. The important question is: Is there some straightforward means by which spreadsheet data (perhaps comma separated value (csv) files) can be read by the latest SwiftUI and Xcode 16 formats? This would be an enormous advantage to those who update files of data regularly. If this is so, then I will gladly spend the time to learn the nomenclature and structural language necessary to implement a simple app to display some rather complex data. I have scanned the forum for satisfactory suggestions to this problem but it seems that the software has moved on but the problem remains. Kind Regards,
Posted
by DJN1972.
Last updated
.