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
Just tested it!
Nice little App!
If I had to give one thing as a future improvement… I think it would be to be able to switch between the imperial and the metric system. For example fluid-ounces don’t really tell me anything😅🫠
July 28, 2025 at 10:37 AM
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
If you want to do that, then a bit of UIKit is needed here...
Add this at beginning of your ContentView:

init() {
UINavigationBar.appearance().largeTitleTextAttributes = [.foregroundColor: UIColor.white]
}

So it should look like this:
Hope this helps :)
April 27, 2025 at 8:20 AM
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 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 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 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
iOS has soo many nice and beautiful pickers…

And than there is the date picker in macOS… 🥴🫠
March 14, 2025 at 11:42 AM
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
Joa… oder man schaut, dass die zig Milliarden Steuerbetrug jedes Jahr von der Seite der Milliardäre nicht mehr vorkommen und anständig verfolgt werden.

Aber nach unten treten geht natürlich viel einfacher…
March 3, 2025 at 11:01 AM
Thanks #elonmusk for the reminder! Almost forgot to donate…
February 1, 2025 at 9:26 PM