How to completely remove a book from iBooks

I have been reading a book about Swift programming until recently, I say recently because an updated version of the book was released. So I no longer need the Beta version.

It's pretty straightforward to remove the download but the image of the book cover remains...

the procedure is as follows:

  1. open iBooks in Mac OS, not iOS
  2. click on iBooks Store in the top-left corner
  3. click on Purchased on the right hand side
  4. click on the x for the book you wish to hide

note that you can unhide a book too

  1. open iBooks in Mac OS, not iOS
  2. click on iBooks Store in the top-left corner
  3. click Account on the right hand side, you might be asked to sign-in
  4. scroll down to iTunes in the cloud, you'll find Hidden Purchases
  5. click on Manage and you'll see your hidden purchases with an Unhide button below
  6. click on Unhide and your book will return to iBooks