Posts

Showing posts with the label padding

Updating Own Project To SwiftUI (HowManyLetters?) - Part 2

It's been a good week for coding! Another hour today and I'll be smashing my targets! A positive if frustrating session before; I ended up adding a bit more after finishing the last blog, so the app has evolved a little since then. I fell into a hurdle after moving around the button with one of the labels - couldn't figure out why so put things back again. Anyway, today, the focus is on trying to fix that final bit of the view, then creating the Model, then the Controller - well at least half of the latter! Start Time - 18:28 Right, fixed! That was easy - seemed to play ball or maybe me being less tired helped! Now for the Model - the word list.... Paused at 18:48; resumed at 19:14 Model done! I completely sorted that so have clearly moved forward with the whole object/instance thing. Working on controller parts now. Getting a new word is not working when the button is clicked...need to find out why! Abandoned at 19:51 (Total time approx 1 hour).  Well tha...

Ray Wenderlich First iOS SwiftUI App Course - Part 2

Image
Here we go! Consecutive days baby! No need for more info - straight back into the next part of Ray's course.  Start Time - 14:58 Realistically I have 40 minutes here. At least another chapter or two! Using Interfaces with SwiftUI This is all about getting the layout done. So probably will just be on this chapter for now. Phone resolution guide  - use to figure out differences between screen sizes. Number of pixels - only important for designers. Developers work in points! Cool, some good bits about getting to landscape, changing the view on Xcode. All good. But only around 20 minutes left and have barely started this chapter. SwiftUI Views Stuff about views. We need four rows of views on a v stack. Side by side for the children views. H stack views within the V stack container. Cool! I love the whole stack, then adding the text. This is much better than adding the various labels.... so far I definitely prefer SwiftUI. Challenge! I need to add in the o...