Apple WatchKit SDK is now available for developers

Apple today announced that its set of WatchKit development tools with XCode 6.2 (beta) are now available for developers, allowing them to begin creating apps for Apple Watch.

#watch #apple #watchkit

The WatchKit framework (WatchKit.framework) contains the classes that a WatchKit extension uses to manipulate the interface of a Watch app. A Watch app contains one or more interface controllers, each of which can have tables, buttons, sliders, and other types of visual elements. The WatchKit extension uses the classes of this framework to configure those visual elements and to respond to user interactions.
“Apple Watch is most personal device ever, and WatchKit provides the incredible iOS developer community with the tools they need to create exciting new experiences right on your wrist.”
The WatchKit extension contains the code for managing the Watch app’s user interface and responding to user interactions. With those two executables, you can support different types of user interactions on Apple Watch:

  • Your Watch app contains your app’s full user interface. The user launches your app from the home screen and uses the app to view or manipulate data. To get started creating a Watch app, see App Essentials.
  • glance is an optional read-only interface that you use to display the most timely and relevant information from your app. Not all apps need a glance, but having one gives the user a convenient way to access your app’s data. To get started creating a glance interface, see Glance Essentials.
  • Custom notification interfaces let you alter the default interface displayed for recently received local and remote notifications and add custom graphics, content, and formatting. Custom notification interfaces are optional. To get started with creating a custom notification interface, see Notification Essentials.

In addition to sharing these use cases for the Apple Watch, Apple has also created a dedicated Apple Watch site for developers, outlining the difference between full apps, Glances, and actionable notifications, offering download links to the iOS 8.2 beta with WatchKit SDK, and providing design guidelines and templates.

Feel free to send us message for any kind of assistance in developing apps for Apple Watch.

Email:  muzammil@triffort.com Skype: muz.iphonedev

Triffort_logo

Triffort Technologies Pvt Ltd
www.triffort.com

How to create a password-protected (encrypted) disk image in Mac OS X 10.3 or later

You can move files to or from an encrypted disk image as easily as you can from a non-encrypted disk image. Follow these steps to create an encrypted disk image:

  1. Open Disk Utility (/Applications/Utilities/).
  2. Mac OS X 10.4, 10.5 or later: Click the New Image button, or choose New > Blank Disk Image from the Disk Utility File menu.
    Mac OS X 10.3 through 10.3.9: Choose New from the Disk Utility Image menu.
  3. Enter a name in the Save As field. This name is used for the disk image (.dmg) file.
  4. Change the save destination if you wish to.
  5. Select a size for the image file from the Volume Size pop-up menu (Size in Mac OS X 10.3) .
  6. Choose a volume format if you don’t want to use the default Mac OS X Extended (Journaled).
  7. Choose an image format. You can use “sparse disk image” for a disk image that only uses as much space as it needs, rather than a set amount of space. If you’re not sure, use “read/write disk image” choice.
  8. Choose 128-bit AES (and/or 256-bit AES in Mac OS X 10.5 or later) from the Encryption pop-up menu to encrypt the image’s contents with a password. If you don’t choose an encryption, your new image won’t be encrypted.
  9. Click the Create button.
  10. Enter and verify a good password in the dialog window that appears. This password will be saved in your keychain by default, or you can deselect “Remember password (add to keychain)” if you don’t want that. You can store the password in the keychain both for convenience and for reducing risk of password loss.
  11. Click OK.

Important: If you forget the password, data stored in the encrypted disk image cannot be retrieved. If you have saved the password in the keychain file, the password will be available to you there.

 

!! Cheers !!

XCode4 hangs at “Attaching to ….”

Sometimes when you rename you app XCode4 hang while running app on simulator. And it stuck at “Attaching to ‘app name’ “. Here is the step how to fix it:

1. Clicking on the project name in the left pane (at the very top). This will bring up a new menu to the right, something like the project/ target editors in XCode4

2. Click on Target and Click on Build Settings up at the top.

3. Under Packaging make sure your product name is the same for every build, and equal to whatever it says it’s attaching to. Eg if XCode is Hanging at “Attaching to Lasso Tool” but your product name is “Alter Image” then it won’t build.

That was exactly my problem because I renamed my app half way through development.

!! Cheers !!

Multiple Skype Accounts on Mac OS X

I needed to run multiple Skype instances on Mac OS X and here is the way to do it.

1. Create a new user from System Configuration > Users.

2. Login with this new user, might not be necessary, but I did it to see if everything is ok.

3. Go back to your normal user and open a Terminal.

4. Type su newuser. It will ask for the user’s password. Replace newuser with the user you created

5. Type /Applications/Skype.app/Contents/MacOS/Skype and the new Skype instance should appear in the dock

You have to leave the Terminal open, if you close the terminal the other Skype will close. Also note, that preferences and files are saved in the newuser‘s directory.

nohup /Applications/Skype.app/Contents/MacOS/Skype might also work to run Skype in the background so it’s not closed when the terminal is closed. Hope it saves you some time.

 

!!Enjoy!!