Display a table in the html Excel spreadsheet meaning in a iOS app in Swift

0 votes

I've been searching for answers about how to achieve this, but I'm getting a little lost.

I want to show data tables in my app, but not in the way that Apple's TableView does; rather, I want them to look more like Excel or HTML tables. Additionally, I'll have numerous tables like this on different pages of my app that I want to style uniformly, even if they won't all have the same number of rows or columns. Those tables might be shown on the screen along with pictures or text, but hardly ever by themselves. (I thus require a component I can include in a UIViewController)

Essentially, a table similar to this (I put this off Google Images because my data is confidential)

enter image description here

I have a theory on how to do this but I'm not sure it's right or exactly how to do it.

My theory is I should create a subclass of UICollectionView, let's call it MyTablesView. MyTablesView would have a variable named data. My pages/VC that contain a table will have an instance of MyTablesView and feed it data in this variable. MyTablesView takes care of styling and displaying this data.

So I guess my question is: How do I subclass a UICollectionView properly to display the data that will be given to it by a ViewController?

Oct 29, 2022 in Others by Kithuzzz
• 38,010 points
419 views

1 answer to this question.

0 votes

Here is the answer to your question: How to make a simple collection view with Swift.

answered Oct 29, 2022 by narikkadan
• 63,420 points

Related Questions In Others

0 votes
1 answer

Error Trying to Display The Names of All Excel Data Models in a Workbook

It is necessary to list ThisWorkbook.model. Not ...READ MORE

answered Apr 10, 2023 in Others by Kithuzzz
• 38,010 points
284 views
0 votes
1 answer

How to retrieve the value of a text field in Flutter App?

Hi@akhtar, In your TextField, you can call one ...READ MORE

answered Sep 3, 2020 in Others by MD
• 95,440 points
1,531 views
0 votes
1 answer

How to import data from a HTML table on a website to excel?

Hello  To import any HTML file in excel there ...READ MORE

answered Feb 10, 2022 in Others by gaurav
• 23,260 points
6,463 views
0 votes
1 answer

Get User Group in Swift using AWS Cognito

The groups are exposed in the ID ...READ MORE

answered Nov 12, 2018 in AWS by Priyaj
• 58,090 points
1,334 views
0 votes
1 answer

URL Scheme for iOS Home App

I think you could try doing it ...READ MORE

answered Nov 16, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
924 views
0 votes
1 answer

iOS App : Porting Code to App

If you make a post, missing parameters ...READ MORE

answered Jan 18, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
418 views
0 votes
1 answer

swift for windows? xcode on windows? ?

Hi, @Aminegac, If you’re a little more technically ...READ MORE

answered Dec 4, 2020 in Others by Nikita
1,364 views
0 votes
1 answer

Pivot Chart Table in Excel To Calculate the Count and Display the Chart

It should look something like this: READ MORE

answered Nov 6, 2022 in Others by narikkadan
• 63,420 points
545 views
0 votes
1 answer

What does the " @ " symbol mean in Excel formula (outside a table)

Excel has recently introduced a huge feature ...READ MORE

answered Nov 26, 2022 in Others by narikkadan
• 63,420 points
1,001 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP