Can I use parts of the sample apps code in my own app and still put it on the app store like normal?
Can I use parts of the sample apps code in my own app and still put it on the app store like normal?
Yes.
In theory you might need to look to the license, if you find one in github. But good luck for anyone who wants to sue you...