Alexander Blach

2.2K posts

Alexander Blach

Alexander Blach

@Lextar

iOS and Mac developer - Textastic, The Photo Cookbook, Weather Status for Netatmo @[email protected]

Germany 参加日 Temmuz 2008
416 フォロー中942 フォロワー
Alexander Blach がリツイート
Enid
Enid@ios_dev_alb·
My friend @Lextar just released a new version of the @Textastic code editor for iPhone and iPad 🚀 If you’ve been waiting to download this well-known app, now it’s free to download! 🎉 apps.apple.com/us/app/textast…
English
4
4
40
6.6K
Alexander Blach がリツイート
Textastic
Textastic@Textastic·
Textastic Code Editor for iOS is 30% off from today (#BlackFriday) through next Tuesday! #IndieAppSales $8.99 down from $12.99 in the US €9.99 down from €14.99 in Europe It's very rare for Textastic to go on sale, so get it now on the App Store: apps.apple.com/us/app/textast…
Textastic tweet media
English
2
9
13
2.7K
Alexander Blach
Alexander Blach@Lextar·
@simonbs Me too, I only started to reply here because of the original posts.
English
0
0
0
52
Simon B. Støvring
Simon B. Støvring@simonbs·
@Lextar And sorry for the late replies. I’m spending more time on Mastodon than Twitter these days 😄
English
1
0
0
101
Simon B. Støvring
Simon B. Støvring@simonbs·
I’ve spent *so much* time working with UIKeyboardLayoutGuide the past few days and I think I’ve now found a bug in UIKit. Calling -setConstraints(:activeWhenNearEdge:) for the same edge in two different sibling views only activates the constraints in one of the views (FB9788911)
English
1
1
10
0
Simon B. Støvring
Simon B. Støvring@simonbs·
@Lextar The solutions you describe here sound much like some of the workarounds I had to apply too. It was a tough battle getting views to be placed relative to the keyboard in the way I wanted. I’ll be happy to sig out my code and share it if you need it.
English
2
0
1
95
Alexander Blach
Alexander Blach@Lextar·
@simonbs I also set constraints that do nothing (e.g. topAnchor equal to topAnchor of same view) using the UITrackingLayoutGuide methods (e.g. a "nearBottomConstraint"). In viewDidLayoutSubviews I can look at nearBottomConstraint.active to determine if the keyboard is near the bottom.
English
1
0
0
60
Alexander Blach
Alexander Blach@Lextar·
@simonbs I have a solution now: I set followsUndockedKeyboard to true and pin a UIView to the keyboard layout guide. I then read the view's frame in viewDidLayoutSubviews to get the location of the keyboard on screen and can apply my own logic. (The view is orange in the screenshot).
Alexander Blach tweet media
English
1
0
0
97
Alexander Blach
Alexander Blach@Lextar·
@simonbs In Runestone, you move the line and column view up when the collapsed shortcuts bar is below it. How do you do that without the keyboard layout guide? I'm using UIKeyboardDidChangeFrameNotification but that gives me a full-width rect in UIKeyboardFrameEndUserInfoKey.
Alexander Blach tweet media
English
1
0
0
89
Alexander Blach
Alexander Blach@Lextar·
@simonbs Wow, ok. I'm struggling to detect the position of the shortcuts bar (when an external keyboard is attached). The keyboard notifications always return a large rect, even when there is only a small overlay on the right side of the screen.
English
1
0
0
50
Alexander Blach
Alexander Blach@Lextar·
@simonbs Do you know if this is still necessary in iOS 16? Have you received an answer from Apple to your bug report?
English
1
0
0
58
Simon B. Støvring
Simon B. Støvring@simonbs·
I solved this with by collecting constraints that are relative to the keyboardLayoutGuide and grouping them by the edge they’re active for. After collecting the constraints I call -installConstraints(on:) which calls -setConstraints(:activeWhenNearEdge:) once for each edge.
Simon B. Støvring tweet media
English
1
0
6
0
Alexander Blach
Alexander Blach@Lextar·
@Upperbeech Ja, hier bin ich mir nur noch nicht sicher, wie ich die App am besten an das große Display anpasse. Also ob ich die gleiche Ansicht wie am iPhone, aber als Split-View (z.B. links die Liste der Module und rechts die Diagramme) mache oder was eigenes, das den Platz besser ausnutzt.
Deutsch
1
0
0
104
ob-y
ob-y@Upperbeech·
@Lextar Hallo, ist auch eine Anpassung fürs iPad geplant?
Deutsch
1
0
0
19
Alexander Blach
Alexander Blach@Lextar·
If you have a Netatmo weather station, please check out my new app Weather Status! apps.apple.com/us/app/weather… See all weather station data at a glance and charts of all measured values. Supports lock screen widgets and includes an Apple Watch app.
Alexander Blach tweet mediaAlexander Blach tweet mediaAlexander Blach tweet mediaAlexander Blach tweet media
English
3
0
3
0
Alexander Blach がリツイート
iphoneticker.de
iphoneticker.de@iPhoneTicker·
Wetterstatus für Netatmo jetzt auch auf dem Home-Bildschirm dlvr.it/Sg5kzj
iphoneticker.de tweet media
Deutsch
0
1
1
1.3K
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
my option is to downgrade, that is exactly the opposite I need
Marcin Krzyzanowski tweet media
English
7
1
9
3.5K
Alexander Blach
Alexander Blach@Lextar·
@Aivars_Meijers @krzyzanowskim Receipts can be verified by StoreKit 2. You can still perform the validation yourself if you want to, but it's not necessary. I have an autorenewing subscription in my app without having to maintain a server.
English
0
0
1
0
Aivars Meijers
Aivars Meijers@Aivars_Meijers·
@Lextar @krzyzanowskim Don't you need to do receipt validation anymore? That was the biggest downside of the StoreKit if you don't want to deal with your own backend.
Jelgava, Latvija 🇱🇻 English
1
0
0
0
Alexander Blach
Alexander Blach@Lextar·
@krzyzanowskim I just don't see the incentive to give RevenueCat its share when StoreKit 2 is on the same level of "easy". Yes, the data is not real time, but I can wait a day.
English
1
0
1
0
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
@Lextar one can always switch to/from own implementation, it's a matter of convenience and quick start. The last time I implemented StoreKit1 it took a bit too much time and still failed randomly whenever apple's backend felt festive. There's a value in such services to quickstart
English
1
0
1
0
Michael Tigas
Michael Tigas@michael_tigas·
Friday evening I put thoughts to keyboard after nearly two years, and realised how much I missed writing. ✍️ So I decided to start a newsletter about my indie apps and share what i've learnt that's helped me earn a sustainable income. michaeltigas.substack.com #buildinpublic
English
3
4
14
0