Crush the cornflakes finely in a bag and tip them into a bowl with the onion powder, garlic powder and paprika. Season with salt and freshly ground pepper and mix well.
Pat the halloumi dry with a little kitchen paper and cut it into bite-sized pieces.
Turn the pieces in the plain flour, then in the beaten egg and finally in the crushed cornflakes.Once the pieces are coated in flour, I take a thin skewer and carefully push it into the cheese cubes, one at a time, then dip each one thoroughly in the egg mixture and then in the cornflakes. That way I avoid getting my fingers caked in egg and cornflakes – and the coating sticks to the cheese better.
Arrange the pieces on a baking tray lined with baking parchment and spray lightly with cooking spray or drizzle over a little oil.
Bake in a preheated fan oven at 200°C for 8-10 minutes. Turn them if needed and give them a further 3-4 minutes. Use the same method in the air fryer.