javabin / ems-ios Goto Github PK
View Code? Open in Web Editor NEWiOS-app som viser programmet til JavaZone - erstattes fra 2017 med https://github.com/javaBin/appZone
iOS-app som viser programmet til JavaZone - erstattes fra 2017 med https://github.com/javaBin/appZone
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:
We could move the generation of normal slot name to a method too - consistent
Note that we can look at the sessions format field for lightning or not - current values appear to be "lightning-talk" and "presentation"
So that we keep search at start.
If we get a network blip and get a nil back - don't wipe the database - the user probably wants to keep working :)
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.
Lightning vs. normal.
Both speaker item and speakerCollection
Search can for example trigger a refresh. Need to use activeConference session count directly.
Sharing page is now available - but doesn't include link to session on web. Not got enough information to build it yet.
We reload page on bio retrieve and biopic retrieve.
Use the javascript support of UIWebView to inject dom nodes instead.
Bad net connection - noticed missing bios. They're appearing when net is good. Make sure they're getting saved.
Lost on this one - how are we supposed to find out what colour codes incogito is using for keywords?
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.
Currently session has many speakers but speaker has one session.
Needs to be many to many.
Table cell is larger - perhaps list keywords? Or summary?
scope ? allow for title and author name scopes?
Perhaps invert the icon or something similar.
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.
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) ?
Fine to do the refresh but don't reload the page if content not changed.
See custom keys
http://support.crashlytics.com/knowledgebase/articles/92520-how-do-i-use-custom-keys-
Use for things like "last detail session" or "last shared session" or "current conference"
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.
Use it as a filter when listing?
Or use it as list when viewing?
Might even be able to do both - change views on push or something.
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];
}
backgroundContextDidSave: performSelector in app delegate can and probably should be a dispatch_sync to main queue.
When close enough
Need to define the contents and style of about.html
Style headers similar to detail view (same style link)
Depends on #2
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.