#SwiftData
Explore tagged Tumblr posts
gamesatwork Ā· 1 year ago
Text
E469 - WWDC Recap - Everything you want to know
Michael’s WWDC Content Schedule Michael and Andy are off this week, so Michael R. takes time to give a detailed look at what he learned at this year’s WWDC (WorldWide Developer’s Conference) from Apple. He focuses on how he approaches reviewing all the content, what was interesting for him, and how you can get the most out of WWDC when attending remotely. We have the largest list of links we’ve…
Tumblr media
View On WordPress
0 notes
rmurley Ā· 8 months ago
Text
Month of October
Spent most of the month starting up Universal Check-In. Worked with @Binding, which kept telling me I had the wrong object type. I set up navigation links, a struct and then a class for Airline, focus code for the text fields, use of alerts, and validation of input data. I spent some time studying regular expressions (which I never had to deal with before) and rsn across RegexBuilder in Swift, which makes the whole process so much easier. I started in with SwiftData, saving the airline inputs,
0 notes
fahrni Ā· 1 year ago
Text
Saturday Morning Coffee
Good morning from Charlottesville, Virginia! ā˜•ļø
Tumblr media
This week was Apple Developer Christmas also known as WWDC. It’s a time of year we learn what Apple has in store for developers for the next year.
At WillowTree we had a watch party at our Durham, North Carolina office. It was really great to meet folks I’ve worked with on projects but haven’t met in person.
It was really nice. A mini vacation with friends.
The keynote and Developer State of the Union were great as always and we all knew AI would be at the center.
Christine Hall • TechCrunch
Here’s everything Apple announced at the WWDC 2024 keynote, including Apple Intelligence, Siri makeover
We all suspected Apple would have an AI story this year, but they did announce other things. One that caught my attention was SwiftData allowing developers to use their own backend as a data source. It’s something every app developer integrating with a custom web service has to do. I’m super curious about it.
I’m also way behind the Swift Strict Concurrency train. It’s as if we have an entirely new language to learn.
Mark Gurman • Bloomberg
Apple to ā€˜Pay’ OpenAI for ChatGPT Through Distribution, Not Cash
This is a classic mistake all developers and designers are warned not to do. The classic ā€œMy app is so popular it’ll get you attention for the free artwork you give me.ā€ Uh, yeah, take cold hard cash.
The irony of this is Microsoft is in essence paying Apple to have ChatGPT integration in Apple OS’es.
Oh, most of the intelligence on device will be handled by Apple’s own models. But, when it does have to go off device it’ll make sure you know it’s ChatGPT so if it screws up you know who to blame. 🤣
Apple Security Engineering
Apple Intelligence is the personal intelligence system that brings powerful generative models to iPhone, iPad, and Mac. For advanced features that need to reason over complex data with larger foundation models, we created Private Cloud Compute (PCC), a groundbreaking cloud intelligence system designed specifically for private AI processing.
I want to know about the custom hardware Apple built. Sure, it’s running Apple Silicon and the OS is stripped down and buttoned up tighter than a drum to prevent accidentally introducing security holes, but I want to see how the hardware is assembled and see how it’s mounted in racks.
Tumblr media
Daniel Jalkut • Bitsplitting
During the crescendo to announcing its name, the letters ā€œAā€ and ā€œIā€ will be on all of our lips, and then they’ll drop the proverbial mic: ā€œWe’re calling it Apple Intelligence.ā€ Get it?
You may be asking why I included this post? I included it because Daniel called the ā€œApple Intelligenceā€ name over a year ago. Did Apple take his idea? We’ll probably never know. 😃
Hartley Charlton • MacRumors
Elon Musk has threatened to ban Apple devices from his companies over Apple’s newly announced ChatGPT integration.
Space Karen really is a big baby man. He and the Orange Menace are cut from the same cloth. I get my way or I’m gonna throw myself down and have a tantrum.
Do it, ban Apple products at your companies, baby man. šŸ‘¶šŸ¼
Nathan Edwards • The Verge
If you’ve never tried to do work on an iPad, I am genuinely happy for you. I’m writing this story on a Bluetooth keyboard connected to an 11-inch iPad Air M2. It’s a very nice keyboard, and the Air is a very nice tablet, but this would have been so much faster and easier on a convertible Chromebook. And I could still have watched Andor on the plane.
Folks are going to continue to ask for hardware they may never get. Google and Microsoft both offer hardware more akin to what iPad — MacPad? — users want.
The Viticci Monster is still your best bet.
Reid Spencer • NASCAR
Martin Truex Jr. felt it was time to regain control over his own life and his own schedule.
ā€œI’m obviously here to let y’all know that I won’t be back full-time next year,ā€ Truex said Friday in a press conference with team owner Joe Gibbs, confirming the widely reported news that he will exit the No. 19 Joe Gibbs Racing Toyota at season’s end.
It’s the end of an era. Truex is a Cup Series Champion with 34 wins in his pocket and is always a threat to win on the track.
Here’s to retirement. I hope you enjoy every moment of it Mr. Truex.
Lydia Mee • Newsweek
A pivotal gathering is reportedly taking place in Montreal today, where Formula 1 team bosses are set to convene to deliberate on the sport’s upcoming 2026 rule changes with F1 CEO Stefano Domenicali. This meeting aims to tackle increasing apprehensions surrounding the profound modifications proposed for the 2026 Formula One season.
Hats off to Formula 1 for trying to do something bold with their racing designs. In particular the motors are meant to combine electric power with a traditional combustion motor.
Charlie Savage, Jonathan Swan, and Maggie Haberman • New York Times
Donald Trump and his closest allies are preparing a radical reshaping of American government if he regains the White House. Here are some of his plans for cracking down on immigration, directing the Justice Department to prosecute his adversaries, increasing presidential power, upending America’s trade policies, retreating militarily from Europe and unilaterally deploying troops to Democratic-run cities.
I’ll continue to beat the anti-Orange Man drum until he’s no longer a threat to Democracy. He must be defeated in November and our system of government must be hardened and prepared for an onslaught of attacks and violence if he is defeated.
Stephen Marz
The standard library contains a ton of code that we don’t want to write ourselves, including printf, scanf, math functions, and so forth. So, we need to make sure our operating system can link to this library and everything ā€œjust worksā€. This post will show you how I linked our operating system to a standard library, newlib, and the trials and tribulations encountered in doing so.
Wow. Stephen has a lot of stuff to consider while integrating the standard C runtime libraries into his Rust based OS. I really need to keep an eye on his work.
Oladimeji Sowole • The New Stack
Note that at this stage, only certain aspects of the Edge UI have undergone this change. In reply to a Mastodon user who asked about this, Russell confirmed that it is ā€œan ongoing effortā€ and that the Edge team is ā€œconverting surface-by-surface, with ~15% fully done so far.ā€
At the day job I’m diving into React Native because we’re getting a lot of requests for React Native work.
On the flip side you have Microsoft rethinking their use of React in their browser. It makes sense to me. You want your browser to be as zippy and memory efficient as it can be.
James Bickerton • Newsweek
On Thursday 192 House Republicans voted for an amendment which would have required a controversial Confederate monument to be reinstated at Arlington National Cemetery, where it was removed in December 2023.
What an embarrassing time in America. The GOP is fully embracing every mean and cruel law they possibly can. Why do they have to control everyone?
It’s always been a bit of a puzzle to me how the Republican and Democrat party have morphed over the years. Remember it was the GOP led by Lincoln who abolished slavery. Here we are over 150 years later and the GOP wants to control every life in America and Democrats are against it.
Tumblr media Tumblr media
0 notes
codingoutofcuriosity Ā· 1 year ago
Text
5-8-24: Days 41, 43, 82
I reviewed Days 41 and 43 to solidify some things I’ve learned, and Day 82 consisted of 3 tutorials:
1. Building our tab bar
2. Storing our data with SwiftData
3. Dynamically filtering our SwiftData query
Day 82 quote: "The most difficult thing is the decision to act, the rest is merely tenacity." - Amelia Earhart
0 notes
script-ease Ā· 2 years ago
Text
0 notes
hackernewsrobot Ā· 2 years ago
Text
SwiftData
https://developer.apple.com/documentation/SwiftData
0 notes
vdf360dp Ā· 5 years ago
Quote
Imagining SwiftData
https://inessential.com/2020/07/11/imagining_swiftdata
0 notes
rmurley Ā· 9 months ago
Text
Friday Sep. 20, 2024
Currently working on Project 13, SwiftData, but I am also stuck on a couple of intractable problems from earlier projects.
I'm having all sorts of problems importing images. Supposedly all one has to do is drag the image to the Assets.xcassets folder in the project's Project Navigator pane, where the project will open an image window for that image. and add it to the project's assets. Unfortunately, this hardly ever works. Instead the image icon just returns to its starting point.
It works sometimes, even creating an imageset folder and a Content.json file. Still working on that one.
In general I'm learning quickly – Paul's lessons are outstanding.
0 notes
codingoutofcuriosity Ā· 1 year ago
Text
4-17-24: Day 61
Day 61 consisted of a challenge to expand on the app we created from scratch the previous day to make it use SwiftData:
Challenge: Use SwiftData to store the information you download, then use your SwiftData models to display the views you designed—you should only fetch the data once:
Tumblr media Tumblr media Tumblr media Tumblr media
This is as far as I got with SwiftData. I'm still very proud of what I created on Day 60! As for Day 61, I used SwiftData to store the information I downloaded, mostly displayed the views using SwiftData Models, and only fetched the data once. I also changed "user.isActive == true ? .green : .red" to only "user.isActive ? .green : .red" after remembering isActive is an actual bool and not a string like I had to pretend it was to make the code compile. I changed "user.registered" to "user.formattedRegisteredDate" in DetailView so I could change the date format as well from "mmm dd, yyyy HH:mm:ss" to "MM-dd-yy, HH:mm:ss" in ContentView and have that change displayed on-screen.
Day 61 quote: "Those who plan do better than those who do not plan, even though they rarely stick to their plan." - Winston Churchill
0 notes
codingoutofcuriosity Ā· 1 year ago
Text
4-15-24: Day 59
Day 59 consisted of the wrap up chapter for project 12, its review, and 3 challenges
1. SwiftData review
Challenge 1: Start by upgrading iExpense to use SwiftData:
I was able to do this, but:
Challenge 2: Add a customizable sort order option: by name or by amount:
I couldn’t figure out how to add @Model into iExpense’s ContentView.
Challenge 3: Add a filter option to show all expenses, just personal expenses, or just business expenses:
Similar problem. I know these solutions are so simple and it’ll haunt me if I don’t understand it, so I’ll continue to work on it tomorrow.
Day 59 quote: "People aren't born strong; people grow stronger little by little, encountering difficult situations, learning not to run from them." - Christina Grimmie
1 note Ā· View note
codingoutofcuriosity Ā· 1 year ago
Text
4-14-24: Day 58
Day 58 consisted of 3 tutorials:
1. Dynamically sorting and filtering @ Query with SwiftUI
2. Relationships with SwiftData, SwiftUI, and @ Query
3. Syncing SwiftData with CloudKit
Day 58 quote: "All great achievements require time." - Maya Angelou
1 note Ā· View note
codingoutofcuriosity Ā· 1 year ago
Text
4-13-24: Day 57
Day 57 consisted of 3 tutorials:
1. SwiftData: Introduction
2. Editing SwiftData model objects
3. Filtering @ Query using predicate
Day 57 quote: "Success is neither magical nor mysterious—success is the natural consequence of consistently applying the basic fundamentals." - Jim Rohn
0 notes
codingoutofcuriosity Ā· 1 year ago
Text
4-11-24: Day 55
Day 55 consisted of 4 tutorials:
1. Showing book details
2. Sorting SwiftData queries using SortDescriptor
3. Deleting from a SwiftData Query
4. Using an alert to pop a NavigationLink programmatically
Day 55 quote: "Always walk through life as if you have something new to learn, and you will." - Vernon Howard
1 note Ā· View note
vdf360dp Ā· 5 years ago
Quote
Twitter: Imagining SwiftData: https://t.co/K6l1dg60BO— Brent Simmons (@brentsimmons) July 11, 2020 https://t.co/K6l1dg60BO
http://twitter.com/brentsimmons
0 notes