Lets firstly look at the advantages of both systems !
They do not need any side room to slide back as do sliding gates
You do not have to go to the expense of digging up the driveway to lay a concrete footing
A reasonable pair of hinges is all that is required to enable the gates to be opened and closed
Gate operators can be conveniently fitted to existing swing gates in most cases, also if there is no mains power at the gate there is normally a good selection of low voltage gate operators which can be used
Sliding gates are able to slide along a fence line and therefore take up no room on the driveway itself as do swing gates (allowing for the arc of the swing gates to open up)
Once sliding gates are closed and locked onto a fixed post, they are very secure and cannot be forced open, as swing gates may be.
It doesn’t matter what size the driveway is, one sliding gate (when made from the appropriate size frame material) can be used, and therefore also one sliding gate operator, whereas a lot of the time dual swing gates are used, therefore 2 gate operator motors are required.
Sliding gates are not anywhere near affected by wind loading on the gates, as compared to swing gates. So the gate operators for swing gates need to be carefully selected to ensure they can handle the possible wind loads placed on them.
The larger the driveway, the greater the advantage the sliding gates become !
When security is an important aspect, generally speaking sliders are also a far better way to go.
The sliding gate automation is generally also simpler to install and is certainly not affected by wind loading as swing gate operators are.
If there is no room for sliding gates to slide along a fence line, then swings are the next option, but generally speaking it is normally always better to use sliders for the reasons mentioned above.