Post

Replies

Boosts

Views

Activity

Reply to Does my business need to be VAT registered to sell on AppStore?
What country are you in? You don’t need to be VAT-registered if your turnover is below the registration threshold, but it can be beneficial to register voluntarily. Your receipts from Apple are an international business-to-business transaction, so are “reverse charged” i.e. in effect no VAT, but your expenses will likely be domestic (e.g. buying computers), so you reclaim VAT on them.
Nov ’23
Reply to Question about coding style guide at Apple with continue and break keywords
The reason for disliking them is that they permit "less structured" control flow. GOTO permits totally-unstructured control flow. break and continue are like a restricted form of GOTO. Structured control flow is preferred because it is easier to correctly understand it when you read it. Remember, the next person who will read the code that you write will be a violent psychopath who knows where you live. Consider reading Djikstra's "GOTO considered harmful" paper. I don't know if you'll really understand it, but try. In my opinion, when you consider writing break or continue your should ask yourself "How could I write this otherwise, and would that be more or less clear?". If the alternative would be less clear (to the axe-wielding psychopath), then break and continue are fine.
Topic: Design SubTopic: General Tags:
Nov ’23
Reply to Question about coding style guide at Apple with continue and break keywords
I've no idea what Apple do. There are various corporate style guides that are available online, including Google's. The important thing is to understand why these things might be discouraged. If you're smart, you should imagine future-you writing a style guide for your subordinates, not blindly following one written by someone else. (If you're not smart, stop asking questions and just do what you're told!)
Topic: Design SubTopic: General Tags:
Nov ’23
Reply to StoreKit 2 - AppTransaction.originalAppVersion confusion
in testing and I only get "1.0" as originalAppVersion within the beta release Development versions always report 1.0. In production it does report whatever is in CFBundleVersion. For my apps, in the past that was set manually to 1.2.345667. Now I think it automatically gets set to just the 34567 part. All you really need to know is whether the version is “new” or not. So if your first free version is 2.0 build 1234567, then check for anything that contains “2.0” or “1234567”, and consider everything else “old”.
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’23