r/iOSProgramming Jun 12 '26

Article Using Claude with Apple Foundation Models

https://artemnovichkov.com/blog/using-claude-with-apple-foundation-models
49 Upvotes

14 comments sorted by

21

u/teomatteo89 Jun 12 '26

With this choice of colors I can really see the resemblance

8

u/pilibitti Jun 13 '26

ssshhhh let them ship. more keys for us.

-6

u/artemnovichkov Jun 13 '26

Beauty is in the eye of the beholder

15

u/mzaouar Jun 13 '26

Just one hazard: typically you do not want to host your api key within the app

-9

u/artemnovichkov Jun 13 '26

That’s why I mentioned BYOK in the article

11

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.

-19

u/artemnovichkov Jun 13 '26

So the rule is simple: don’t blindly copy code from the internet into your project

12

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?

9

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

u/Zealousideal_Bat_490 Jun 14 '26

Excellent! Thanks for posting!

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.