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 in Others by Kithuzzz
• 20,660 points

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 by narikkadan
• 37,660 points

Related Questions In Others

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,380 points
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 in Others by gaurav
• 22,040 points
0 votes
1 answer
0 votes
1 answer

Is there a way to search the iOS app store online?

Apple finally made it possible to just use ...READ MORE

answered Sep 21 in Others by rajatha
• 7,480 points
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,100 points
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
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
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
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 in Others by narikkadan
• 37,660 points
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 in Others by narikkadan
• 37,660 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP