pilot's People
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.
Consider removing PTApplicationDelegate
No longer needed?
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];
Build test for showObject that fails in private method
Need showObject and showObject:animation methods
These should call showObject:withSelector:animation but be simpler for people to use.
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
Setup navigation in PilotTestApp
We now have the models and the VCs, we just need to create model instances in the app delegate, then try pushing them on.
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
Consider moving to a protocol for [object identifier]
This should be optional. If the protocol is implemented then use it otherwise use [object objectID] instead. Will remove the need to have PTObject.
App Delegate Superclass
We need an app delegate superclass that has the UINavigationController on it.
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.
Pilot should find the visible navigation controller
For pushing views it should use the visible navigation controller.
Create Github pages repo for appledocs
An admin needs to do this.
Add way to access UINavigationController on the shared app delegate
We need a way for Pilot to access the UINavigationController
Show Modal VC
We need support to show a modal VC
Appledoc
We should integrate Appledocs into Pilot.
Implement first pass at showModel:withSelector:animation method
The finest grain method we have it lets you convert a model to a viewController and the run it with a specific selector and animation style.
Try using [NSManagedObject objectID] instead of unique identifier
Create a TabBar based test app
for testing initWithTabBarController
Throw an assert when the RootViewController class can't be found
Make sure to fail with useful error when the RootViewController class can't be found.
Hook up initWithObjectIdentifier in PilotTestApp
Pass in an object to the VC selector
We need a way to not only call a custom init on a VC, but also a way to pass in an object, to use in the init.
Implement function to turn model class into view controller class
Post -> PostViewController
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.