You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just started working with RubyMotion and was working in the last days through a lot of examples and tutorials to get familiar with writing iOS apps with ruby. But now I'm stuck at quite simple thing from web developer perspective and I was also not able to find examples to explain how to handle it.
I have a list of courses and each course can have multiple instructors which I retrieve by an API. Now I want to show a course and display all the instructors with image and name there.
What is the best way to achieve this?
Do I build a view for one instructor and add it then multiple times?
Or a Layout, considering that I also use motion-kit, but do I add this as a subview to my view?
And how do I make auto-layout between the instructor elements work?
I'm sorry if it overlaps too much with motion-kit, but I'm confused how to achieve this fairly easy thing with using both ProMotion and motion-kit and I'm not sure where it really belongs to. Also a link to a guide or example I may have over looked, would be helpful.
Thanks so far.
The text was updated successfully, but these errors were encountered:
Okay, gotcha. You're probably looking for a CollectionView. I have a "CollectionScreen" halfway implemented on a branch here, but it's not done. Hoping to get a chance to do that in the next few months, but no timetable yet. In the meantime, look at UICollectionViewController documentation and see where that gets you.
Hi, I just started working with RubyMotion and was working in the last days through a lot of examples and tutorials to get familiar with writing iOS apps with ruby. But now I'm stuck at quite simple thing from web developer perspective and I was also not able to find examples to explain how to handle it.
I have a list of courses and each course can have multiple instructors which I retrieve by an API. Now I want to show a course and display all the instructors with image and name there.
What is the best way to achieve this?
Do I build a view for one instructor and add it then multiple times?
Or a Layout, considering that I also use motion-kit, but do I add this as a subview to my view?
And how do I make auto-layout between the instructor elements work?
I'm sorry if it overlaps too much with motion-kit, but I'm confused how to achieve this fairly easy thing with using both ProMotion and motion-kit and I'm not sure where it really belongs to. Also a link to a guide or example I may have over looked, would be helpful.
Thanks so far.
The text was updated successfully, but these errors were encountered: