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

Examples Please? #141

Open
DoctorG opened this issue Apr 4, 2015 · 6 comments
Open

Examples Please? #141

DoctorG opened this issue Apr 4, 2015 · 6 comments

Comments

@DoctorG
Copy link

DoctorG commented Apr 4, 2015

Thank you for this fantastic tool! I realize how much work this represents and it is truly pro-grade!

I would so love to see some examples of how you use it and I'd appreciate it if you could throw in a few examples of real world use to help me refine my approach to coding with this kit.

Thanks again.

@alexanderkent
Copy link

Not a great example but just happen to have the following on-hand:

_scroller.contentLayoutMode = MGLayoutGridStyle;
_scroller.padding = UIEdgeInsetsMake(8.0f, 8.0f, 8.0f, 0.0f); // top, left, bottom, right
_infoBox = MGTableBoxStyled.box;
_infoBox.sizingMode = MGResizingShrinkWrap;
_infoBox.margin = UIEdgeInsetsMake(8.0f, 0.0f, 8.0f, 0.0f); 
[_scroller.boxes addObject:_infoBox];

@rlaferla
Copy link

This project needs a clear and simple example and that code needs to show up on the README page along with a screenshot.

@dong
Copy link

dong commented Sep 21, 2015

Feel the same way. It will be great if some example projects can be added.

@sobri909
Copy link
Owner

Problem is no one's got time to do it. We're all flat out with the day jobs, and the only time we get for MGBoxKit is for fixing bugs or adding features that we require. Anything beyond that, the spare time just doesn't exist for it :(

I'm planning on doing some internal rewrites soon, to change some of the layout code to use Auto Layout. There's a slim chance I might be able to squeeze in some more example code around that time. But no promises.

@DoctorG
Copy link
Author

DoctorG commented Sep 21, 2015

Well I’ll +1 the AutoLayout updates anyway! Thanks Matt, I know this represents a great deal of work and I certainly appreciate your having made this library public. I’ve built a lot of my current app around it.

Greg

On Sep 21, 2015, at 3:37 AM, Matt Greenfield notifications@github.com wrote:

Problem is no one's got time to do it. We're all flat out with the day jobs, and the only time we get for MGBoxKit is for fixing bugs or adding features that we require. Anything beyond that, the spare time just doesn't exist for it :(

I'm planning on doing some internal rewrites soon, to change some of the layout code to use Auto Layout. There's a slim chance I might be able to squeeze in some more example code around that time. But no promises.


Reply to this email directly or view it on GitHub #141 (comment).

@sobri909
Copy link
Owner

Thanks Greg :) We depend on it pretty heavily too. The lack of internal use of Auto Layout is making it show its age though, so that's a necessary change.

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

5 participants