▲ 1 r/swift

Load view on top of another view (multiple pages within one "section")

It's been a while since I last worked with Xcode/Swift.

What I've got: A storyboard/UIKit layout with a single view controller with a single view (v1) with a single button (b1).

What I want to do: Once b1 is pressed, it opens another view (v2) with another button (b2) on top of v1 (on top = completely covers v1 and b1 isn't pressable anymore). Once b2 is pressed, v3 with a text input field and b3 is opened. Once b3 is pressed, the string in the input field is passed back to v1 and v1.allDone() is called.

I know how to do the whole button pressing thing and I remember that you can pass data back and forth between two view controllers using a segue but I remember that that is usually only used for bigger "sections": E.g. a login page would be one section, and the main menu and the settings menu would be two more but multiple pages within the settings would be part of the same "section".

What is the current way of creating multiple pages within one of these sections (no "back" button and I don't want to be able to swipe left or right to go to the next/previous page!) and switching/passing data between them with storyboard/UIKit?

reddit.com
u/ZiaQwin — 4 days ago
▲ 0 r/MacOS

How do I pause youtube with a non-Apple keyboard?

I have to do some work on a Mac Mini with Sequoia 15.5 and I just can't figure out how to pause a youtube video that is running in the background with my non-Apple keyboard (qwertz).

The keyboard doesn't have a deditcated "play/pause" key, there are a couple of Fn functions but most don't do what they should:

  • F5 - mute -> nothing
  • F6 - volume down -> nothing
  • F7 - volume up -> nothing
  • F8 - previous song -> previous song
  • F9 - stop -> mute
  • F10 - play/pause -> volume down
  • F11 - next song -> next song

Google says that you can create your own shortcut in the Shortcuts app, which I did for "play/pause" and when I click on "Add Keyboard Shortcut" and press F10, then it enters "fn-F10". But F10 still doesn't do anything and Fn+F10 still decreases the volume.

How do I make this "stick"/how do I pause the video with my keyboard?

reddit.com
u/ZiaQwin — 11 days ago
▲ 13 r/Austria

Wie funktionieren die Einfuhrgebühren- und die neue Zoll-Regelung?

Ich weiß, ab Juli fallen, laut WKO, für alles unter 150€ fix 3€ Zoll und eine 2€ Bearbeitungsgebühr an. Da ich aber schon lange nichts mehr aus dem Nicht-EU-Ausland (abseits Amazon, die sich ja um alles kümmern) bestellt habe, ist mir nicht ganz klar, was für Kosten sonst noch fällig werden.

Es handelt sich um einen Merchandise-Artikel (kein Tabak, etc.), der von einem US-Shop verkauft und irgendwann im Herbst (vermutlich ebenfalls aus den USA) versandt wird. Beim Checkout wird mir, neben den Versandkosten, auch noch der Punkt "estimated taxes" (unter $10) angezeigt.

Ich weiß, dass es früher mal so war, dass wenn das Paket richtig angemeldet und die MWSt schon im Voraus bezahlt wurde, dann keine extra Einfuhr- oder Bearbeitungsgebühren anfallen (sollten). Auf der Post-Seite wird für "Importtarif Drittlandsendungen bis 150,- Euro" ein Preis von 6€ bzw. 7,2€ (für besonders schwere Packerl) angegeben, im Kleingedruckten dazu wird aber eine gewisse "IOSS" erwähnt, die sich für mich genau wie die bereits erwähnte Regelung (vorher bezahlen -> ok) anhört.

Hat jemand Erfahrung damit? Wird es diese IOSS ab Juli überhaupt noch geben? Kann man sich 100% sicher sein, dass wenn die MWSt beim Bezahlvorgang angezeigt und auch bezahlt wird, dann nachher sicher keine Extra-Kosten anfallen - abgesehen von den neuen 3+2=5€ und natürlich sofern sich bis zum Versand nichts mehr ändert?

u/ZiaQwin — 16 days ago
▲ 5 r/wien

Wo bekommt man gelbe, normal-große Paradeiser (Früchte, nicht die Pflanze/Samen)?

Würde gerne eine gelbe Spezial-Gazpacho am Wochenende machen und brauche dafür gelbe Paradeiser. Spar verkauft, laut Webseite, angeblich die gelbe Cherry-Variante, aber normal-große habe ich dort noch nicht gesehen. Bei Merkur sowieso nicht (nur das "Raritäten"-Pack mit verschiedenen Sorten um rund 5€), bei Hofer oder Denns wären sie mir auch noch nicht aufgefallen und den Naschmarkt kann man leider schon seit längerer Zeit vergessen, was Gemüse angeht.

Gibt es die vielleicht beim Meiselmarkt (bei welchem Stand?)?

Grüne wären auch mal interessant, aber die sind wahrscheinlich noch seltener.

reddit.com
u/ZiaQwin — 19 days ago

I, a non-Irish person, have got an Irish gaming friend that I've known for years. I don't know what they look like or their real name (just their gaming handle in Steam and a couple of multiplayer games) but I do know their birthday, what city they live in, their relationship status and a little bit about their job and their family (like kids, parents, siblings,...). My friend does not use social media and I was never in direct contact with their family.

Sometimes we go weeks without talking (fellow gamers will understand...) but in the end we're both online multiple days a week. I don't remember my friend ever being offline for more than 2 or 3 days in a row (they don't go on vacation, only day-trips).

We last talked almost 2 weeks ago. They mentioned that they'd woken up with a headache again (I don't remember them ever mentioning headaches before) and they would go to bed early. They haven't been online since then (not even sneaky-offline, as that still shows games played in your profile) and I'm getting really worried because they have never done this before and also didn't mention going on vacation or wanting to stop gaming for a while (they only recently bought a new gaminc PC). They've got Steam on their phone, so even if there was something wrong with their PC, they would still see my messages. It doesn't help that I read about someone whose gaming friend had died from some brain related thing after talking about headaches, and they didn't learn about it until much later.

I keep checking rip. ie (not sure if links are okay) to see if there's an obituary for them but fortunately so far there hasn't been anything that sounds like it might be about my friend. The website usually doesn't list ages, so I can only go by what I know about my friend's family (e.g. if kids or a spouse are mentioned).

Is that website the only reliable place to check for obituaries (the website also links to funeral homes)? Is every death eventually posted there? Is there another way to find out if my friend is still alive if I only know the city, the birthday and the gender? Maybe some kind of public records I can check online? It would help if there was a (legal!) way to find all men and women born in that city on my friend's birthday, so I can at least compare first names with the website.

Any advice?

reddit.com
u/ZiaQwin — 2 months ago