Top Custom tabs bar displaying today and 1 week dates


A beginner in iOS Objective C, I need to some help to create a custom tab as shown in the pic.

<a href="https://i.stack.imgur.com/M9OwG.png" rel="nofollow"><img alt="Custom Tab" class="b-lazy" data-src="https://i.stack.imgur.com/M9OwG.png" data-original="https://i.stack.imgur.com/M9OwG.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

The custom tab will show today's plus 6 days date. Then when user click on the dates, it will call a uRL. I need some pointers if possible. All help is highly appreciated, thank you very much.


You could use some third-party segmented controls. For Objective-C is could be <a href="https://github.com/cwRichardKim/RKSwipeBetweenViewControllers" rel="nofollow" title="this">this</a> or <a href="https://github.com/dzenbot/DZNSegmentedControl" rel="nofollow">this</a>, then you get 6 next dates from current date, for example this code adds 1 day to current date and etc.:

NSDateComponents *dayComponent = [[NSDateComponents alloc] init]; dayComponent.day = 1; NSCalendar *theCalendar = [NSCalendar currentCalendar]; NSDate *nextDate = [theCalendar dateByAddingComponents:dayComponent toDate:[NSDate date] options:0]; NSLog(@"nextDate: %@ ...", nextDate);


  • Get Quarters StartDate and EndDate from Year
  • MS SQL Server 2008 :Getting start date and end date of the week to next 8 weeks
  • How to create list with carousel effect in android
  • Emulate User Activity
  • How many percent of the tweets does twitter sample API give?
  • eC (Ecere) how to not worry about private data fields of a class
  • Aggregating two data frame columns without any existing pattern logic
  • including Python.h in C++ file CDT
  • data.table replicate rows after join?
  • XSLT foreach repeating nodes to flat
  • Lock Horizontal View
  • How to access culture data in globalize.js V1.0.0
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • How to define and use opencv mat of user type
  • print() is showing quotation marks in results
  • Custom Tabgroup Appcelerator
  • Record samples being played with OpenAL
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Projection media query: browser support and workarounds?
  • Illegal mix of collations for operation for date/time comparison
  • Different response to non-authenticated users and AJAX calls
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • Can a Chrome extension content script make an jQuery AJAX request for an html file that is itself a
  • Release, debug version and Authorization Google?
  • jquery mobile loadPage not working
  • Circular dependency while pushing http interceptor
  • Data Validation Drop Down Box Arrow Disappearing
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • How to set the response of a form post action to a iframe source?
  • Hits per day in Google Big Query
  • How do you join a server to an Active Directory (domain)?
  • Change div Background jquery
  • How does Linux kernel interrupt the application?
  • Authorize attributes not working in MVC 4
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Why do underscore prefixed variables exist?
  • Net Present Value in Excel for Grouped Recurring CF