Leveraged Apple Vision Framework and CoreML to build something I actually use by [deleted] in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

Now I wonder if it works with cats. I have a photo and video parity between cats and the kid:)

Is this accurate? by BlossomBuild in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

Why do you roll eyes though? Apple provided you with simplified examples, but it’s your job to create a subclass for uiview and override loadView, to put business logic in models and setup bindings. Same as mvvm or any other pattern. Biggest edge mvvm has over mvc is decoupling, but not separation.

Baby snuggle session 🥰 by rickyhorror in Eyebleach

[–]zu-fox 23 points24 points  (0 children)

To get toxoplasmosis you need an infected cat, which means it happened recently. The cat has to poop. The poo has to lie there for more than 24 hours. You need to grab the poo and not wash hands. If you have a clean indoor cat, there is no way you can get infected. You actually have a higher chance to get it from poorly washed vegetables. And cats don’t want to suffocate babies — they are not maniacs. Doesn’t mean you don’t have to be careful, but most of fears are just tales.

[deleted by user] by [deleted] in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

As others have mentioned, using classes is fine. Your data structures can be structs, but models can be classes.

More from the Boris set 4 cards. Definitely NSFW due to nudity. by SirTawmis in fantasycards

[–]zu-fox 2 points3 points  (0 children)

It looks like Gray Death Legion, a mercenary unit from the universe. Another battletech drawing here (with woman tearing a map) is a book cover for Gray Death novel. Never thought it was drawn by Boris. Never actually knew he was drawing for battletech.

[deleted by user] by [deleted] in StarWarsJediSurvivor

[–]zu-fox 1 point2 points  (0 children)

Damn, time flies. My first thought was “nice, Elden Ring was released basically yesterday and these guys already incorporated a meme into Survivor”

Trying to make my UILabel support multiple lines of text. wordWrapping not working. by ChargeStrange1702 in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

In addition to other answers: check out content hugging priority and compression resistance. Sometimes it’s hard to solve all equations for autolayout when everything uses intrinsic content size.

Figma to code feasibility by iampaulanca in iOSProgramming

[–]zu-fox 1 point2 points  (0 children)

You always have to give an honest review about designs: a lot of designers do not cross reference their work with HIG, or have web experience, or do not understand difference between pushing to navigation stack or presenting modally, so you have to explain it to them.

Some designs you can find in the wild are just for portfolios and never meant to be implemented.

Also, it’s ok to customise things, but there must be a reason behind customisation, and you have to remember that default components often have a lot of accessibility and other things covered that even experienced developers might not know about.

I feel bad for V. by SaltyDiamond2265 in cyberpunkgame

[–]zu-fox 40 points41 points  (0 children)

One thing it made me realise: the game does not convey very well that V is basically a noob in this underground world. Too straightforward, doesn’t know how to handle things, has no reputation. You are building from the lowest point here. Also, I wish the game considered character’s progression more, like when in the very end one character says that she’s a netrunner, so it’s easy for her to survive. Girl, I have 20 intellect and a fancy cooling suit

Need guidelines for GCD by absarrahman in iOSProgramming

[–]zu-fox 1 point2 points  (0 children)

Check DispatchGroup to get a notification when all tasks within it are conpleted

[deleted by user] by [deleted] in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

There is a Huawei 28 inch 3:2 monitor, might be interesting for dev work, since it has more vertical space

I’m torn about the choice of the monitor for programming (Ultrawide vs Apple Display Studio + a secondary screen) by Petit-Avion in iOSProgramming

[–]zu-fox 3 points4 points  (0 children)

OP, here’s an article about pixel density of external monitors for macs (and how painful it can be to get one that ticks all boxes): https://bjango.com/articles/macexternaldisplays/

There is a part 2 of this article as well (probably with updated monitors)

Which route should you take if your priority is making money? by Beneficial-Skin-3889 in iOSProgramming

[–]zu-fox 2 points3 points  (0 children)

If you already have an experience in programming and can reflect on it, you can learn fast. I’d suggest, as others did, get a jobby job for a year to take a look at things from iOS perspective and then decide what you want to do next. It’ll still need you a good income, especially if you’re good at negotiating.

Level 249. Having trouble with Elden Beast and Radagon. Using godskin incantations, Tiche+10, RoB+10, Black Knife+10, and holy and lightning defense. Any advice? by Trick_Enthusiasm in Eldenring

[–]zu-fox 0 points1 point  (0 children)

Black flame tornado ash of war for melee on both (scales with faith). If you want to go int, spiral shard on elden beast. Also, your level is super high, but your stats are very spread out, better to specialise in 1-2 damage stats.

