swiftui-introspect
swift-composable-architecture
Our great sponsors
swiftui-introspect | swift-composable-architecture | |
---|---|---|
29 | 59 | |
5,156 | 11,153 | |
2.3% | 2.5% | |
8.3 | 9.6 | |
about 2 months ago | 4 days ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swiftui-introspect
-
Can I add a blinking cursor to a TextField when using a custom keyboard?
The SwiftUI Introspect package can probably help here. I know what the correct implementation is for NSLayoutManager in macOS, but I haven’t tried it in iOS.
-
Is it possible to make this kind designs with UIKit?
That's inaccurate. It's built on top of UIKit, at least at the moment, or this kind of project would not be possible. https://github.com/siteline/SwiftUI-Introspect
-
In general, how "safe" is SwiftUI introspect?
Curious if an iOS version bump has ever led to introspect not working and/or crashing.
-
Tracking user scrolling with SwiftUI and UIKit
You can use Introspect to get the underlying UIScrollView
- How do we achieve this sliding keyboard effect?
-
Refreshable modifier issue
That’s because refreshable support to ScrollView was added only in iOS16. If you want to have it also for iOS15 you have to access ScrollView‘s underlying UIScrollView and set an UIRefreshControl on it. The Introspect library is helping here.
-
[SwiftUI] How to set custom font to NavigationBarTitle
You need to install Introspect library.
-
Why is the scroll indicator not at the edge of the screen when in left landscape mode (iPhone 13 mini)?
The scroll indicator insets are not exposed to SwiftUI, as far as I know, but you could use something like SwiftUI-Introspect to get access to the underlying UIScrollView and then set the verticalScrollIndicatorInsets
-
Posted this on r/swift but seems like this is more appropriate
I don’t believe this is possible I’m SwiftUI, but you should be able to do it if you grab the underling UIKit navigation view controller using this library: https://github.com/siteline/SwiftUI-Introspect
-
LocationButton breaking layout
You're welcome :) I work and worked with UIKit quite a bit and they look exactly the same and have very similar features - but also from some articles I read a few years back when SwiftUI was introduced and tools like SwiftUI-Introspect.
swift-composable-architecture
-
Kaleidoscope of iOS app architectures
TCA for short. Very scalable, quite promising, quite popular. A decent alternative for MVVM enhanced by the Clean Architecture. You can learn more about it in a Point-Free tutorial and on GitHub.
-
My largest project yet: A fully themable, powerful task manager and daily planner built with SwiftUI. Available on iPhone and iPad for free (no ads, IAP or data collected).
🙏 Built with SwiftUI and The Composable Architecture (TCA): This isn’t a feature, but I just want to express my gratitude to the creators and maintainers of these two frameworks, which have played a huge part in making me fall in love with iOS development.
-
Koji je vas odnos prema alternativnim hype-ovanim paradimama programiranja, frameworcima i tehnologijama?
Razliciti alternativni frameworci i arhitekture - Recimo, na pamet mi padaju Composable Architecture (https://github.com/pointfreeco/swift-composable-architecture) i RIBs arhitektura (https://github.com/uber/RIBs). Ok, ove arhitekture resavaju neke probleme. Ali da li problemi koje te arhitekture resavaju solidan developer ne moze sam da resi bez vendor locka za kreatore tih arhitektura. Jesu one open-source, ali meni je rizik da se vezujem za bilo sta sto sutra moze da prestane da se odrzava.
- SwiftUI Structure and Architecture
-
What design patterns exist and which should I learn for SwiftUI?
I came across this post discussing MVM, MVVM, MVP, and composable architecture.
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
-
Ideal architecture for an app entirely in SwiftUI? Example code repo would be great
I’ve built a couple of apps with this framework: https://github.com/pointfreeco/swift-composable-architecture
- Use of EnvironmentObjects for sharing ObservableObjects
-
Best way forward coming from the Javascript / Typescript world?
While there are apps that use a Redux-style architecture, the arch is still in its infancy in the community. There are a number of implementations each with their own take on Redux. TCA is probably the one with the most name recognition and documentation.
-
Should You Still Learn UIKit?
Learn it if the project at hand requires it. A lot of older, more mature apps will still use UIKit, so it’s likely if you plan to work an iOS developer job that you will need it. But it’s getting to the point where a lot of the forward thinking shops are already starting to integrate SwiftUI. (Me being one of them) which, btw, a lot of people will say SwiftUI isn’t quite there yet, and I mostly disagree. SwiftUI is good for a great many use cases. Yes, there are still pain points, but you can write most of the apps you’d need to write in SwiftUI. And there are great architectural frameworks out there that actually give SwiftUI an opinionated way to structure apps that is testable and maintainable. Check out pointfreeco’s The Composable Architecture (https://github.com/pointfreeco/swift-composable-architecture)
What are some alternatives?
SwiftUIX - An exhaustive expansion of the standard SwiftUI library.
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
HighlightedTextEditor - A SwiftUI view for dynamically highlighting user input
redux - A JS library for predictable global state management
Alerts & Pickers - Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
tca-swiftui-navigation-demo - Demo project that shows how to implement navigation in SwiftUI iOS application using Swift Composable Architecture
swift-composable-navigator - An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind
iOS-Viper-Architecture - This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
MovingNumbersView - Moving numbers effect in SwiftUI
GRDB.swift - A toolkit for SQLite databases, with a focus on application development
neumorphic - 🚀Neumorphic is a SwiftUI utility to build Neumorphism Soft UI (supports both *outer shadow and *inner shadow)
TCA-tutorial