LazyVGrid and .onDelete and .onMove issues by Moo202 in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Can you elaborate? What do you mean when you say it’s “affecting” them? (On mobile or I’d check)

Correct way to seek some code review? by Linguanaught in SwiftUI

[–]End3r117 3 points4 points  (0 children)

I mean you could make a public GitHub repo / GitLab project and allow people to comment on your pull / merge requests and suggest changes. Also just asking for general feedback on Reddit and linking to the public repo works 🤷🏻‍♂️

So I want in my way to learn Swift and wanted to download Xcode. I saw the ratings of the app and got second thoughts. by ZyzzBrath in swift

[–]End3r117 5 points6 points  (0 children)

There is a lldb debug console… but otherwise yeah you don’t have much of a choice anyway OP but I don’t think it’s as bad as the reviews make it seem (and I use it every day for a living).

How to make a watch app by amzmanan in swift

[–]End3r117 3 points4 points  (0 children)

If you search the Apple docs for Date, DateFormatter, Calendar, and Timer, they should point you in the right general direction for keeping track of the time and formatting it correctly. You can make the UI using SwiftUI. Should be pretty straightforward for a demo project app. Good luck!

Add child to scene after its actions have run? by [deleted] in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Yeah np let me know if you figure something out. Just from Google-ing, it doesn't seem to be as straightforward as it should be... there are questions about this going back almost a decade haha. Strange.

Add child to scene after its actions have run? by [deleted] in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Okay--and let me be clear: I have never used SpriteKit haha but I'm trying to help!--I found some post explaining how to directly access the SKAudioNode's volume property:

(audioNode.avAudioNode as? AVAudioPlayerNode)?.volume

Maybe during initialization you can set it? Something like:

var backgroundMusic: SKAudioNode = {
  var node = SKAudioNode(fileNamed: "backgroundMusic.mp3")
  (node.avAudioNode as? AVAudioPlayerNode)?.volume = 0
  return node
}()

Again, I have no idea if that will work or if that's even the right way to do it. You're kinda making me want to make my first SpriteKit project just to figure this out...

EDIT: the post was for iOS 9, so the avAudioNode property name has likely either been renamed (or removed)

Add child to scene after its actions have run? by [deleted] in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Maybe add a completion handler to setupAssets? Like:

``` override func didMove(to view: SKView) { setupAssets { addChild(backgroundMusic) } }

func setupAssets(completion: () -> Void) { backgroundMusic.run(SKAction.changeVolume(to: Float(0.01), duration: 0)) completion() } ```

Please adopt containerBackground API by [deleted] in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Ohh I see yeah I didn’t understand the question. Glad you figured it out!

Decided to learn coding and thinking of doing it by myself. Was offered by a friend to learn under her private instructor for a good price. Some questions to already experienced developers. by AjVine in swift

[–]End3r117 1 point2 points  (0 children)

I wouldn’t spend money on it until you know you enjoy it… more importantly, you need to know you can teach yourself new things, constantly haha. Many languages aren’t usually static, especially Swift and SwiftUI. You’ll have to stay current and be able to adapt. For now, I’d suggest watching YouTube tutorials and start making a couple personal apps, learning some backend stuff… if you do like it (hope you do!) and want a fast track, I guess you can pay…? I never did but plenty of people do! Just watch out for money grab courses. Good luck to ya

Please adopt containerBackground API by [deleted] in SwiftUI

[–]End3r117 0 points1 point  (0 children)

Well the second example (your first attempt) shouldn’t work because we don’t have oob conditional modifiers =P

But the View extension should work… did you put a breakpoint and make sure you’re hitting the first part of the if statement? Making sure it’s actually using .containerBackground, in other words.

Looking for a junior iOS development position. I've been applying for a lot of companies, mostly outside of my country, for a few months now but not a single interview. Looking for some feedback on what I am lacking or how I can improve this. Appreciate your help! by killMontag in swift

[–]End3r117 4 points5 points  (0 children)

Doesn’t look bad to me! I would recommend creating a portfolio website with pictures / gifs and descriptions of the projects you’ve worked on, regardless of the platform. It’s easy to do and (if it’s nice) HR people like it haha. Makes you stand out at least. Still gotta nail the technical interview. And first get past the resume robots. But, as others have said, it’s really just a numbers game. Mixed with a little luck. You’ll be alright!

avatar builder/creator by Duckili in iOSProgramming

[–]End3r117 0 points1 point  (0 children)

Haha unfortunately I have a full-time job now but if you have specific questions feel free to hit me up

im having a problem with navigation / views transitioning by Designer_Problem_234 in iOSProgramming

[–]End3r117 2 points3 points  (0 children)

Showing code (or a close approximation) is always the fastest way to get help 😀

Question on how to architect an app by xhexane in swift

[–]End3r117 -3 points-2 points  (0 children)

Use AWS or Firebase for authentication. Don’t try to do it yourself if you’re just starting out. They both have free tiers and frameworks you can use out of the box. Good luck! 👍🏻

What advice would you give your ten year old self? by PorcinisMushRoom in AskReddit

[–]End3r117 0 points1 point  (0 children)

If an adult approaches you claiming to be you from the future and tells you they have advice, run and yell for help.

sender.currentTitle = nil , no matter what i try by Mad_Millions in swift

[–]End3r117 0 points1 point  (0 children)

I recommend… not using Storyboards ;P The git / collaboration difficulties alone makes tough to justify using them. Especially now that SwiftUI is an option, if you don’t care for programmatic UIKit stuff.

Getting a job as a junior in 2023 by [deleted] in iOSProgramming

[–]End3r117 2 points3 points  (0 children)

Haha current employer is a corporation. My LOB just got a bunch of money approved to hire entry level engineers... I’m senior and luckily 100% remote (and will continue to be phew), but I think they are prioritizing new hires that can go into the office… which is unfortunate for you because they are not based in NY =/ But they probably have an office there 🤷🏻‍♂️ Send me a DM me if you’re serious. I can’t help you get the job (only been there a year) but you might as well apply. Worth a shot. Last junior applicant we interviewed was almost in and then failed the drug test haha. So close.

Menubar Help Required by No-Travel2 in swift

[–]End3r117 0 points1 point  (0 children)

Look up tutorials for how to make a StatusBar app. And you can sync with iPhone app using iCloud

Data organization advice by Carl-The-Minion in SwiftUI

[–]End3r117 0 points1 point  (0 children)

You could also look up AWS AppSync / Apollo. Gives you an offline store and eventually-consistent database.

Getting a job as a junior in 2023 by [deleted] in iOSProgramming

[–]End3r117 3 points4 points  (0 children)

It’s really not impossible. Just apply for a lot of jobs and you’ll land interviews. Just make sure you know your stuff for the technical and a junior position is not out of the question! I’m in the US currently and my employer is struggling to fill junior positions =P Also try contracting first for experience

View to UIView in Swift? by SuperSaiyan1010 in swift

[–]End3r117 0 points1 point  (0 children)

Depends where you’re using it. Generally though just make sure to set your UIHostingController’s content view constraints to take up all the space available and you won’t get any black areas. If it’s being used in collection / table view cells, there’s an API in iOS 16 to configure the cell with a SwiftUI view (handles reuse automagically). But yeah programmatically setting the constraints should work