With Raw Dog XML Viewer for Mac, you can easily view raw XML. In this video I show you how you can use the app to view the XML of an online RSS feed. Raw Dog XML Viewer is a great tool for developers! Check out the video below:
Visual Attributed String has been released on the Mac App Store! Visual Attributed String is the most advanced WYSIWYG (what you see is what you get) editor for attributed strings, providing rich features including:
-Platform Specific Code: generate code to create NSAttributedStrings for both iOS and OS X. -Generates both Swift AND Objective-C code! -Get the code for your entire document by clicking “Code” in the toolbar! -Get the code for only selected portions of text by right-clicking and selecting the “Code for Selection” menu item! This allows you to get code for individual words/paragraphs as you need them on a long document with many different text styles! -Save your text as an image to use for the web! You can also generate images for only selected portions of text by right-clicking and selecting the “Image for Selection” menu item! Supported image formats include: .png, .bmp, .tiff, and .jpeg! -Smart Code Generation: Visual Attributed String is smart enough to generate code for non-mutable attributed strings (NSAttributedString) and mutable attributed strings (NSMutableAttributedString) based on your typed text! -Easily add emoji and special characters to your attributed strings by clicking the “Special Characters” toolbar item to bring up the characters palette! -Change the background of the entire document to see how your text looks against different background colors. If you want to get the code for your document’s background color, you can simply right click and select the “Background Color Code” menu item! -Add images to your attributed strings! Just drag and drop an image from Finder onto the window to add images to the document! Did you know NSAttributedString is capable of displaying images? -Custom Font Warning: Visual Attributed String will warn you if your document uses a custom font that is not included in the iOS SDK! -Visual Attributed String is a document-based application and supports features such as autosaving, duplicating documents, renaming documents, and reverting document versions! -Powerful yet simple interface for styling text! Visual Attributed String provides an interface for editing many attributes including: ∙Font (NSFontAttributeName) ∙Font Color (NSForegroundColorAttributeName) ∙Font Background Color (NSBackgroundColorAttributeName) ∙Kern (NSKernAttributeName) ∙Skew (NSObliquenessAttributeName) ∙Shadow (NSShadowAttributeName) ∙Underline (NSUnderlineStyleAttributeName) ∙Underline Color (NSUnderlineColorAttributeName) ∙Strikethrough (NSStrikethroughStyleAttributeName) ∙Strikethrough Color (NSStrikethroughColorAttributeName) ∙Link (NSLinkAttributeName) ∙Stroke (NSStrokeWidthAttributeName) ∙Stroke Color (NSStrokeColorAttributeName) ∙Paragraph Style (NSParagraphStyleAttributeName) ∙Tool Tip (NSToolTipAttributeName) ∙Attaching Images (NSAttachmentAttributeName)
To mark some of your own API as deprecated in Objective-C, you simply can add the following attribute to your method declaration (as seen in the snippet below):
-(void)myOldMethod __attribute((deprecated("Use the myNewMethod instead.")));
Now when you call myOldMethod in your code, the compiler will warn you that: “myOldMethod is deprecated. Use the myNewMethod instead”. You can also add the deprecated attribute to property declarations.
But what if you wanted to be more specific? For instance, if there is a better way to handle something in the iOS 8 SDK, you can mark an old method as deprecated only for projects that have iOS 8.0 or later as the deployment target.
-(void)myOldMethod NS_DEPRECATED_IOS(3_0, 8_0,"Use myNewMethod instead.");
Using the code snippet above, if you call myOldMethod the compiler will only warn you that the method is deprecated if your project’s deployment target is set to iOS 8 or later.
Deprecating your own methods can come in handy especially if you have written your own framework that is used across multiple projects. You may choose to deprecate some of your own API rather than removing the methods entirely until you get around to adapting your existing projects to use your new API.
*Note: Starting in iOS 8, the bounds property on UIScreen is orientation based, so for example if the bounds in portrait mode is 320×480, in the landscape orientation the bounds would be 480×320. The list below assumes that the device is in the portrait orientation.
Instantly preview your icon designs in the dock with iDock Icons! If you’re a designer or Mac developer this tool will save you tons of time! Simply drag and drop your images onto the window and you can instantly see how they look in the dock! Effortlessly switch between multiple icon images by clicking with your mouse or use the arrow keys on your keyboard!
You don’t have to waste time preparing different Asset Catalogs or .iconset folders to view your icons in the dock! No more relaunching your app in Xcode a thousand times to see which icon design looks the best! Use iDock icons and see how they look in the dock instantly!Features: -Instantly preview icons in the dock! -Supports .PNG, .AI, .JPG, .PSD, .GIF, .ICNS, and many more! Screenshots:
|1024 x 1024||2048×2048||4096×4096|
|iPhone 2g||iPhone 3gs||iPhone 4s|
|iPhone 3g||iPhone 4||iPad 2|