Comments (5)
@futuretap I'm a fan of SF Symbols, since the benefits are multiple. It creates a consistent and intuitive UI, without having to add tons of images to an App bundle.
It would be very convenient and highly appreciated when you can add support for SF Symbols (see: systemImageNamed:
) to your brilliant project.
from inappsettingskit.
Interesting idea. What exactly are you looking for? In which element would you like to see system image support?
from inappsettingskit.
// I just added a hack like this
extension IASKSpecifier
{
var cellSystemImage: UIImage?
{
if let imageName = specifierDict["IASKCellSystemImage"] as? String
{
return UIImage(systemName: imageName)
}
return nil
}
}
// and in cell for indexPath add
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
{
let cell = super.tableView(tableView, cellForRowAt: indexPath)
if let specifier = self.settingsReader?.specifier(for: indexPath)
{
cell.imageView?.image = specifier.cellSystemImage
}
cell.imageView?.tintColor = .label
return cell
}
from inappsettingskit.
I would also really like to see this feature. Makes adding premade symbols to the slider for example very easy
from inappsettingskit.
Related Issues (20)
- Does not compile on ios versions < 14 HOT 6
- Which object should be passed when posting a kIASKAppSettingChanged notification? HOT 3
- How to set TableView to "Grouped" style using Interface Builder. HOT 1
- Bad alignment for "compact" Date pickers HOT 4
- Migrate to Swift
- InAppSettingsKit broken for SPM integrations on XCode 13-beta3 HOT 3
- Date picker cell styling HOT 1
- Headers missing for Carthage framework HOT 1
- FooterText not wrapping HOT 15
- New
- Release the fix done for Carthage headers HOT 1
- Bb
- Cannot paste in text field HOT 2
- Disable Multiline Text view HOT 5
- When using IASKSegueIdentifier, the row is not deselected when closing the presented view controller
- How to show Large Navigation Title HOT 1
- UINavigationBar back button has no left padding on iPhone 14 HOT 3
- calling sethiddenkeys from within kIASKAppSettingChanged call crashes app HOT 1
- Allow IASK to be self-contained in a swift package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inappsettingskit.