Any form of magic in a dream predicts unexpected changes.
To dream that you are performing magic, signifies many pleasant surprises. It may also represent a creative mind and foretell that events will turn out the way you had hoped for.
To dream of performing black magic (bad spells), means that you have obtained your wishes through deceit and underhanded ways.
If you dream of someone else casting black magaic against you, this symbolizes evil and treachery - beware of false friends or the tricks of enemies.
If a spell book was the main feature of your dream, you have the power within yourself to create the future you wish for - listen to your instincts and they will guide you.
[1]