title: Closing Mac Applications Programmatically
body: <p>I want to make an app that can close any application you tell it to.</p>
  
  <p>I have tried NSApp terminate:nil
  but it closes my app instead of the one i want it to close </p>
  
  <p>How do I close any application on my mac using objective c.</p>