Skip to main content

Featured

How To Configure Mail Client From "mobileconfig" File ( iOS )

If you want to configure mail client of your web email address from mobileconfig to your ios device.
Follow the steps: Download the mobileconfig file from your email provider. In my case cPanel Email (->Email Configuration -> Select the email address -> IMAP (application:ios) ->Proceed ).Now you will get mobileconfig.Upload that mobileconfig file to files.fm. And note down generated that link.Open that link from safari your iOS device.Click on the file.Now opens a screen showing the profile. Click install -> Type passcode -> install.Now it will ask for the password of your email address.Done. Now you can use your new email profile for sending and receiving emails.



How To Run Glut And Opengl On Xcode

To run glut and openGL on Xcode follow these steps:

  • Open Xcode > 'Create a new Xcode project' .
  • Navigate to 'macOS' tab and select 'Command Line Tool' > Click ' Next' .
  • Fill your project name and other details > Select 'C++' as language > 'Next' .
  • Choose the project Location .
  • Click on your project name (at the top left corner).
  • Navigate to build Phases > Click add button '+'. Now  one search window will pop up.
  • Search and add 'OpenGL.framework' and 'GLUT.framework'.
  • Now click on the main.cpp file and add this line (header file adding) >

#include <GLUT/glut.h>

Sample code available here.


Now you can start programming on GLUT and openGL :)

Popular Posts