Atomic layer deposition (ALD) and electrodeposition are combined with a porous template to create ordered arrays of nanowires in which a nickel core and an iron oxide shell are separated by a silica spacer layer. The switching of each magnetic component is distinct and occurs at a field that depends on the tunable thicknesses of the various layers.