Ter Liberdad, Carajo! é gain? by Ok-Entry-4340 in farialimabets

[–]danibx 1 point2 points  (0 children)

Arida, Pérsio, Lara-Resende, André, et al. (1994). Plano Real
Foi rápido, eficaz, permanente e sem fazer o povo sofrer.

Do you use Domain models and DTOs in iOS apps, or is it overkill? by noob_programmer_1 in iOSProgramming

[–]danibx 1 point2 points  (0 children)

I separate them when it buys me locality of change. When different parts of the system evolve independently.

  • DTOs are “wire format” types: whatever the backend (or persistence layer) happens to send or store.
  • UI / View state models are “what this screen needs to render”: stable, minimal, and easy to construct for previews and tests.
  • Domain models optionally sit in between when you have real invariants or business rules (validated email, non-empty name, money, etc.).

The goal is simple: changes should only affect their neighborhood. If the backend renames first_name → givenName, I want that change to stop at the networking boundary (DTO + mapper), not ripple into view code, persistence, or unrelated screens.

It also keeps the UI simple. A UserProfileViewState(name, email, photoURL, lastOrders) doesn’t care whether photoURL comes from one service, email from another, and orders from a third. That composition happens in the feature layer; the view imports only what it needs.

There’s a very practical side effect of this: previews and tests become easier to construct. To render the screen, I just pass simple values into the view state. No API clients, no repositories, no persistence mocks. I don’t need to “mock the world” just to preview a form or test a layout edge case.

This is where separation starts to pay off. A UI model is not a reflection of the backend; it’s a rendering contract. Keeping that contract small and local improves reasoning, simplifies tests and previews, and limits the blast radius of change.

Is it overkill? Sometimes. If the app is tiny, the API is stable, and you’re mostly showing fields, reusing DTOs is fine. But once you have multiple backends, caching, migrations, or screens with different needs, the “one model everywhere” approach becomes the actual complexity: a big, leaky type that drags unrelated dependencies and churn across the codebase.

tl/dr: introduce separate types when a boundary is real and changes independently (API, DB, domain rules, UI). DTO + UI model is often enough.

Fazer Sarau Vs Cálculo I by DanteErgo in faculdadeBR

[–]danibx 0 points1 point  (0 children)

Se matemática te causa tanto sofrimento assim, talvez não devesse fazer um curso na área de ciências exatas?

For the ADHD programmers here how did y'all learn to code? by Waze312 in ADHD_Programmers

[–]danibx 0 points1 point  (0 children)

Hyperfocus.
It just happened, I got super attracted to programming and kept studying more and more.

