Code Monkey home page Code Monkey logo

pilot's People

Contributors

danieltiger avatar drewsmits avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pilot's Issues

Transition Animations

Transition animation isn't supported yet. Maybe one day we can have custom animation support, but for now, support for the stock transitions will do.

Replace current view with new view

It would be cool to have a method that doesn't add on top of the navigation stack, like:

[Pilot showModel:myModel replaceCurrentView:YES animated:whatever];

PilotTestApp

We need a test app where we can run this through the paces.

[CRASH] Both test apps crash on startup in NSPersistentStoreCoordinator

This is on my laptop, I don't know if I have the same problem at work but I get the following error when I try and run either test app:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Cannot create an NSPersistentStoreCoordinator with a nil model'

I traced it back to:

NSURL *modelURL = [[NSBundle mainBundle] URLForResource:@"PilotTestApp" withExtension:@"momd"];
__managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];

modelURL is nil for some reason. I tried changing that code to the more accepted:

[NSManagedObjectModel mergedModelFromBundles:nil];

Which solved the nil problem but then it crashed because it couldn't find an entity named redObject.

Flesh out tests

We need to make sure our coverage is a lot better, and that we have helpful NSAsserts sprinkled around

BUG: UIViewControllers use animation regardless

Currently animation is shown, even if UIAnimationOptionTransitionNone is used. Probably need to use our own enum for Pilot animations. Maybe we can add our own style animations, if that is useful.

Update README

Before Posterous posts about this open source project, we need to make sure our README is bomber.

Pilot Navigator

We need an NSObject subclass that handles the pushing/popping of UIViewControllers

Sample Models and VCs in test app

We need a few simple models and view controllers to build a mock app to navigate around with. I suggest something like:

RootViewController.h/.m

Red.h/m
RedViewController.h/.m

Blue.h/m
BlueViewController.h/.m

Green.h/.m
GreenViewController.h/.m

Tapping on the RootViewController loads Red. Tapping on Red loads Blue, etc. Then maybe you could put a label in the middle of the view that shows how deep you are in the stack. Or maybe we could load an image in each VC view and test how deep in the VC stack we can go with properly view unloading.

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.