A sample iOS application to display the Number of total issues in github repo
NOTE:The Issues Values Differ Based on the Simulator's Variable Time.
Sample Api Links
Total Issues
Last 24 Hours
Last 7 days
Solution Explaination
This is a multi-threaded application where the threads are designed to fetch the count of open issues from the github api
Thread 1: Gets the total issues from the provided correct Url.
Thread 2: Gets the total issues opened in the last 24 hours.
Thread 3: Gets the total issues opened before 24 hours but within 7 days.
The Total number of issues opened more than 7 days ago are calculated from the following calculation
Total issues opened 7 days ago = Total open issues - total issues opened in 24 hours - total issues in the last 7 days
Future Improvement
Can provide the complete issues statistic for a user or an organisation and also provide a time based chart ploting the issues opened and closed in project. Along with the list of contributors and filters to it. Options to create and maintain Issues from Mobile Device.