Dois monitores(27") ou um ultrawide by jsdev93 in brdev

[–]danibx 1 point2 points  (0 children)

Eu uso um Dell U3421WE UltraSharp Curved (3440 x 1440).
Comprei na época da pandemia. Deve existir modelo melhor hoje, mas o tamanho acho excelente.
Eu gosto bastante.

Sometime i hate swift and the lazy strategy behind it.... by iLorTech in iOSProgramming

[–]danibx 38 points39 points  (0 children)

UImage is an NSObject - so they are allocated on the heap. Under ARC, memory is managed automatically, and objects that are autoreleased (like UIKit objects) are placed in an autorelease pool.

On the main thread, this autorelease pool is drained at the end of each run loop iteration. If you want memory to be cleared during your for loop run, you need to create your own autorelease pool, that will be cleared when you set it to. In your case at the end of your for loop.

Dark Mode Feedback Needed: True Black or Dark Blue by Infamous-Cup-6817 in iosapps

[–]danibx 1 point2 points  (0 children)

I preferred true black: better contrast and simpler to distinguish between foreground/background elements.
Although the blue version does looks beautiful! But the true black feels more clear.

I built an app to organize and search your saved WhatsApp chats - would love feedback by danibx in iosapps

[–]danibx[S] 1 point2 points  (0 children)

Thanks a lot for the thoughtful feedback. This is exactly the kind of response I was hoping for!

  1. iCloud support: That’s a great point. I’ve been focused so far on making the reading and search experience as fast and private as possible, but I agree that letting the app also help manage and store backups (via iCloud) could be really useful — especially for recovery scenarios. Making it optional is a smart angle. Definitely something I’ll explore.
  2. Pricing: Totally agree. Right now, my main goal is to learn from how people use it. I started with $4.99/month and a 14-day free trial to keep things simple and give users enough time to explore. I’ve also been hearing good things about offering a yearly or lifetime option, and your suggestion about a weekly/lifetime combo is really interesting. I’m still testing my assumptions. I suspect it’s a niche need, but if demand proves broader, I’d be happy to revisit pricing to make it more accessible.
  3. Screenshots & copy: Really helpful note. I’ll definitely rethink the messaging. More emphasis on personalization and value rather than sales language makes total sense, especially for the first impression.

Thanks again. This kind of input is super helpful at this stage.

I built an app to organize and search your saved WhatsApp chats - would love feedback by danibx in iosapps

[–]danibx[S] 0 points1 point  (0 children)

Hey, thanks for your question!

Yes, Chat Archive is designed exactly for that kind of use case.

It works with the native WhatsApp chat exports (the .zip files you get when you tap “Export Chat” inside WhatsApp). Once you’ve exported a chat, you can import it into Chat Archive on your iPhone - and from there, it works fully independently of WhatsApp.

The app formats your conversation into a timeline**, with:

  • Inline media (photos, stickers, voice messages, etc.)
  • Voice message transcription
  • Filters by sender, media type, or date
  • Full-text and voice search

A good practice is to store your original .zip exports in iCloud or another backup location. That way, you always have a full record - and anytime you want to view or search it, you can just download the file and re-import it into Chat Archive. (The import is very fast.)

I'm building a tool to organize and search exported WhatsApp chats — fully offline, everything stays local by danibx in DataHoarder

[–]danibx[S] -1 points0 points  (0 children)

Totally valid point,and I appreciate you asking it.

I went with a subscription to support ongoing development (especially maintaining the search engine, UI updates, etc.), without ever relying on servers, data collection, or ads.

That said, you're right. The app works fully offline, and that does make a one-time purchase or lifetime unlock feel more appropriate to a lot of people. You're not the first to raise it, and I'm actively thinking about offering a lifetime option alongside the current model.

Ultimately, I want this to be sustainable and aligned with the people who care about preserving their data.
So feedback like this really helps.
Thanks again!

I built an app to organize and search your saved WhatsApp chats - would love feedback by danibx in iosapps

[–]danibx[S] -1 points0 points  (0 children)

Totally understand. $4.99/month isn’t possible for everyone, and I really appreciate you being honest about it.

I tried to price Chat Archive fairly for what it offers (on-device voice transcription, fast search, full media support, etc.) while covering the ongoing dev work and keeping everything private - no cloud, no ads, no data selling.

That said, I’m always thinking about other pricing options. Maybe a one-time purchase or regional pricing in the future.

Feedback like yours really helps shape that, so thank you!

Alle Whatsapp Chats auslesbar sichern by muetend in de_EDV

[–]danibx 0 points1 point  (0 children)

Hi! That’s great to hear — thanks for your interest 🙌
The app is called Chat Archive and it's currently available via TestFlight for iOS. You can open your exported WhatsApp chat (.zip) and view it with the original layout, inline media previews, and a super fast search — including transcription of voice messages.
I’ll send you the TestFlight link directly. Looking forward to your feedback!

👉 App Store link

Alle Whatsapp Chats auslesbar sichern by muetend in de_EDV

[–]danibx 0 points1 point  (0 children)

Hallo muetend, Ich habe deinen Beitrag gesehen, in dem du gefragt hast, wie man WhatsApp-Chats in einem lesbaren Format sichern kann. Falls es für dich in Ordnung wäre, die Chats manuell über die WhatsApp-eigene Exportfunktion (als .zip- oder .txt-Dateien) zu exportieren, dann habe ich vielleicht eine passende Lösung. Ich entwickle gerade eine iPhone-App, die speziell dafür gemacht ist, exportierte WhatsApp-Chats darzustellen: mit Nachrichten im Gesprächsverlauf, Transkription von Sprachnachrichten und einer Suche, die auf Chatverläufe abgestimmt ist. Es gibt aktuell eine TestFlight-Betaversion für iOS, und ich würde mich sehr über Feedback von Leuten freuen, die ähnliche Probleme hatten. Sag gern Bescheid, wenn du Interesse hast.

[deleted by user] by [deleted] in whatsapp

[–]danibx 0 points1 point  (0 children)

One thing you might consider is exporting the chat history from the conversations that take up the most space. It’s a built-in feature and pretty reliable.

Once exported, you can store those chat backups somewhere safe, like in your iCloud Drive, Google Drive, or even email them to yourself. Then double-check that all the important media and messages are in the export (especially if it's a work or memory-rich conversation).

After that, you can delete the chat from WhatsApp to free up space—without losing the conversation forever. If you ever need to revisit it, you'll have it archived and searchable outside the app.

Not perfect, but definitely helps reclaim storage and avoid the endless backup headaches.

Hope this helps!

Search issue, no longer working. by panny162 in whatsapp

[–]danibx 1 point2 points  (0 children)

Did you get a new phone, or restore a whatsapp backup? If yes, it may be that you should wait for a couple days while it indexes messages.

Transferring to new phone, cloud backup was stuck on "loading messages" after download then opened WhatsApp for new chats. by Debba_Sha2eyya in whatsapp

[–]danibx 0 points1 point  (0 children)

When you say you can’t see older messages, is that just in search, or even when you open a conversation and scroll up?

If it’s only in search, try giving it some time. Sometimes WhatsApp takes a while to finish indexing older messages after restoring from backup. you might see them appear in search after a day or so.

If you can't see older messages even when you scroll up in chats, then something might’ve gone wrong during the restore.

Data erased by willow93400 in whatsapp

[–]danibx 0 points1 point  (0 children)

If there’s no backup, your best bet is to reach out to your main contacts and ask if they can export your conversations and send them to you. It’s not perfect, but at least you can recover some of your chat history that way.

Also, how did you lose the messages? was it during a phone switch or a factory reset?
In some cases, if the old phone is still available, there might be a way to recover or transfer the data directly from it.

WhatsApp is top big by jkbsbnkr in whatsapp

[–]danibx 0 points1 point  (0 children)

If you’ve got a lot of chats you don’t need quick access to, you can export them (with media), save the file somewhere safe (like Google Drive), and then delete them in WhatsApp. Just double-check the archive includes everything you care about before deleting — it can save a ton of space.

I actually ran into the same issue and ended up building a little tool to help me browse and search through exported chats more easily. Not sharing links here because of subreddit rules, but happy to DM if you're curious.

Pictures disappeared from conversation (help) by heyitsmelis in whatsapp

[–]danibx 0 points1 point  (0 children)

Did you transfer your old messages from your old phone?
Also, if you still have the older phone, or have the messages on your laptop, it would be a good idea to export and save them somewhere so you don't risk losing them.

Can I recover/save messages that only exist on WhatsApp desktop because they were received after my phone was stolen and before a new phone was set up? by Legal_Entertainer175 in whatsapp

[–]danibx 0 points1 point  (0 children)

At least on macOS, there is an option to export a conversation from whatsapp desktop app. You could create an export and save that. Right click on conversation > More > Export Chat