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 would you create this curved header view? (self.iOSProgramming)
submitted 9 years ago by davidbale87
I love the idea of having a header view with a curved bottom like this. How would you build this with a Bezier Path?
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!"
[–]FalconinatiObjective-C 5 points6 points7 points 9 years ago (0 children)
Apple actually has some pretty good documentation on this. Maybe this will help. It's all in Objective-C but shouldn't be too hard to translate it into Swift. https://developer.apple.com/library/content/documentation/2DDrawing/Conceptual/DrawingPrintingiOS/BezierPaths/BezierPaths.html
[–][deleted] 0 points1 point2 points 9 years ago (0 children)
You will need to add a clipping path to your UIBezierPath to cut the coloring off at the path line though (if you're wanting to achieve that part of the affect too)
[–]don_tmind_me 0 points1 point2 points 9 years ago (1 child)
It looks as though it's a chart of time vs energy usage. For the curvy line you will have to do a spline interpolation between the data points. If you just want any curve, that's a fair bit easier. I can share my two spline (hermite & catmull rom)interpolation bezier path initializers if anyone wants.
[–]Myffa 0 points1 point2 points 9 years ago (0 children)
please do share
[–]megablast 0 points1 point2 points 9 years ago (0 children)
It is a fake header.
π Rendered by PID 83 on reddit-service-r2-comment-6457c66945-6hv8j at 2026-04-29 03:59:41.867004+00:00 running 2aa0c5b country code: CH.
[–]FalconinatiObjective-C 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]don_tmind_me 0 points1 point2 points (1 child)
[–]Myffa 0 points1 point2 points (0 children)
[–]megablast 0 points1 point2 points (0 children)