Sign in

SwiftNuggets: 🍗 { var nuggets: [💡] }

@swiftnuggets.bsky.social
199 followers 438 following 21 posts

🧑‍💻👩‍💻👨‍💻Get your daily dose of Swift and SwiftUI. Snacks 🍟🍕👀 to learn, grow and improve your knowledge.

PostsRepliesMedia
Reposted by SwiftNuggets: 🍗 { var nuggets: [💡] }
Jan Armbrust  @n0rthk1n9.eurosky.social · 10/03/2025
You folks got me motivated, so here is an update! 👨‍🍳🚀 You can decide now, if you wanna apply hashtags only to the first or to all posts. You can also select to split based on sentences than on words. (1/2) #BuildInPublic #indiedev #swift #swiftui #iOS #dev #iosdev
292
Reposted by SwiftNuggets: 🍗 { var nuggets: [💡] }
Jan Armbrust  @n0rthk1n9.eurosky.social · 10/03/2025
Yesterday out of frustration with all the different character limits, I built an app to auto split longer posts for me so that I can focus on what I want to communicate and not on if it fits nicely into a post on a certain platform. (1/2) #BuildInPublic #indiedev #swift #swiftui #iOS #dev #iosdev
7339
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 13/01/2025
Swift Nugget 11 🌶️: Happy belated New Year to all of you 🙌🏻 I’m finally back after a complete break of everything development related with some LinearGradient SwiftUI magic 🪄✨ Try it out: github.com/n0rthk1n9/Sw... Demo video down there 👇 #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showing a SwiftUI view with a Linear gradient masked with the text “Happy New Year 🎉”. The gradient is animated from the leading to the trailing edge, looping through the colors cyan, indigo, purple, mint and teal.
260
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 07/12/2024
Swift Nugget 10 🥙: The .fontDesign view modifier helps all us SF Pro rounded lovers immensely 😍 Set it to the main view of your app and all texts are in rounded design 💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showing off the usage of .fontDesign(.rounded) at the root of the app to make all texts appear in SF Pro rounded font in SwiftUIA screenshot of a code editor with a SwiftUI text field stating „Automatically SF Pro rounded“A screenshot of an iPhone simulator with a text reading „Automatically SF Pro rounded“
0111
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 05/12/2024
Swift Nugget 9 🍐: With this custom enum, you can track and set the focus states of your TextField. You can use it to guide your user which TextField to fill out and save him a tap💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showcasing how to set the focus state of a SwiftUI TextField.A screenshot of an iPhone simulator showing a form with two TextFields, the focus is on the first field and the keyboard is open.
190
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 28/11/2024
Swift Nugget 8 🍓: Use .autocorrectionDisabled to turn off auto correct for a TextField. This might be helpful for fields where the user just quickly wants to take a note 💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showing a swift file with an example usage of the autocorrectionDisabled view modifier on a SwiftUI TextField.A screenshot of an iPhone simulator showing list of 8 Swift Nuggets to represent the second week of Swift Nuggets starting todayA screenshot of an iPhone simulator showing a form with 2 SwiftUI TextFields to to show off the usage of .autocorrectionDisabled
2121
Reposted by SwiftNuggets: 🍗 { var nuggets: [💡] }
App Exhibit @appexhibit.bsky.social · 28/11/2024
Inspired by all the #IndieSky posts we‘ll also participate 🙌🏻 In posts on @swiftnuggets.bsky.social and here will be promo codes ☺️🙌🏻 To test the app first, go try it here: apps.apple.com/app/apple-st... #indieappsales #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev #RCGrowthChallenge
062
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 27/11/2024
Swift Nugget 7 🍕: Use .textInputAutocapitalization to control the automatic capitalization of text. Make sure to set this to .never in fields where the user has to type custom words like hashtags 💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showing a swift file with an example usage of the textInputAutocapitalization view modifier on a SwiftUI TextField. It includes 4 fields for the 4 options .words, .sentences, .characters and .neverA screenshot of an iPhone simulator showing a form with 4 SwiftUI TextFields to represent the 4 different options of the view modifier textInputAutocapitalization.
0120
Reposted by SwiftNuggets: 🍗 { var nuggets: [💡] }
Paola Campanile 🐸 @piolacampanile.bsky.social · 27/11/2024
Daily Pokémon ✍️ #pokémon #sandyghast #procreate #iPad #digitaldrawing
062
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 26/11/2024
Swift Nugget 6 🍅: To customize lists even further, you can add sections with custom section headers 🎨🖌️ Do you have suggestions about what you want to see me doing here? 💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor showing how to add sections with custom section headers in a SwiftUI listA screenshot of an iPhone Simulator showing a list with a custom section header
0102
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 25/11/2024
Swift Nugget 5 🍗: Two view modifiers for the price of one today 💸🤪 .listRowBackground and .listRowSeparator let you customize a list view to your liking. Standard list view behavior + unique style = ❤️ Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of code of a SwiftUI view with a list that has a custom stile achieved by the .listRowSeperstor and .listRowBackground view modifiersA screenshot of an iOS simulator running an app with a customized list of elements. The list elements feature a mint colored title and a mint colored border with rounded corners for each element.A screenshot of a code editor with a SwiftUI view representing the content of a list row with a title and an emoji in a horizontal stack.A screenshot of an iOS simulator with a text and an emoji next to it.
172
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 24/11/2024
Swift Nugget 4 🍗: With the initializer of a TextField that includes value and format you get a nicely formatted currency input 💡I even discovered something interesting I’ll provide down in the 🧵 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
Screenshot of a code editor with a showcase of the Initializer that includes value and format for a SwiftUI TextField to format the input of the TextField as a currencyScreenshot of an iOS simulator running an app with an input field that supports currency formatting. The decimal keypad is open and the value in the TextField is 4,20 € 🤪
181
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 23/11/2024
Swift Nugget 3 🍗: The .textContentType modifier controls which autofill hint a user gets displayed above the keyboard of a SwiftUI TextField💡Add it to fill out address data for example at checkout ✅ Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A screenshot of a code editor that shows a form with TextFields in SwiftUI and the usage of the .textContentType modifier.An iPhone simulator that shows a SwiftUI app with a form with multiple TextFields one is focused and above the keyboard you see the auto fill hint for the city of an address. It says „Naples“
1271
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 22/11/2024
Swift Nugget 2 🍗: With the .keyboardType modifier you can tweak the appearance of the keyboard based on the content of a SwiftUI TextField.💡.twitter should be maybe replaced soonish… 🤪 🦋 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
Screenshot of a code editor, that shows the usage of the .keyboardType modifier for a SwiftUI TextField with all available options.Screenshot of an iPhone simulator that shows multiple SwiftUI TextFields with different .keyboardType modifiers applied. The keyboard for the .numberPad option of .keyboardType is open.
0123
Reposted by SwiftNuggets: 🍗 { var nuggets: [💡] }
Jan Armbrust  @n0rthk1n9.eurosky.social · 22/11/2024
Welcome to Bluesky @createwithswift.bsky.social 😍🙌🏻 If you want to learn awesome stuff about Swift, SwiftUI and everything related to native iOS development go check out www.createwithswift.com All of the authors are highly skilled, motivated and nice people and I already learned a lot from them 💡
createwithswift.com
Create with Swift - Anything is possible.
We are the coders and designers of imaginary institute and want to empower anyone to create and share their ingenuity through code. #WeLoveSwift
1144
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 21/11/2024
Swift Nugget 1 🍗: With the .submitLabel modifier you can change the submit button of the keyboard in a SwiftUI TextField to a variety of different options 💡 Try it out: github.com/n0rthk1n9/Sw... #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
A code editor window with Swift code showcasing the .submitLabel modifier, that is used for changing the button in the bottom right of the keyboard, when using a TextField in SwiftUI
1213
SwiftNuggets: 🍗 { var nuggets: [💡] } @swiftnuggets.bsky.social · 20/11/2024
Always wanted to know what this viewModifier is called, that can change the return key on the keyboard? Welcome to SwiftNuggets and that’s only one thing you’ll learn here 🙌🏻☺️ Happy to start giving back to the community. #buildinpublic #indiedev #swift #swiftui #iOS #dev #iosdev
042