Git Product home page Git Product logo

ems-ios's People

Contributors

chrissearle avatar espenhh avatar ronnienessa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ems-ios's Issues

Handling of lightning slots

Right now - lightning talks get their own slots.

Before we included all lightning talks in the hour slot they were in.

We can still do this.

We section on the pseudo key slotName which is currently a string made up of:

start:yyyy-MM-dd start:HH:mm - end:HH:mm

We sort first on slotName then on room

If we can make the slotName of a lightning talk find it's hour then it will be in the correct section.

If we sort by slot name, room then slot start then sorting will be correct.

The issue is - how to know what slot I'm in - when retrieving. We do retrieve all slots first - so we have a list of available slots.

We need a method:

  • (NSString *)getSlotNameForLightningSlot:(NSManagedObject *)slot (NSManagedObject *)conference;

We could move the generation of normal slot name to a method too - consistent

  • (NSString *)getSlotNameForFullSlot:(NSManagedObject *)slot (NSManagedObject *)conference;

Note that we can look at the sessions format field for lightning or not - current values appear to be "lightning-talk" and "presentation"

UIRefreshControl on main view is unreliable

No idea why. When you come back from the settings view it sometimes disappears.

It's also prone to losing the spinner but keeping the label.

Seems very stable on the settings view.

Check speaker download

Bad net connection - noticed missing bios. They're appearing when net is good. Make sure they're getting saved.

Update conf list

Work out missing dates where sessions avail.

Refs #49

Maybe give a download all bios or similar.

Keyword colour codes

Lost on this one - how are we supposed to find out what colour codes incogito is using for keywords?

Level sort in filter

Currently alphabetical - we want beginner -> advanced. Might have to make a custom hard coded sort list (plist).

Cap-case the names in the search table too.

Auto refresh

Some form for auto-refresh if it's been a long while? Background process.

EMS-redux has some kind of changelog for getting things changed since a given point in time.

Prompt user to refresh conferences if it's been long enough

If this app is to work fine without updates - then the users will need to be told that there is a new conference available. That's a refresh conferences call.

Perhaps have a user pref for last refreshed - and if it's been a month or two then check in the background - and prompt the user if a new conference is seen? Or just prompt based on time (and/or date - sometime in august) ?

Swipe detail page to move around session list

Given that you're in a detail view - scroll up and down the corresponding list on the list view.

Perhaps a gesture - two finger swipe up and down? Not sure what the webview intercepts.

Delete database if migration fails.

We need to gracefully remove the database if migration fails - since it will when updating from app 2.x

Some rough notes.

NSURL *storeURL = [[self applicationDocumentsDirectory] URLByAppendingPathComponent:@"app.sqlite"];

NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], NSMigratePersistentStoresAutomaticallyOption,
[NSNumber numberWithBool:YES], NSInferMappingModelAutomaticallyOption, nil];

NSError *error = nil;
_persistentStoreCoordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:[self managedObjectModel]];
if (![_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:options error:&error]) {

   //delete the sqlite file and try again
   [[NSFileManager defaultManager] removeItemAtPath:storeURL.path error:nil];

   //if the app did not quit, show the alert to inform the users that the data have been deleted
   UIAlertView *alert = [[UIAlertView alloc] ....
   [alert show];

}

About page text

Need to define the contents and style of about.html

Style headers similar to detail view (same style link)

  • link to github for source
  • link to github issues for problem reporting
  • link to javazone and javaBin
  • show agvtool based version and marketing version if I can get the values out easily
  • describe usage of crashlytics
  • describe usage of google analytics

Persist to MOC in background

http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/CoreData/Articles/cdConcurrency.html#//apple_ref/doc/uid/TP40003385-SW1

Retrievers will no longer call main thread.

Views retriever delegate method is then run in the background thread.

In the delegate method create a new model object using a new MOC using the existing PSC.

Model gets a "done" delegate that will trigger back to the main view in the view.

Handle merging back to main MOC

Some older notes here: http://stackoverflow.com/questions/4264540/grand-central-dispatch-gcd-with-coredata

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.