@ramzesenok@mastodon.social
@ramzesenok@mastodon.social avatar

ramzesenok

@ramzesenok@mastodon.social

iOS. In love with technologies and creating products. Created ShopFella, Splandid, Quizzy and Poem Library. Love speaking in public about SwiftUI and sharing findings on the internet

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ramzesenok, to random
@ramzesenok@mastodon.social avatar

One thing I cultivate in myself is to start with something when I don't know what to do. I'm developing an onboarding for my app and I had literally no idea how it should look in the end. What helped me a lot is to start with something dumb and ugly. Iterating is easy then

Even this tweet above :D I just started writing whatever it was on my mind and then deleted the less necessary parts. Much easier than trying to come up with something "final" in your head

ramzesenok, to random
@ramzesenok@mastodon.social avatar

New iPhones don’t bring joy they used to when trying them for the first time. But oh my, this Logitech mouse is bonkers! Especially after a regular mouse/touchpad. Never thought I’d had such a joy setting all those buttons up

ramzesenok, to random
@ramzesenok@mastodon.social avatar

Adding a Slot Machine to an app to give users chance to win a certain feature to use – would it be considered gambling? Asking for a friend...

P.S.: Selling in-app tokens to play this fake Slot Machine, I imagine, would for sure be considered gambling, eh?

ramzesenok,
@ramzesenok@mastodon.social avatar

@jandamm you’re right, I think I do remember something like this too! Thanks

ramzesenok,
@ramzesenok@mastodon.social avatar

@jandamm true😄 but I don’t feel like “spin now for gems” is gambling. This way spinning is kinda free but waiting isn’t

ramzesenok, to random
@ramzesenok@mastodon.social avatar

In Star Tasks that I'm working on now I've a Live Activity that has buttons that run Intents. Since I only update Live Activity's state in the Intent both AppIntent and LiveActivityIntent work the same for me. Is there a reason to favour one over another?

ramzesenok, to random
@ramzesenok@mastodon.social avatar

Story of uncertainty in one picture

ramzesenok, to random
@ramzesenok@mastodon.social avatar

Did anyone manage to have a working sharing of an Image in @SwiftUI using ShareLink? I can save mine to Files but not to Camera Roll, neither can I send it via e.g. Telegram. Not sure what's wrong with the image. I use ImageRenderer.cgImage to generate it

ramzesenok, to random
@ramzesenok@mastodon.social avatar

In an app of mine I use and 2 @model structures. I register both normally and can use them. However one of the Models behaves very unstable: sometimes the data is saved, sometimes – not. After updating to new TestFlight version it’s always gone. Any ideas why?

ramzesenok,
@ramzesenok@mastodon.social avatar

I narrowed it down and apparently data loss is happening when I call WidgetCenter.shared.reloadAllTimelines(). I've no idea how it can influence the SwiftData but here we are

ramzesenok,
@ramzesenok@mastodon.social avatar

Digging deeper: the problem seems to lay in the fact that I use ModelContainer(for: Model.self) in Widget/Intent and .modelContainer(for: [Model.self, OtherModel.self])

ramzesenok,
@ramzesenok@mastodon.social avatar

@adam yes but I seem to access different containers: https://mastodon.social/@ramzesenok/112328273657980737

ramzesenok,
@ramzesenok@mastodon.social avatar

@adam but I do need write access too. I don’t save explicitly, SD does it for me but it might be worth exploring. I’ve 3 entry points to DB – app, widget and intent. When I started using .modelContext(for: [Model.self, OtherModel.self]) also in widget, it started working fine and now only intent breaks everything. I’ve a feeling that if I unify access to the container then it should all work out. Problem is Intent doesn’t have .modelContext(for:) so I got to find a better solution

ramzesenok,
@ramzesenok@mastodon.social avatar

Making shared model context and using it in app and widget solved the problem partially, now it wasn't resetting the DB after rendering the widget but it still would when tapping on the widget that uses Intent. Using shared context also in Intent didn't yield any results

ramzesenok,
@ramzesenok@mastodon.social avatar

BUT I forgot about a little detail – my Intent was using a @parameter and this model has also accessed a model context – with a schema for only one of the models that is, not for both. Replacing that one with a shared context finally fixed the issue!

ramzesenok, to random
@ramzesenok@mastodon.social avatar

I’ve been developing a new app in the last weeks and I used a couple of interesting techniques and ideas so I figured I’d share it here as a part of movement. I also believe the process of creating an app and thinking about details is interesting so here you go

ramzesenok,
@ramzesenok@mastodon.social avatar

This is how I got dragged into Achievements feature. My idea is to give the bare minimum – the essence of the app – right away to the user but make it challenging and interesting to discover more capabilities with time and effort

A scrollable list of features one can unlock by achieving certain goals like “Get 6 stars” or “Get 3 stars 7 days in a row”

ramzesenok,
@ramzesenok@mastodon.social avatar

I came up with milestones the user would go for and features they achieve. I start with easy goals like “Get 3 stars” – doable in 1 day. This showcases the way Achievements work and gives a start to reach other heights

“A journey of a thousand miles begins with a single step”

ramzesenok,
@ramzesenok@mastodon.social avatar

You might have noticed on the Achievements screen that the stars there aren’t SF Symbols anymore. This is how I bring more soul to the app, these new stars have their own character + they match those on the default app icon

ramzesenok,
@ramzesenok@mastodon.social avatar

Of course one of the main things such an app needs is a nice overview on the Home Screen. Here’s what the widget looks like. I especially like the pattern on the empty-state widget’s background

Empty state of the widget with a star-pattern on the background, a button to set goals and a title that says, that no tasks are planned yet

ramzesenok,
@ramzesenok@mastodon.social avatar

That’s all for now, I’m not planning to add many more new features, maybe some smaller quality-of-life improvements. I’m polishing the app right now and fixing the bugs I found. I’ll be glad to read some feedback and suggestions over here and discuss it

ramzesenok,
@ramzesenok@mastodon.social avatar

If you like the app and want to try it out I invite you: https://forms.gle/6YUYAqibGMx2wfUn8
I will open access asap, I want to make sure there aren’t any obvious blocking bugs

ramzesenok,
@ramzesenok@mastodon.social avatar

@cb_nn_tt thanks a lot! I really appreciate it 😌

ramzesenok,
@ramzesenok@mastodon.social avatar

Lock Screen and Stand By widgets are coming as well!

Lock Screen widget with 3 stars on top and 3 tasks in the middle

ramzesenok,
@ramzesenok@mastodon.social avatar

I came up with an interesting streak representation in addition to a well-known GitHub-like one. This one comes to collection in the latest TestFlight of Star Tasks! Very happy about how it looks like in the end

ramzesenok,
@ramzesenok@mastodon.social avatar

Today I caught myself being satisfied with the features I've added to Star Tasks and now it's only about polishing, paywall, translations, tracking, preparing for and finally releasing it. Sweet feeling :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • cubers
  • magazineikmin
  • GTA5RPClips
  • khanakhh
  • InstantRegret
  • Youngstown
  • mdbf
  • slotface
  • thenastyranch
  • everett
  • osvaldo12
  • kavyap
  • rosin
  • anitta
  • DreamBathrooms
  • Durango
  • modclub
  • ngwrru68w68
  • vwfavf
  • ethstaker
  • tester
  • cisconetworking
  • tacticalgear
  • Leos
  • provamag3
  • normalnudes
  • JUstTest
  • All magazines