Images, posts & videos related to "The View"
In my app I'm adding a `Subview` inside a gradient view of mine to add some texture as shown below.
class NoiseGradientView: UIView {
override func layoutSubviews() {
/// Sets the path and mask for the shape
let maskPath = UIBezierPath(roundedRect: self.bounds, byRoundingCorners: [.bottomLeft, .bottomRight], cornerRadii: CGSize(width: 25, height: 25))
// Setting up the masked layer
self.layer.mask = nil
let maskLayer = CAShapeLayer()
maskLayer.frame = self.bounds
maskLayer.path = maskPath.cgPath
self.layer.mask = maskLayer
// Setting up the noise layer
let noiseImage = UIImageView(image: #imageLiteral(resourceName: "noise-layer"))
noiseImage.frame = self.bounds
// Setting up the gradient layer for the mask
applyMainGradient()
addSubview(noiseImage) // <----- HERE I ADD THE TEXTURED IMAGE
}
}
Now the first time the app loads up the texture is nice but the more and more I exit the app and renter a new texture layer appears above the previous
Above the gradient view more textures keep appearing
Then in the `ProfileViewController` I just add the `NoiseGradientView` to the view
view.addSubview(noiseGradientView)
Can someone please point me in the right direction on how to fix this?
I've been reading up about Model View Controller, Model View Presenter, Model View ViewModel, and so on, and generally, the underlying concept seems pretty simple to understand: keep the pretty visuals and sciencey guts as separate and ignorant of each other as possible. No getting the logic peanut butter in the design chocolate; cool, I like that.
The problem is I'm still a bit fuzzy as to that third part... the not-model-or-view one. Everyone seems to have their own idea of what to call it, what it should do, what's proper, what's just plain wrong... and I'm going nuts trying to figure out when a Presenter becomes a ViewModel and when a View shouldn't be doing that because that's the Presenter's job and--
I'm rambling.
Rather than asking for someone to explain the difference between them--because that's already been done time and time again (I know; I've read more articles than I can count)--I'd be curious to hear the thoughts of a few programmers on the model I've cobbled together myself.
Yes, even if those thoughts are "What the actual f**k?"
That said, what would you classify this design as, and perhaps more importantly, do you see anything about this that obviously sucks? Sure, I'd love to hear I'm doing good if this truly is solid design, but I'd much rather be given solid advice over praise.
Note: I'll be using "the Bridge" for the mysterious third part of Model-View-<?> to avoid any subconscious suggestions of what it "should" be.
###Model
###View
###Bridge
###Additional Notes
We are the Microsoft Excel product team. Come ask us anything, from XLOOKUP to Sheet Views to lambda functions. Our whole team will be online answering your questions starting at 10 AM PT on March 10, 2021. Proof: https://twitter.com/msexcel/status/1361792480723795971
/////
Thatβs a wrap for today, folks! Our team will continue to work through your unanswered questions offline.
Thank YOU so much for your time and your questions & feedback!
Please fill out this short survey at https://forms.office.com/r/uyHy0Tc8yX to let us know what you think of this AMA and future AMAs.
As more of an introverted person it took me awhile to accept that dating does involve a degree of socializing. I have a lot of guy friends and it truly appears that they all love to date for this one reason: they view dating as meeting new people and get genuine enjoyment from that alone. I actually think this is the best mind set to have . I observed one guy friend go on numerous dates (and get a ton of rejections) but his attitude was always this: eh, it didn't work out but I met someone new and got to go eat at a new restaurant! He just kept having this positive attitude and tried to not have an end-goal set for all of his dates which I think served him very well. He told me that he was looking for a long term gf but the lack of attachment to the process of dating made it easier for him to let people go and even find something funny about all of the bad dates. I also noticed something else my guy friends did a lot: they talked about their dates and made it a point to tell people they were dating. Even though they weren't exclusively dating one person they still let people know they were actively looking/open to dates with people and just talking about their dates helped them not feel like they were stuck in a "I'm perpetually," single identity. So: talk about the dates you go on with people. Don't brag about them or trash talk your dates, but just make it known and be proud you're dating. I could also genuinely see their social skills improve from dating even if a gf didn't come from any of them.
Edit: if you are introverted and sensitive (like me) you still might not enjoy the dating process (I've found that dating is especially not kind to sensitive people), but it's just an interesting way to look at the process and I admire my guy friends for treating it like this. Even though I may never fully enjoy meeting new people, I'd like to keep the mindset of not getting too attached to an outcome when I meet someone I may happen to like. This also depends on how many people you find attractive because my guy friends seemingly asked out everyone they knew and I'm not attracted to that many people.
Edit: I am a girl. Just admiring my guy friends.
Do you guys agree? I feel like they emphasize this just so they can trap us into being their nsupplies forever. They isolate us from the rest of the world by insisting that everyone is out to get us and that only family can be trusted.
Hey Mizzou fans, welcome back (partially)! No doubt the SEC has improved many things for Mizzou, like the money and the number of eye balls on your games. So hereβs my question. Would you EVER consider wanting back in the Big 12? I know money is a huge deal so I think I know what the answer will be, Iβm just curious.
They're doing this so it technically doesn't violate the rules. Do not entertain these posts, just down vote and move on. Don't waste your time or effort responding, they don't truly want to understand anything they just want to flood the board
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.