Animate Gradients with Transitions!
Enjoy this info? Visit my Patreon page to support educators and artists.
My YouTube Channel
Need help with SwiftUI? Check out my products at: Big Mountain Studio Website
Thursday, May 18, 2017
Monday, May 15, 2017
UIScrollView Setup
I ALWAYS forget these steps. So I am finally going to blog them so I remember.
(Xcode 8)
1. Setup UIScrollView and Your Content UIView
- Add UIScrollView to Storyboard. Size to your liking.
- Set the top, trailing, bottom and leading constraints.
- Add a UIView to the UIScrollView.
- Set zero point constraints for your top, trailing, bottom and leading constraints.
2. Horizontal or Vertical Scrolling?
Horizontal Scrolling
- Add a WIDTH constraint to the UIView with a number that is wider than the main view's width.
- Right-click drag from the UIView to the main view and set constraint: Equal Heights
(Note that you want to scroll sideways so the height will not be changing.)
Vertical Scrolling
- Add a HEIGHT constraint to the UIView with a number that is longer than the main view's height.
- Right-click drag from the UIView to the main view and set constraint: Equal Widths
3. Setup Storyboard
- Select your Scene (ViewController)
- In the Size Inspector, change Simulated Size from Fixed to Freeform.
- Change the Width or Height to whatever you set in the previous step.
(Xcode 8)
Sunday, May 14, 2017
Create a Horizontal UIPickerView! (iOS, Xcode 8, Swift 3)
Horizontal Picker views look great and are fairly easy to implement after you know how. Watch the video to learn!
Thursday, May 11, 2017
Monday, May 8, 2017
Monday, May 1, 2017
Customizing UIPickerView (iOS, Xcode 8, Swift 3)
The UIPickerView allows you to put your own UIView in each cell and put whatever you want in there. Here is how you do it!
Subscribe to:
Posts (Atom)
SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...
In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...
-
I couldn't find a tutorial on this so this is my documented journey into trying to figure out how to implement OAuthSwift into an iOS p...
-
This post visually shows the stack view's Alignment and Distribution property settings. There is also a section on resolving auto layou...
-
I had someone ask about aligning text within a TextField view and I didn't have a page in my book for this but added one just now. ...