iOS app for 5calls.org

Related tags

Content App ios
Overview

5Calls iOS App

This is the repository for the iOS app for 5Calls.org.

BuddyBuild

Requirements

  • Xcode 10.2.1
  • iOS 10.2

Getting Started

Install the dependencies:

bundle install

Using R.swift

R.swift removes the need to use "stringly typed" resources. Instead, you can reference your app's resources Android-style, which is strongly typed. Benefits are less casting, compile time checking for resources, and a little less code. See examples for each type here.

Note: Since 5Calls uses prototype cells instead of cell nibs, this is all you need to dequeue a cell:

let cell = tableView.dequeueReusableCell(withIdentifier: R.reuseIdentifier.setLocationCell, for: indexPath)!

Testflight Builds

This currently has to be done by Ben

Install the dependencies:

bundle install

Make sure you have a .env file with the following keys defined:

  • APPLE_ID
  • TEAM_ID
  • ITUNES_CONNECT_TEAM_ID
  • FASTLANE_APPLE_APP_SPECIFIC_PASSWORD

Update the build number manually (for now).

Then run:

fastlane beta

License

This project is released open source under the MIT License. See LICENSE for more details.

Contributors

Acknowledgments

Thanks to Nick O'Neill for organizing the 5calls project.

Comments
  • Remove Pantry pod

    Remove Pantry pod

    Depends on #179.

    The project uses Pantry for deserialisations and storage. As noted in Pantry's README, it is no longer going to be supported.

    So we should probably refactor to use the Codable protocol available in Swift 4. Not a small job.

    opened by Abizern 24
  • Markdown Rendering Added

    Markdown Rendering Added

    First pass at fixing #214. I am using the CSS file used for other parts of the app for now (see results below).

    Should we create a custom CSS just for Issues? Or does this look okay?

    simulator screen shot - iphone x - 2018-06-26 at 20 09 02

    Also the app takes a lot longer to startup due to Markdown parsing. May look to what we can do to speed that up a bit. May compare other Markdown parsers for speed.

    opened by mccarron 18
  • Fully Transparent Header on Issues List

    Fully Transparent Header on Issues List

    Not sure why or how this happened, but @nickoneill reported this.

    pasted image at 2017_02_09 10_37 pm 1

    I thought it was maybe Transparency turned off in Accessibility but that wasn't it. Hopefully someone has seen similar and can help reproduce this one.

    bug help wanted 
    opened by mccarron 16
  • Cells don't resize correctly after rotation

    Cells don't resize correctly after rotation

    When rotating from Portrait -> Landscape -> Portrait the cells do not resize correctly. There is too much vertical space.

    Scrolled cells do resize though.

    1 - initial portrait

    2 - rotated to landscape

    3 - rotated back to portrait

    opened by Abizern 15
  • - Changes to group issues by categories on the 'more issues' screen. …

    - Changes to group issues by categories on the 'more issues' screen. …

    #174 - Group by category on the more issues page

    Hi people - I am late to the party, this is my first open source PR :). Let me know if I need to make any changes.

    • Changes to group issues by categories on the 'more issues' screen. No changes to Home: still shows just the 'active' issues.
    • Issues are now fetched using the all==true flag — that means issues are not refetched again on the 'more issues' screen.

    Details:

    • Fetching issues:

      • Removed the Query (active, inactive) enum - now FetchIssuesOperation fetches all issues whenever 'fetchIssues' method IssuesManager is called.
      • IssuesViewController now does not create its own instance of IssuesManager. Instead the caller has to create and pass IssuesManager instance to IssuesViewController. This way issues that are already downloaded are shared between Home and More issues screen (this is because Home passes its own IssueManager reference to More issues in prepare segue).
    • Showing only 'active' issues on Home:

      • Because IssuesManager now fetches all issues - IssuesViewController has to selectively display only 'active' issues.
      • Instead of filtering on the main thread - hiding the row (by returning height 0) for inactive issues.
    • Grouping issues by category on more issues screen:

      • After downloading all issues, IssuesManager creates the category->[Issues] relationship.
      • This step also involves creating 'Uncategorised issues' section for issues that are not part of any category (this matches with the way things are implemented on the web front end)
      • Finally categories are alphabetically sorted. All three steps happen on a BG thread.
    • UI changes:

    • Home:

      • 'Whats important' header is now not sticky (scrolls away as the user scrolls). This is because earlier this was implemented as a section header - whereas in this PR 'whats important' is now a tableHeader.
      • This impacts Home.
    • More issues screen:

      • 'Whats important' header is now NOT displayed on the more issues screen - I am not sure if this is expected behaviour. Did this because this header along with the first category header was not looking nice.
      • Category headers are displayed in the same style as existing header style - may be we can improve the UI a bit here (see the attached screen shots).
      • Uncategorised issues are always shown last - after all other categories.
    opened by indraShan 12
  • Crash in welcome page view controller

    Crash in welcome page view controller

    opened by subdigital-gitbot 12
  • Issues are in the incorrect order on iOS

    Issues are in the incorrect order on iOS

    We just posted a new call and it appears near the bottom of the results on iOS. Previously (at least I'm pretty sure?) the order was the same as the website.

    As of yet, the order is determined only by the order in which it appears in the json, we have a proper ordering value on the server side though that we could pass through to clients if it makes more sense.

    screen shot 2018-11-08 at 9 14 30 am

    vs

    img_3541

    opened by nickoneill 11
  • Split Congressional District alert with Use My Location option

    Split Congressional District alert with Use My Location option

    I'm getting the Split Congressional District alert even when I use the Core Location option in lieu of entering my Zip code. If there's something about my location that makes the lookup unreliable, perhaps the dialog should be reworded?

    I can see about collecting some additional info later for you folks.

    opened by jablair 10
  • #40 - Local weekday reminder to make your 5 calls

    #40 - Local weekday reminder to make your 5 calls

    Implemented to allow user to selectively choose weekdays

    • created a multipleSelection view
    • added a time selector, but the same time is applied to all
    opened by chrisbrandow 8
  • Dynamic type support - Issue Detail & Call Script

    Dynamic type support - Issue Detail & Call Script

    Updated 10 Oct 18

    This PR adds basic Dynamic Type support (#144) to the IssueDetailViewController & CallScriptViewController.

    Approach

    The changes for full Dynamic Type support are going to land up touching each screen so I'd suggest we break this into multiple PR's if that sounds good with everyone? There are a lot of Gotchas when trying to support the Extra large AX1 - AX5 sizes so I'd suggest we break this down as follows:

    • Pull Request into master for 1-2 screens at a time
    • First iteration -> Best effort to support xSmall -> xxxLarge with minimal refactoring. (Largely storyboard changes)
    • Future iterations -> Improvements to AX1-AX5 font sizes or that require larger code changes (Moving to StackViews, etc)
    • I'd like to suggest we ignore visual defects that:
      • are only reproducible when changing Dynamic Type while a ViewController is on screen. This is such a low usage scenario that it’s not worth focusing on imho.
      • only occur at the extra large sizes AX1-AX5 for the first few passes.

    Does that sound like a reasonable approach to everyone?

    Changes in the PR

    |Screen | small | xxxLarge | | --- | --- | --- | | Issue Detail | detail-small | detail-xxxlarge | | Issue Detail + profile | detail-profile-small | detail-profile-xxxlarge | | Call Page | call-small | call-large |

    Deferred to later

    • The Call Script page uses a collectionView for the dynamic buttons. To support dynamic height here we'd either have to look at resizable CollectionViewCells or potentially move to a simpler Stack View layout that can easily switch between a grid and a vertical stack.
    • The Call Script header breaks down at AX2
    opened by iainsmith 7
  • Aint Easy Being Green

    Aint Easy Being Green

    An attempt at addressing #142 with the following changes.

    1. Nice green result buttons
    2. The checkmark view was turned into a Progress View. It draws the progress in green around the bordering circle. A checkmark is still shown as before if you are 100% complete.

    simulator screen shot - iphone 8 - 2017-10-18 at 22 38 13

    simulator screen shot - iphone 8 - 2017-10-18 at 22 37 52

    opened by jarbogast 7
  • iOS14: App Clip

    iOS14: App Clip

    An app clip to support a "QR" code that could be added to emails, flyers, posters etc regarding an issue.

    The app clip would support loading the Issue detail, getting the general location and providing the contact details of relevant representatives.

    https://developer.apple.com/app-clips/

    iOS 14 
    opened by Abizern 2
  • iOS 14: One-time Location

    iOS 14: One-time Location

    We're a perfect fit for one of the latest improvements in privacy for iOS 14: one time use location prompts. We only get your location once when setting it and then we never use it again unless the user needs to change their location so providing access whenever the app is open is excessive.

    • If a user is on iOS 14, when getting location automatically prompt for one-time access only.
      • Users on iOS 13 and before should get the old behavior.
    help wanted starter-issue iOS 14 
    opened by nickoneill 0
  • iOS 14: Home Screen Widgets

    iOS 14: Home Screen Widgets

    Ideas coming out from WWDC 2020: we should add a widget or two. Open to more ideas for what we should display. I'll go into detail about one that I've thought of below:

    Your Reps

    Once users have a location set we have a cached set of your main reps (2 senators, 1 house rep) and it would be nice to give people a Rep Speed Dial widget on their home screen. Medium format, three circles with names and titles below. I'll do a little wireframe when I have a moment to describe it better.

    enhancement help wanted iOS 14 
    opened by nickoneill 9
  • IssuesManager.swift line 48

    IssuesManager.swift line 48

    opened by subdigital-gitbot 0
  • No-issue list of reps with phone numbers

    No-issue list of reps with phone numbers

    Some folks want to just get reps phone numbers and call about issues not on the list. It would be good to have a generic page showing all your reps and their numbers for this.

    post-election review 
    opened by nickoneill 1
Sample app to demonstrate data sharing between a WatchKit app and its main app using Realm

#Done! A sample app demonstrating how to share data between an app an its Watch extension using Realm. You can read more about it here. ##Screenshot #

Fancy Pixel 147 Dec 8, 2022
An experimental clone of the new iOS 11 App Store app

appstore-clone An experimental clone of the new iOS 11 App Store app for this Medium Article Description Apple announced an entirely redesigned iOS Ap

Phill Farrugia 498 Dec 13, 2022
iOS app to record how much things cost using various data persistence implementations.

how-much iOS app to record how much things cost using various data persistence implementations. The basic data unit is an item, a simple dictionary: {

null 22 Aug 15, 2022
The (second) best iOS app for GitHub.

GitHawk is the second-highest rated iOS app for GitHub. Features 0️⃣ Inbox Zero your notifications ?? Comment even faster than on GitHub desktop ?? Th

GitHawk 2.8k Dec 23, 2022
Development of the TUM Campus App for iOS devices - for and from students at Technical University of Munich.

Tum Campus App - An Unofficial Guide Through University Life The TUM Campus App (TCA) is an open source project, developed by volunteers and available

TUM Developers 93 Dec 16, 2022
Lightweight iOS Photo Blur App

Blurry Blurry is the go-to image blurring tool to help you apply beautiful blurs for your photos. It is perfect for creating wallpapers, backgrounds,

Andy 17 Nov 22, 2022
Alfresco iOS App - Alfresco is the open platform for business-critical content management and collaboration.

Welcome to the Alfresco iOS App Alfresco is the open platform for business-critical content management and collaboration. Alfresco Mobile was designed

Alfresco Software 42 Sep 26, 2022
📱 Nextcloud iOS app

Nextcloud iOS app Check out https://nextcloud.com and follow us on twitter.com/nextclouders or twitter.com/NextcloudiOS How to contribute If you want

Nextcloud 1.4k Dec 30, 2022
🍣Making Recipes iOS app

Recipes App ❤️ Support my apps ❤️ Push Hero - pure Swift native macOS application to test push notifications PastePal - Pasteboard, note and shortcut

Khoa 88 Nov 22, 2022
📱The official Wikipedia iOS app.

Wikipedia iOS The official Wikipedia iOS app. License: MIT License Source repo: https://github.com/wikimedia/wikipedia-ios Planning (bugs & features):

Wikimedia 2.5k Dec 27, 2022
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding

iOS Sample App Sample iOS app written the way I write iOS apps because I cannot share the app I currently work on. Shown concepts Architecture concept

Igor Kulman 632 Dec 28, 2022
This app shows the current percentage of the vaccination campaign in Brazil and its states

This app shows the current percentage of the vaccination campaign in Brazil and its states. The data is obtained thanks to covid19br.

Anderson Kloss Maia 8 Jul 22, 2022
Open-Source Messaging App

Acani Chats Open-Source Native iOS Messages App This project and its submodules no longer work and are no longer being maintained. Acani Chats is an i

Acani 2.1k Dec 21, 2022
The Artsy Auction Kiosk App.

Eidolon The Artsy Auction Kiosk App. Note: Current development is done on the xcode-9 branch using Xcode 9 (available for download on Apple's develope

Artsy 2.7k Dec 25, 2022
Build a Swift App as a designer

DesignerNewsApp Simple iOS client for Designer News, by the creator of Design+Code and the team, written in Swift. Usage Download the repository $ git

Meng To 2.4k Dec 24, 2022
Basic app to show how to login with Facebook, Google, Twitter. Created for learning purpose :) using Xcode 9 and Swift 4.0

Social Logins iOS Basic app to show how to login with Facebook, Google, Twitter. Created for learning purpose :) using Xcode 9 and Swift 4.0 Note: Bef

Jogendra 12 Nov 4, 2022
PixPic, a Photo Editing App

PixPic PixPic, a Photo Editing App Built by Our iOS Interns What's the best way to teach interns how to write an iOS app? Just let them do it! This ap

Yalantis 1.3k Dec 24, 2022
An app focused on show in a visual way how sorting algorithms actually works.

Sorting Algorithms App An open source app focused on show in a visual way how sorting algorithms actually works. Available on the app store Do you wan

Victor Panitz Magalhães 45 Nov 25, 2022
📅 Sample calendar app created with CalendarKit (template)

CalendarApp CalendarApp is a template repository serving as a starting point for experiments with CalendarKit. It's a sample calendar app for iOS buil

Richard Topchii 136 Dec 20, 2022