Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is support for custom view controllers? #4

Closed
PaulSolt opened this issue Sep 16, 2011 · 7 comments
Closed

Where is support for custom view controllers? #4

PaulSolt opened this issue Sep 16, 2011 · 7 comments

Comments

@PaulSolt
Copy link

Do I need to modify the source, or is there an undocumented way to add my view controller to the "credits.plist"?

@dimitribouniol
Copy link
Member

Currently you need to add the functionality yourself, but it will be added soon!

@PaulSolt
Copy link
Author

Will it have the same plist format? or will it need to be done in code?

I managed to get it working via code, but would like to use the same plist structure if possible.
Thanks,
Paul Solt

@PaulSolt PaulSolt reopened this Sep 28, 2011
@dimitribouniol
Copy link
Member

The method I was thinking of would be to name the controller class to use in the plist in the same way you would a link

Dimitri Bouniol
定魅刀利
mochidev.com Lead Developer
Follow me @dimitribouniol
Sent from my iPhone 4

On Sep 27, 2011, at 10:19 PM, Paul Soltreply@reply.github.com wrote:

Will it have the same plist format? or will it need to be done in code?

I managed to get it working via code, but would like to use the same plist structure if possible.
Thanks,
Paul Solt

Reply to this email directly or view it on GitHub:
#4 (comment)

@dimitribouniol
Copy link
Member

Custom Controller support has now been added by setting the Controller key in a list to the name of the controller you want to load. The MDAboutController needs to be a part of a navigation view stack for it to work. This can be easily done by creating the about controller using MDAboutNavigationController directly.

@PaulSolt
Copy link
Author

Thanks!
Could you add a code snippet showing this usage to the readme to show
others how it can be used if you have not already done so.

Sent from my iPhone

On Dec 27, 2011, at 12:23 AM, Dimitri Bouniol
reply@reply.github.com
wrote:

Custom Controller support has now been added by setting the Controller key in a list to the name of the controller you want to load. The MDAboutController needs to be a part of a navigation view stack for it to work. This can be easily done by creating the about controller using MDAboutNavigationController directly.


Reply to this email directly or view it on GitHub:
#4 (comment)

@dimitribouniol
Copy link
Member

I believe I mentioned it in the Credit.plist keys section: https://github.com/mochidev/MDAboutControllerDemo
Since no code is actually necessary to get it working, it's a fairly nice solution. Not sure what else to add...

@PaulSolt
Copy link
Author

PaulSolt commented Jan 1, 2012

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants