|
got got by the concurrency question even though Fate Accomplice warned me. RIP
|
# ¿ Jul 2, 2021 20:41 |
|
|
# ¿ May 15, 2024 07:56 |
|
ask was to design a function that accepts closures as the arguments and will execute up to 5 of them on concurrently and store any others to execute them as the closures complete.
|
# ¿ Jul 4, 2021 15:17 |
|
The way I understood it is that an Apple iOS dev isn’t programming with the same rules as regular iOS devs. You have access to more background and low level apis and also be writing your own so they want to see how you think about concurrency because you will be writing daemons that get used by more than just your app.
|
# ¿ Jul 5, 2021 02:22 |
|
I was looking for a solutions to asynchronous image loading in table views for an interview take home where you can’t use frameworks and came across an apple solution to it. https://developer.apple.com/documentation/uikit/views_and_controls/table_views/asynchronously_loading_images_into_table_and_collection_views I’m entirely confused by the table view code. When did that shift come about? I feel like I need to go back and learn some things. Also good lord is there a lot of stuff you don’t really think about when you’re in an already built app with an established code base and use frameworks. Do y’all keep like an architecture skeleton repo around to help with setting up new apps? I don’t really make apps from scratch often.
|
# ¿ Nov 8, 2021 16:11 |
|
only 5 warnings though!
|
# ¿ Nov 23, 2021 19:59 |
|
Pulcinella posted:. Also I don’t believe it has source control! lol. teaching young devs bad habits.
|
# ¿ Jan 2, 2022 22:53 |
|
holefoods posted:Thanks for the recommendations everyone, Advent of Code looks great as I had been trying to find a website with problems but Swift specific stuff is rare. I know that I am still very early on in the learning process, so it's great to get some pointers and see what people think would have been beneficial. I don't know if you're planning to learn Swift for iOS development. If you are I want to recommend the Stanford iOS development course. You will learn a ton of poo poo in there that I think most average entry level iOS devs don't know. The course tells you what you need to read from the Swift Programming Language so that's a pretty good guide of where you should be at. Also very thankful Apple pushed the delete account in-app requirement. That was kinda stressing me out.
|
# ¿ Jan 24, 2022 20:34 |
|
anyone familiar with getting swiftyjson to work on a m1 mac? one of my coworkers wants to make a small pr to our app but can't get it to build on his machine due to errors with swiftyjson and m1 architecture. I'm still on an intel mac and have been avoiding thinking about this situation and i can't find anything worthwhile via googling. this might finally give me the coverage to rewrite the app's networking layer.
|
# ¿ Jan 25, 2022 20:34 |
|
pokeyman posted:Have you looked through the issues on the repo? e.g. https://github.com/SwiftyJSON/SwiftyJSON/issues/1095 Thanks for this! We tried that and failed. I'm gonna try a few more things and if not use it as a reason to pull swiftyjson and rewrite networking stuff.
|
# ¿ Jan 26, 2022 17:18 |
|
Plorkyeran posted:Well I guess build tool plugins being seemingly abandoned is a complaint I can scratch off the list. What makes you say that?
|
# ¿ Feb 1, 2022 17:56 |
|
managed to secure another on-site with apple. I’m studying the concurrency stuff, but system design is impossible to find resources on. Help me secure the bag goons.
|
# ¿ Feb 13, 2022 04:39 |
|
https://twitter.com/johnsundell/status/1492896330003492865 i'm loving slackin.
|
# ¿ Feb 14, 2022 03:46 |
|
Fate Accomplice posted:can you share the concurrency resources you're using? It's this(which is obv old but the concepts still apply) and the official docs unfortunately. I think I asked you for resources last time haha. Also just reading the async docs and thinking about how the issues async solves were dealt with when it wasn't available. Stuff about writing daemons does not seem available at all.
|
# ¿ Feb 14, 2022 16:45 |
|
does nsviewrepresentable need a coordinator like uiviewrepresentable as well?
|
# ¿ Mar 30, 2022 16:06 |
|
Pulcinella posted:I finally have a chance to use async/await for the project I’m on and…I don’t like it? I know it’s supposed to be simpler and more straightforward than the old method, but I’m so, so used to nested callbacks that it’s been hard to wrap my brain around async await. Like async seems to have this viral quality where when one thing is async, all of a sudden everything around it has to be async and it spreads from there. I just want to wait for one asynchronous data to be retrieved and push a view controller configured with that data but I’m trapped in async world! I just want to get back on the main thread! Give me a pyramid of doom any day. are you creating a Task to make your async calls in? otherwise async will definitely virally spread.
|
# ¿ May 26, 2022 02:50 |
|
commie kong posted:the point free fellas have released a video showing off some new helpers they've built. seems cool but where is the work to create your models and routes? how do you get that for free with their library? or is this just a suggestion for how to structure your networking code? i guess this is how they hook you into paying for episodes. edit: oh this was the last video in a 5 part tour of the technique and library. I will have to get back to this. I'm actually interested in the point free guys work. someone mentioned composable architecture in an interview i had. it's swiftui only though right? KidDynamite fucked around with this message at 17:55 on May 26, 2022 |
# ¿ May 26, 2022 16:54 |
|
am i burnt out or was wwdc kind of meh this year?
|
# ¿ Jun 10, 2022 16:51 |
|
do you need the timer to be in the view model? could try placing the timer in ChildView, put an .onReceive on your ForEach, and expose a function from your ChildVM that lets ChildView ask for an update.
|
# ¿ Jun 22, 2022 14:14 |
|
hey I have 3k I can spend and get reimbursement from work. What swift resources would y’all spend this money on? Bonus points if it will help land a new job. Already have objcio and pointfree on the list.
|
# ¿ Jul 19, 2022 13:16 |
|
if i have a UICollectionView using UICollectionViewCompositionalLayout is it possible to place a header vertically above some horizontally scrolling cells? i want code:
code:
|
# ¿ Nov 3, 2022 02:18 |
|
figured this out right after hitting post by setting UICollectionViewCompositionalLayoutConfiguration.scrollDirection to vertical and NSCollectionLayoutSection.orthogonalScrollingBehavior to continuous spacing is wacky so if anyone has experience there I'd appreciate it. if not back to digging tomorrow.
|
# ¿ Nov 3, 2022 02:26 |
|
uncle blog posted:Are there any well-known examples of iOS apps that to a large extent use a lot of webviews? Both successful or unsuccessful examples are most welcome! old netflix app was all webview. i can't think of any others.
|
# ¿ Nov 18, 2022 14:50 |
|
where do you get dsyms now? they're not on appstoreconnect and the archiver's download dsym button errors out(because i'm assuming it's trying to download from appstoreconnect.)
|
# ¿ Dec 12, 2022 19:37 |
|
so I am working to change work.app over to Codable. when encoding a parameter to be sent over i add it to a dictionary like so Swift code:
Swift code:
Swift code:
code:
|
# ¿ Apr 4, 2023 19:29 |
|
open source Foundation preview has been put up. going to enjoy poking around that code base. json decoding is improved 200-500% https://github.com/apple/swift-foundation
|
# ¿ Apr 28, 2023 15:11 |
|
do you all have a way of handling strong password suggestion for uitests? i keep running into issues when i try to disable it via settings.
|
# ¿ Jun 2, 2023 15:54 |
|
|
# ¿ May 15, 2024 07:56 |
|
viewIsAppearing, xcode test recordings, and push notifications console are my wwdc mvps
|
# ¿ Jun 8, 2023 13:49 |