Friday, May 18, 2018

Xcode On Windows


Xcode On Windows (Build iOS Apps on PC)
You can build an app for iOS even if you’re on a PC running Windows 10.
I wish I had known this when I first started because I delayed myself for 3 years before biting the bullet and buying a Mac.
Had I known about running Xcode on Windows or about the solutions below, I might’ve started building iPhone apps much earlier!
Rent a Mac
Before committing to buying a new Mac, you can actually “rent” one for development. You’ll remotely access the Mac and Xcode through your PC.
It’ll be like having the Mac desktop in a window on your Windows Desktop.
The really nice thing about this option is that the cost is really low and it’s the fastest option to get up and running.
If you decide that app development isn’t for you, you just cancel your plan. 
There are a few companies out there that provide this service:
1. VirtualMacOSX
Another service where you can rent a Mac with Xcode for development. Unfortunately I haven’t listened too much about this one so I can’t speak very much about it.

2. MacInCloud
This is the most well-known service out. You will not have to install Xcode because it comes pre-installed on Mac. You can also do pay-as-you-go so it’s a pretty low commitment. Some people complain that it’s slow but you can try it out for yourself since it’s only about a buck an hour!
3. XcodeClub
XcodeClub is run by Daniel who is a passionate developer himself. From the reviews I see, the service is fast and friendly. The pricing is less flexible than MacInCloud and you’ll have to commit to at least a month.
Virtualize MacOS
If you’re a little more technically savvy, you can use virtualization software and run a “virtual Mac” on your PC.
The services above are essentially doing the same thing on their servers and then they charge you a fee to access the virtual machine.
By setting it up yourself on your own PC, you essentially cut the middle man out of the equation.
Unfortunately it does take a little bit of technical know-how to get this up and running.
The two most popular pieces of software to do virtualization are VirtualBox and VMWare Workstation.
You can download them below and then use Google to find a guide on how to install the latest MacOS (High Sierra) with either VirtualBox or VMWare Workstation.
After that, spin up your new virtual Mac and download Xcode. This is as close as you’ll get to running actual Xcode on Windows!
4. VirtualBox
VirtualBox is open source software which means that it’s free. That probably explains why it’s a lot more popular than VMWare Workstation when it comes to running MacOS on your Windows machine!
5. VMWare Workstation
Unfortunately you’ll have to pay for this piece of software and at the time of this writing, a license costs about half the price of a brand new Mac Mini which is perfectly suitable for iOS app development. I would recommend you try VirtualBox first or try to buy a used Mac Mini.
Build a “Hackintosh”
You can also build a “Hackintosh” which is a PC that has been customized to run MacOS.
This requires the most effort out of all the options presented so far but it can work for someone who wants a separate physical computer running MacOS.
6. Hackintosh.com
A great resource for all things Hackintosh. The first How-To section contains links to a number of great tutorials for building your own Hackintosh and installing High Sierra.
I love looking for Reddit communities on anything that I’m interested in because there are always interesting conversations happening. Reddit provides a way to have a dialogue with like minded individuals, to get help and to help others!
I included this link because it contains up to date news and articles for Hackintosh builds.
Third Party Solutions
Lastly, there are many third party solutions that you can use to do iOS development on Windows.
You won’t be using Xcode in these solutions but you’ll be able to generate an app that can run on iOS devices. 
Check out these great Xcode alternatives:
9. Appcelerator
Build native mobile apps using JavaScript.
10. PhoneGap
Build hybrid cross-platform mobile apps using HTML, CSS and JavaScript.
11. React Native
Use JavaScript to build native mobile apps.
12. Xamarin
Use C# to build a mobile app that you can deploy natively to Android, iOS and Windows.

Thursday, May 3, 2018

What is Auto Ads?


What is Adsense Auto Ads & How to implement?

Google Adsense is one of the Top Most ad networks in the whole world. Google Adsense launched Auto Ads on 21, Feb 2018. These auto ads are going to help Publisher to increase revenue. Also on top of that after applying Auto Ads, user don’t have to worry about the location of ads. Auto Ads are strong enough to find out proper space to display ads. In this Post, I am going to Explain that ‘How do you setup Auto Ads on you website/blog?’

Ø How it(Auto Ads) works?                                                 

If you wish to utilize this new feature on your blog or website, let’s learn how will ads work. Adsense auto ads analyze your website before showing ads, If there is any empty suitable space is available. Then new ads will start displaying on that empty space. So this feature increases the number of ads on your page. Also we don’t need to add multiple ad code, if we have added these auto ads.

List of benefits from Adsense Auto Ads:
  •       You do not need to create and place multiple ad codes on your website. Auto          ads will need to be placed on your website only once.
  •        Auto Ads are strong enough to find out available space on your page and place maximum suitable ads.
  •       This feature allows us to remove old ad codes from the site.
  •       Allows us to select the type of ads you want to display on your website.



Ø How to create Auto Ads                                  

To place Auto Ads, first create Auto ad unit.
  •        Login to AdSense  account then go to My Ads.
  •       Under My Ads, click on Auto Ads.
  •       After that click on Setup Auto Ads
  •       Next Page will show you Auto Ads global settings, Enable all categories and click save.
  •       A new window will open with code generated for Auto Ads.



Now above steps helped you to learn how to setup Auto ads. Now next thing is How to implement/place ad code on your blog or website.


Ø Implement Auto ads on your Website or Blog 

If you are having blog or website then we have to edit theme or main page of your website. And place ad code there.

I have listed some steps below.

To apply Auto Ads for the blog:

  •       Login to account and select blog you wish to apply auto ads.
  •       From the menu select theme & click edit HTML.
  •       Search for <head> in that page and place copied auto ads code after <head> tag.

 



  
  •       <head>

Paste your Adsense Auto Ads here...

  •       Save theme. Allow 10-12 hours to Adsense to display auto ads on your blog.
  •       Same thing applies to blog created on Wordpress, only difference is location of theme.
  •       On wordpress site/blog go to Appearance > Editor and choose the header.php file.
  •       Search for <head> in that page and place copied auto ads code after <head> tag.
  •       Save and Allow 10-12 hours to Adsense to display auto ads on your blog.



Thank You!! Happy Blogging!!