mocatex 🇨🇭
banner
mocatex.bsky.social
mocatex 🇨🇭
@mocatex.bsky.social
CS Student 💻
Trying to learn new stuff :)
Have a look at my projects: https://github.com/mocatex
I just completed "Secret Entrance" - Day 1 - Advent of Code 2025 🥳 some cozy coding in these cold days!
#AdventOfCode adventofcode.com/2025/day/1
Day 1 - Advent of Code 2025
adventofcode.com
December 2, 2025 at 12:36 AM
some intern at Cloudflare this morning:

git push origin main —force

#lgtm
November 18, 2025 at 1:26 PM
Day 21/100 of #100DaysOfSwiftUI done!🎉

Over 1/5 of the way there! :)

Today we finished our design of the Flag-Guessing Game
Only the logic behind the score is yet missing.
April 27, 2025 at 10:32 AM
Day 20/100 of #100DaysOftSwiftUI done!🎉

Today I learned a bunch of useful stuff about buttons, images, alerts and more!

And I introduced a tab-system so I can keep all the code lectures from one day in one app and don't have to delete them.
April 27, 2025 at 8:27 AM
my iPhone just got stolen last week...
in broad daylight when I left my table for literally 15 seconds in the lounge room of my university... wtf? 🤯

Why are people like this? They can't even do anything with it, since it's now hardware locked 🔒
April 8, 2025 at 4:45 PM
Day 19/100 of #100DaysOfSwiftUI done!🎉

Today I finished my first challenge!
My I present: Converty - your time converter 🔀

FUNFACT: 6 weeks contain exactly 10! seconds… no joke!🙃
March 31, 2025 at 2:09 PM
Day 18/100 of #100DaysOfSwiftUI done!🎉

Well those challenges today were fairly easily :)

But I used the time to deploy WeSplit on my iPhone for the first time!

What a nice App-Icon!😂

Tomorrow my first challenge in this course starts!👀🔥
March 30, 2025 at 9:12 PM
Day 17/100 of #100DaysOfSwiftUI finished!🎉

First ever mini project done!🥳
That was on my bucket list for a very long time! 👀

WeSplit… ready for the AppStore🙃😂
March 30, 2025 at 7:36 PM
Day 16/100 of #100DaysOfSwiftUI done!🎉

So now we here… my first ever SwiftUI Project :)

Project 1: WeSplit - a Tip split calculator💰💶

Well you can’t quite see anything of that… but we will get there tomorrow I guess
March 29, 2025 at 4:32 PM
Day 15/100 of #100DaysOfSwiftUI finished!🥳

Soo now we are done with the Swift part… now we start with SwiftUI 🤩

Today the lesson was this 1 hour recap of Swift:
www.youtube.com/watch?v=n5X_...

Very good Video of @twostraws.bsky.social !🔥
Learn the Essentials of Swift in one hour
YouTube video by Paul Hudson
www.youtube.com
March 29, 2025 at 10:56 AM
Day 14/100 of #100DaysOfSwiftUI finished!🎉

Today the subject was: optionals
Or was it?😌

checkpoint today was a One-Liner
March 27, 2025 at 8:20 AM
Day 13/100 of #100DaysOfSwiftUI finished 🥳

Phew… that was a fight today🫠
Lot of new information!
But I think I conquered that checkpoint!😌

But I really have to think myself through opaque returns and those „complex“ built extensions again!

But I guess it comes with using it a lot :)
March 25, 2025 at 3:19 PM
Day 12/100 of #100DaysOfSwiftUI done!🎉

Soo today we tackled classes in swift! I like them! Quite similar to them in Java… but I like the deinit() method!
March 24, 2025 at 11:52 PM
Day 11/100 of #100DaysOfSwiftUI finished 🥳

today we finished the intro to structs.

And with a bit of googling I found this much nicer control-flow-tool called „guard“ much nicer/cleaner rather a if/else structure in my eyes. 👀

What do you think?🤔
March 20, 2025 at 10:23 PM
Day 10/100 of #100DaysOfSwiftUI finished🎉

yaay 10% done! ✅

today we learned about structs
kind of like classes in Java?

But it seems as if there are also classes in Swift… so gotta be patient wait for that to come :)
March 20, 2025 at 4:57 PM
Day 9/100 of #100DaysSwiftUI finished.🎉

Closure are actually a bit tricky…🔥

Somehow the syntax highlighting in my Xcode seems a bit off… too much is considered „Plaintext“🤔
Gonna try and reinstall Xcode.
March 20, 2025 at 3:00 PM
Day 8/100 of #100DaysOfSwiftUI finished 🎉

error found 🙃

todays checkpoint: brute force square-root finder!

with a very efficient O(sqrt(n)) runtime complexity!🤩😂
March 17, 2025 at 1:16 PM
Day 7/100 of #100DaysOfSwiftUI finished 🎉

Now we accomplished functions
I almost always start a dictionary with { rather than the [

old Python habbits🫠
and from today and „yesterday“
I don’t like the 1…10 notation!
Sadly I can’t use stride() everywhere. :(
March 16, 2025 at 10:11 PM
Day 6/100 #100DaysOfSwiftUI done! 🎉

Damn I am in a rush!😌

Today we got the good old FizzBuzz Problem!

I personally prefer the %-operator rather than the .isMultiple() function
March 16, 2025 at 4:16 PM
Day 5/100 of #100DaysOfSwiftUI done! 🎉

I don’t like the „missing“ indent in the default auto-format at the switch cased.

Here I prefer the Java-Way with a indent :)
March 16, 2025 at 3:38 PM
Day 4/100 of #100DaysOfSwiftUI done! 🥳

Somehow the built in functions (e.g. print) are not colored. Custom built are… weird…🤔
March 16, 2025 at 2:51 PM
Day 3/100 of #100DaysOfSwiftUI finished! 🎉

Sadly got sick last week🤒
But now it goes on :)
March 16, 2025 at 2:24 PM
Day 2/100 done of the #100DaysOfSwiftUI course…

wow (🙏) two days in one…
if I keep doubling it I am done in 7 Days😌

But now I know how much 42°C in °F is!
March 9, 2025 at 4:33 PM
🎉 Finished Day 1/100 of #100DaysOfSwiftUI

I guess the first few days I can just skim through and pick out the differences to other languages :)

I kinda miss the type definition when declaring a variable🫠 seems so „naked“ without it
March 9, 2025 at 2:44 PM