iOS – Swift vs Objective-C

Since the introduction of Swift by Apple( a new programming language for developing iOS apps using xcode) , among iOS developers it has become a myth that Swift is going to replace Objective-C.

I just would like to add my few cents to this view:

MYTH 1: Swift will replace Objective-C immediately

NO, Swift is a new and flexible way of developing iOS apps. Though it has advantage over Objective-C, in terms of performance, stability and simplicity.  Objective-C has come so far and lots of apps developers prefers objective-c as their primary language for iOS development. It will take a long way for developers to migrate to Swift.

Apple doesn’t say you should migrate to Swift immediately, they have given you both options. Based on how flexible you are with each of these languages, you can choose to develop iOS apps using:

  1. Swift
  2. Objective-C
  3. a Combination of both (this would me more applicable for existing applications).

Apple has just given you another option for Developing iOS apps. So don’t fear about migrating to Swift immediately.

MYTH 2:  Existing apps should be migrated to SWIFT immediately

NO, Apple has given you a new concise language and syntax for iOS application development in fewer lines than traditional Objective-C.

You don’t have to migrate your existing applications to SWIFT, that’s not the intend. You have the flexibility to develop new features and additions to your apps using Swift (without upgrading or converting you code to Swift). Objective-C and Swift can co-exist in application development.

I hope that clarifies some of the confusions.

If you are a beginner and would like to learn about Swift, refer to the following articles:

Android Studio 1.0 released

Google Android Developer team has released version 1.0 of new IDE for developing Android apps. The new IDE is based on popular IntelliJIDEA platform(Community Edition) and Google Android is moving away from Eclipse based IDE for developing Android Mobile Apps.

Developers who willing to develop Android mobile apps should try the new IDE, and for existing developers Eclipse IDE based ADT plugin would be available for some time. Going forward Android Team would freeze releasing updates for ADT Plugin.

Android Studio 1.0 offers following features:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • Lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And much more

You can download Android Studio 1.0 for Windows, Linux and Mac

Read more from:

http://android-developers.blogspot.in/2014/12/android-studio-10.html

http://developer.android.com/tools/studio/index.html

Windows Phone Screen Sharing/Mirroring to PC

Being mobile developer and strong follower of Mobile related technologies, always admire to  demonstrate my work to my friends and colleagues.  All this time I was fancy about iOS Mirroring provided through apps Reflector and Air Server.   With help of these tools we used to mirror our iPad/iPhone to be mirrored to a Windows/Mac and then project that to large screen using a Projector. These tools seamlessly mirror your activities on iPad/iPhone and audiences get a live view of the application running in a Live Phone.  Advantage is you don’t have to rely on iOS Simulators coming with XCode and iOS SDK alone to demo your applications.

Coming to Windows Phone, we can have the same through a Wired Connection. Probably in recent Microsoft demos you might have fancied how the presenters used to share their Windows Phone activities and features from their live phones. You don’t have to envy them, it is available for our use now.

Microsoft has provided an application to be installed on Windows/Mac or Tablets and through a Wired or Wifi.

Download Project My Screen App from Microsoft

It is pretty simple to use:

1. Just install the app on your Windows/Mac

2. Connect your Windows Phone to USB (wired)

3, Launch “Project My Screen App” from Start Menu. It will detect your phone and your will will be prompted to Accept the screen sharing. Click on ‘Yes’, and look how amazing it is to share your screen on PC.

PS: There is a caveat you all need to know, you cannot share DRM protected contents through this feature. 

PMS_01

Enjoy your live demos…

Visual Studio 2013 – Update 2 is available

Microsoft has released the latest update for Visual Studio 2013 with major improvements including support for developing Universal apps for Windows 8.x, Win Phone, and XBOX.

Here are the list of improvements included as part of the release(lending from Visual Studio team blog):

Visual Studio 2013 Update 2 has many new capabilities as well as fixes that address bugs, customer feedback, performance, and reliability improvements. Here are some new capabilities that are part of this and related Updates and links to where you can find more info.

  • Universal Apps. With this release you can now build universal apps that can run on Windows 8.1 and Windows Phone 8.1 while sharing code and assets through shared projects.
  • TypeScript. The TypeScript language is a typed superset of JavaScript that compiles to plain JavaScript. As a typed language you can define classes, modules and interfaces that compiles to JavaScript and runs in any browser.
  • Web Tool. Our web development tools have many new features like SCSS support, a new JSON editor, updated ASP.NET templates, and an improved URL picker.
  • Azure tools. It’s easier to take advantage of Azure with options to create websites and SQL Azure databases directly on Azure for simpler deployment to a development / testing environment.
  • Diagnostics. Our diagnostics tools also got some enhancements. Performance events now let you navigate to user code for MVC Methods or jump to the SQL command for database queries. It is also possible to view the Windows Store diagnostics tools at the same time to see all your diagnostics information on a shared timeline.
  • Slipstream install. You can download Visual Studio with all its latest features from one install that includes Visual Studio 2013 RTM and Update 2 for Visual Studio.

There are a number of other important updates that are available today in addition to Update 2 for Visual Studio 2013:

  • Apache Cordova and Visual Studio. Cordova tools in Visual Studio let web developers build cross-platform mobile applications targeting Android, iOS, Windows and Windows Phone using use their existing skills in HTML and JavaScript. To learn more about Apache Cordova visit http://cordova.apache.org/
  • A cloud optimized .NET. The latest updates to the framework provide a cloud optimized mode that is smaller, lighter weight, and designed for cloud and server workloads.
  • .Net vNext. This update to the .Net framework is optimized for cloud-first and mobile-first development. It enables you to compile C# 6 and VB code with Roslyn compilers, speed up Windows Store apps with the .NET Native ahead of time compiler, and has a cloud optimized mode for ASP.NET apps.
  • TFS 2013 Update 2. It’s worth mentioning again the updates in TFS 2013 like improvements for tagging, charting, shared parameters, cloud load testing application analytics, and a lot more.

Check out Somasegar’s Blog and Brian Harry’s Blog to get more details on some of the highlights in this release. For a quick view at all the features and fixes included in this update go to the KB article.

DOWNLOAD:

Visual Studio 2013 – Update 2 (Web / ISO)

Visual Studio 2012 Update 4–Released

Microsoft has today released the final RTW(Release-To-Web) version of Visual Studio 2012 Update 4 .  This update is the latest in a cumulative series of feature additions and bug fixes for Visual Studio 2012.

Download:  Visual Studio 2012 Update 4 ( Web Install | Offline ISO )

Visual Studio Team Foundation Server 2012 with Update 4

Visual Studio Team Foundation Server Express 2012 with Update 4

For information about the update see the  Visual Studio Update KB Article.