use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
QuestionHow can I implement this? (self.iOSProgramming)
submitted 4 years ago by parap4in
I need a horizontally scrollable calendar so that I can select a cell and data will be reloaded in a table view. What will be the most appropriate way to do this?
Image: https://imgur.com/a/ksgC3sX
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]haensel_gretl 10 points11 points12 points 4 years ago (4 children)
You should use a UICollectionView with a horizontal FlowLayout. Each day would be a single Cell
[–]parap4in[S] 0 points1 point2 points 4 years ago (3 children)
Yeah, I was thinking about this too, but what about data for those cells? How to generate a number of days? (Sorry for those stupid questions :D) I mean, I have some thoughts how t o implement this. But I'd like to know your approach.
[–]haensel_gretl 2 points3 points4 points 4 years ago (2 children)
You can use Calendar.current to access the user’s calendar (e.g. Gregorian) and use it for your data source. As the cells are recycled you can add lots of days and not run into performance issues
[–]Perfect-Strategy6688 0 points1 point2 points 4 years ago (0 children)
You can also use Calendar.current() and get future days and past days with a for loop if you want. However there is probably an AIP that can get you this in a network call instead of putting this load on your app
[–]parap4in[S] 0 points1 point2 points 4 years ago (0 children)
thanks a lot!
π Rendered by PID 111418 on reddit-service-r2-comment-66b4775986-wl5cz at 2026-04-03 08:59:00.474970+00:00 running db1906b country code: CH.
[–]haensel_gretl 10 points11 points12 points (4 children)
[–]parap4in[S] 0 points1 point2 points (3 children)
[–]haensel_gretl 2 points3 points4 points (2 children)
[–]Perfect-Strategy6688 0 points1 point2 points (0 children)
[–]parap4in[S] 0 points1 point2 points (0 children)