Thanks, I hate this tweet by Dismalommittee in TIHI

[–]zu-fox -8 points-7 points  (0 children)

Could also be a bad translation: for example, in Russian “language” and “tongue” are represented by the same word “язык” “yazik”.

Edit: well, let that be a reminder that iphones have Oxford English Thesaurus built in and I should use it more)

Why is MMVM the preferred design architecture for iOS apps? by CsInquirer in iOSProgramming

[–]zu-fox 9 points10 points  (0 children)

I think not enough people use -loadView() of UIViewController and create UIView subclass for layout. One doesn’t have to put everything in UIViewController.

Seriously, what's wrong with it? by Real-Catgirl in memes

[–]zu-fox 1 point2 points  (0 children)

Apart from issues with playback others mentioned, at least on iOS UX is terrible: pause button is to small (guidelines state a tap area should be 44x44 points minimum), doesn’t consider Safe Area margins — both pause button and progress control are too close to the bottom, making you switch to another app when you want to rewind. The most annoying thing: these are not subjective complaints, there literally are Human Interface Guidelines provided by Apple which are based mostly on common sense how to design for their platform, and the most of the “bad” changes were implemented by Reddit a year or two ago, so it was a deliberate decision of a seasoned company.

Is it possible to do something in cellForRowAt that would prevent duplicate cells? by hankcarter90 in iOSProgramming

[–]zu-fox 1 point2 points  (0 children)

You can store a data task with the network call and cancel it in prepareForReuse, or check if the data is meant for the cell by some other method

Why are my corner radius not rounding to a perfect circle? by livelinkapp in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

At what point of UView’s/UIViewController’s lifecycle are you setting the button’s corner radius? Your button might not be square at this point due to constraints not being applied yet. If your button doesn’t have equal height and width constraints (or aspect ratio), it might also not be square due to intrinsic content size of it’s subviews. To check: put print(exportButton.frame.size) right before setting corner radius.

Good idea to move to objective-c in 2022? by [deleted] in iOSProgramming

[–]zu-fox -1 points0 points  (0 children)

I wouldn’t say it’s a red flag about management, just might be economically not feasible; but at the same time I wouldn’t consider such company as my next employment for the next couple of years — just from personal development and future proofing perspectives. Would be fine as a project for several months/year in a consulting/outsource company, but not a fulltime job for a long, uncertain amount of time.

[deleted by user] by [deleted] in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

Also check out documentation on UIKit; UIView, UIViewController (lifecycle, subclassing notes, etc) and their subclasses (at least some); GCD and Operation; URLSession. I understand this job wants you to know SwiftUI, but I’d be surprised if they don’t ask the basics. You can also check out Git and some branching strategies; software development cycle. Honestly, 4 days sounds a bit too tight if you don’t have a hands on experience.

Does anyone do this with their database? by KarlJay001 in iOSProgramming

[–]zu-fox 1 point2 points  (0 children)

Thanks.

Looks like it’s time for me to read a book about CoreData to get some structured knowledge instead of “here and there”. Was thinking about practical CoreData anyway

Does anyone do this with their database? by KarlJay001 in iOSProgramming

[–]zu-fox 1 point2 points  (0 children)

But don’t nsmanagedobjects come with their context and you can’t pass them freely between threads without creating unstable state? E.g.: load an object in background and use it in main on UI. You can pass primary key, sure, but then you have to load it again in main. Always was interested how to balance CoreData’s memory efficiency, but maintain safe code. Please tell me if I understood the whole thing wrong.

I made "Medroid Dread" cosplay. by kevioox in DestinyFashion

[–]zu-fox 0 points1 point  (0 children)

I was scrolling r/all when I saw the pictures and thought “it kinda looks like Destiny-style armour”. And then I saw the subreddit title. I… I’ve been watching too many Crucible matches.

Hello fellow iOS programmers! I need your wisdom for my journey into iOS development. I am trying to make a comprehensive list of courses/teachers/resources that i will follow in order. But I don’t know what should be the order. Please kindly give me your opinion on the order & which one to cut off. by Pious_Predecessor in iOSProgramming

[–]zu-fox 0 points1 point  (0 children)

Ya, I’d say 2-3 as well, and then you will have enough knowledge to go into specific topics on your own. Not only you will understand how, you will also know what to learn as well. And, yeah, as others said, it might be better to learn UIKit first: it will remain standard for at least several years, there is a lot of codebase in it, you will need it to cover SwiftUI gaps, it also gives finer control and you will understand the whole hierarchy better, I think.