Posts

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

kkolakowski, to apple
@kkolakowski@mastodon.social avatar

It is quite weird that before WWDC nobody is even talking about 😅 No wishlists, no requests, no angry users that wants more out of it 🤷‍♂️

All of the rage seems to be about the iPad. It's worth to note though that Vision Pro would benefit from iPadOS changes as well.

Migueldeicaza,
@Migueldeicaza@mastodon.social avatar

@kkolakowski we are still all learning the math to do funky hand gestures.

kkolakowski, to apple
@kkolakowski@mastodon.social avatar

For developers: As we approach first software update for I want to add support for visionOS „Device Support" files in - anyone could confirm me what is the format of the folder that contains them, if you can just DM me (or send via e-mail, contents of this folder if you ever used Vision Pro for development: ~/Library/Developer/Xcode/visionOS DeviceSupport

For example it looks like that for iOS:

Please boost!

kkolakowski, to macos
@kkolakowski@mastodon.social avatar

Is it just me that I use built-in basically all the time? It's set to "plain" text mode and I use to various kind of notes and temporary text, except code. I would love some improvements for this app in the future!

jkornat,
@jkornat@mastodon.social avatar

@kkolakowski same thing all the time 🙌 it’s one of the most used app in my daily workflow

kkolakowski,
@kkolakowski@mastodon.social avatar

@jkornat I would love multi-line editing in TextEdit (I get used to it badly in Xcode!)

And maybe some light syntax highlighting. And basically... that's it? 🤔 I would be happy!

kkolakowski, to SwiftUI
@kkolakowski@mastodon.social avatar

There's something iffy with (all? most?) native apps on

In theory - they look ok, controls are native, but "something" feels wrong wih them: they're usually slow, with some weird margins and behaviors sometimes, with choppy scrolling, etc.

☹️

davidbures,
@davidbures@mstdn.social avatar

@kkolakowski Yeah, as the rare macOS-only SwiftUI developer, I agree with you

SwiftUI is a framework for iOS first, and macOS is just tackled on. There are so many macOS things that don’t work properly or at all: sheet resizing, window animations, etc.

In my app, Cork, I have a sidebar that can have hundreds of items. For some reason, when you right-click one of the elements, it takes a few seconds to just open the context menu

I wish Apple was more serious about macOS

kkolakowski, to random
@kkolakowski@mastodon.social avatar

Could anyone tell me why XML apparently is "banned" as a viable data format now? 🤔 I have a feeling that absolutely no new project is using it.

For some use cases it fits much better than JSON for example, yet everyone treats it like some kind of "legacy" and "unusable” format for some reason 🤷‍♂️

kkolakowski,
@kkolakowski@mastodon.social avatar

@krzyzanowskim Those are very good points indeed... That's probably how cycles in tech works 🤷‍♂️

Even in Swift we have JSONSerialization for Codable types in stabdard, yet any kind of XML serialization must be provided manually or by third-party libraries.

I'm not saying that JSON is worse in general, as it's probably (a bit?) better in some cases (config files, API responses?) - but for some other things, for example to describe a UI, or a document - I would still use XML.

kkolakowski, to iOS
@kkolakowski@mastodon.social avatar

It's quite obvious for developers that compiler is SLOW 😔

But how slow? I made a toy project that tries to (naively, I admit) compare compilation speed of a few compiled programming languages: C, C++, Go, and 🤓

https://github.com/vashpan/compilers-speed

kkolakowski, to apple
@kkolakowski@mastodon.social avatar

Apple keynote in less than 3 hours and I almost forgot about it 🤷‍♂️

It's rather obvious that fifteenth iPhone won't be as exciting as fourth or fifth 🤔 WWDC keynotes are for sure much more exciting for me these days.

Nevertheless, I'll be watching live, out of habit - maybe we'll get some surprises 🤞

kkolakowski, to swift
@kkolakowski@mastodon.social avatar

For those who have to deal with time/dates in Swift (or Obj-C), in a little bit more advanced way than just parsing/displaying them - this is great article that details not only how, but also "why”.

Date & time is incredibly hard problem for CS, and do not try to „outsmart” it, by creating wrappers & abstractions over what might seem to be too verbose. It'll bite you!

https://auth0.com/blog/introduction-date-time-programming-swift-1/

kkolakowski, to random Polish
@kkolakowski@mastodon.social avatar

FYI guys, Swift 5.7 introduced Clock protocol and Duration type that are great improvements over the good-old TimeInterval, and finally a "proper" way to measure performance.

One thing that is missing and should be added to Foundation (TimeInterval is part of Foundation) is conversion from Duration to TimeInterval - not a hard thing to do, but could be helpful.

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