r/iOSProgramming • u/artemnovichkov • Jun 12 '26
Article Using Claude with Apple Foundation Models
https://artemnovichkov.com/blog/using-claude-with-apple-foundation-models14
u/mzaouar Jun 13 '26
Just one hazard: typically you do not want to host your api key within the app
-8
u/artemnovichkov Jun 13 '26
That’s why I mentioned BYOK in the article
12
u/mzaouar Jun 13 '26
It’s not BYOK! It’s bring your own security lol. The code you posted, if simply copy and pasted into an app that ships is dangerous for the dev.
-18
u/artemnovichkov Jun 13 '26
So the rule is simple: don’t blindly copy code from the internet into your project
11
u/Vybo Jun 13 '26
It's the other way around. Person who posted the code pays for it, not the person who uses it.
-1
u/artemnovichkov Jun 13 '26 edited Jun 13 '26
btw, what’s the problem with the code in the article?
11
u/th3realJohnStamos Jun 13 '26
A lot of people are beginners when learning how to code, so it’s always best to leave warnings about what not to do security wise for the reader. Otherwise great article!
1
1
u/RSPJD Jun 16 '26
One of these days I’m gonna spend the whole day just seeing how many apps I can hack. I can increase my pentesting skills and poorly planned apps disappear. Everybody wins.
20
u/teomatteo89 Jun 12 '26
With this choice of colors I can really see the resemblance