background preloader

Safari

Facebook Twitter

j2objc - A Java to iOS Objective-C translation tool and runtime. J2ObjC's sources and releases are now on GitHub. What J2ObjC Is J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.

J2ObjC supports most Java language and runtime features required by client-side application developers, including exceptions, inner and anonymous classes, generic types, threads and reflection. J2ObjC is currently between alpha and beta quality. What J2ObjC isn't. Escape the iOS SDK: Building iPhone (and Android) apps via Flash | Developer World.

Once upon a time, the path to the Apple App Store was very simple for Adobe Flash developers: Put aside your childish ways and devote yourself to the pure complexity of Objective-C. Your fancy tools and rendering libraries are nice for beginners, but only those who master pointers and malloc were welcome to feast at the table of iOS. Everyone else had the door slammed on their fingers. The reason was simple: Apple refused to accept code with libraries or interpreters and, like schoolmarms everywhere, insisted that everyone write their own code. Perhaps Apple was afraid of viruses, downloaded code, or competition from cross-platform tools. [ Peter Wayner explains how to escape the App Store by writing HTML-based mobile apps. | Stay up to speed on programming issues and trends with InfoWorld's Developer World newsletter. ] That was then.

The stand-alone Packager for iPhone tool takes your ActionScript 3 code and cross-compiles it to run on an iOS 3.0 or later device. Safari Extensions Development Guide: Access and Permissions. Extensions can have two parts—an app part, consisting of any global page or extension bars, and a content part, consisting of any injected scripts or style sheets. The two parts have different access and permissions. In addition, there are settings you can specify when building your extension that select the websites your extension can interact with.

The Global HTML Page, Popovers, and Extension Bars The global HTML page, popovers, and extension bars have access to the SafariApplication and SafariExtension classes. The global HTML page, popovers, and extension bars do not have access to the content of webpages, and they can communicate with injected scripts only by sending messages—they cannot access an injected script’s functions or variables directly. The global page, popovers, and extension bars do not have permission to use the JavaScript window.open() method. Injected Scripts and Style Sheets Injected scripts have access to the SafariContentExtension class. Extension Website Access. Safari Extensions Development Guide: Adding Buttons to the Main Safari Toolbar. Safari has a user-customizable toolbar that can contain a selection of buttons, such as a Home button, Zoom button, and New Tab button.

Your extension can define new toolbar items that can be installed in the toolbar. These items also appear in the Customize Toolbar panel. You control the actions of a toolbar item from either the global HTML page or from an extension bar by installing a listener function for the "command" event. Your extension can add more than one button to the toolbar, but if you are adding more than a few, you should not have them installed by default; you might also consider creating an extension bar for them instead. Adding a button requires three steps: creating an image, filling out the appropriate fields in Extension Builder, and adding logic to make the button do something. In Safari 5.1 and later, you can add either a pop-up menu or a popover window to a toolbar item.

Creating an Image Save your image as a .png file. Setting Up Extension Builder. First impressions of Safari’s Extensions « grack.com: Matt Mastracci's blog. First quick impressions of Safari extensions: Close enough to Chrome extensions that it won’t take much to port something over. (good)Settings API is interesting. I missed the point originally, but apparently Safari will build you a settings page from these. Will probably work for simple settings, but not sure if it’ll scale.Different API for buttons/context menus, but no real winner in terms of API design.Really don’t like having to get a certificate from Apple to develop.

I can’t imagine it’ll take us longer than a few days to port the DotSpots extension from Chrome to Safari. Safari Extensions Reference. Safari Extensions Development Guide: Extensions Overview. Extensions are a way for you, as a developer, to add features to Safari. You write Safari extensions using HTML, CSS, and JavaScript, with support for HTML5 and CSS3. Safari exposes a set of methods and properties to JavaScript for extensions to use, letting your extension do things that scripts normally can’t. Extension Architecture You can think of extensions as being divided into two parts: a part that interacts with the Safari app, and a part that interacts with web content. The part of an extension that interacts with the Safari app resides in any of your extension’s global HTML page, extension bar pages, or popover pages. The division between these parts is strict, but you can send messages between them using proxies. Similarly, if an injected script needs to make use of code in the global HTML page or an extension bar, it can send a message via the tab proxy.

The extension architecture is illustrated in Figure 1-1. The Safari Extensions JavaScript API Classes and Properties Security. Safari Extensions Development Guide: About Safari Extensions. Safari extensions provide a way for you to add features to the Safari browser. You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject scripts and style sheets into webpages. In Safari 5.1 and later, you can add menus and popovers to toolbar items. You write Safari extensions using HTML, CSS, and JavaScript, with support for HTML5 and CSS3. A JavaScript API for extensions allows you to interact with the browser and web content in ways that scripts normally can’t. Safari extensions are supported in Safari 5.0 and later on the desktop (Mac and Windows). At a Glance Safari extensions let you add persistent items to Safari—controls, menus and menu items, local or web-based content, and scripts that modify the content Safari presents.

What’s the Difference Between an Extension and a Plug-in? A plug-in can add support for media types to a browser. Extensions Have Their Own JavaScript API Prerequisites. Impressive Safari Plugins. Safari has been optimized for Mac and because of that, it becomes the best browser for running on Mac. However, with Firefox empowered by plenty of plugins, it’s confusing to determine which one to choose: Safari or Firefox?

After searching around the web, I found several impressive plugins for Safari, such as del.icio.us bookmark, StumbleUpon toolbar, Tab Exposé, Greasemonkey script customizer, and many others. Interested? PimpMySafari PimpMySafari is a site that collects lots of plugins for Safari. It’s worth you time to check for some outstanding plugins. For some add-ons, you will need to download SIMBL which stands for Smart InputManager Bundle Loader. Once you’ve installed SIMBL, you need to drop some bundles into the Plugins folder. Above: How to use SIMBL, taken from SIMBL website.

Now we’ve had the preparations done. SafariStand Have you ever tried Shiira? You can hide/unhide the sidebar by using a toolbar item called Stand Sidebar. Inquisitor TabExposé GreaseKit Safari-Stretch. 20 Excellent Plugins for Safari. These days we have great choices for Web browsers: Internet Explorer, Firefox, Safari, Opera, Chrome and the list goes on. Each browser comes with its own set of advantages and features and one of the greatest benefits of Firefox has been the ability to fully customize it through the use of plugins and add-ons.

This feature is especially important for those of you using Mac OS X, when deciding whether to pick one of the two heavyweights: Firefox or Safari. But Safari actually does support plugins. While the choice is nowhere near as extensive as that of Firefox, there is still a good variety of them to choose from. Here’s a list of 20 useful plugins for Safari for OS X. Please note that many plugins work through something called SIMBL (Simple InputManager Bundle Loader), which is basically a little tool that helps developers manage and run their code as plugins for the different applications on OS X. You can grab SIMBL for free here. 1. Firefox had a very popular plugin called Foxmarks. 2. Cooliris | Discover More. SafariStand - hetima.com. This is freeware. There is no Windows version now, and future. Because of big change of Safari 5.1 and rebuilding from scratch, very limitted version currently.

Download for Safari 6.0.5 (OS X 10.7 Lion and 10.8 ML / 64 bit) also works on 6.1 Lion, 6.1 ML and 7.0 Mavericks SafariStand6.0.200.zip for Safari 5.1.9 (Mac OS X 10.6 Snow Leopard and 10.7 Lion, tested only Snow Leopard) SafariStand5.1.185.zip Install Use EasySIMBL (10.7 or later) See How to install SafariStand with EasySIMBL Recent Changes View Release Notes Source Code github.com/hetima/SafariStand Tips Customize Menu Shortcut Open System Preferences > Keyboard & Mouse > Keyboard Shortcuts. You can make separator in Bookmarks Bar and Bookmarks Menu. Create folder named "-:-". Xmarks | Bookmark-Powered Web Discovery.

Glims build 17 for Safari | www.MacHangout.com. DeliciousSafari. Safari Tidy plugin | Download. Safari Validator is a Safari extension which allows you to validate your website for (x)html compliance. The actual validation is done by Tidy, the W3C validator and the HTML5 validator. This plugin was initially modeled after a similar plugin for Firefox, which can be found here. The extension bar will show the amount of warnings and errors the current page has, along with a small icon. Both Tidy and W3C results will be shown, as they may differ sometimes in the amount of errors and warnings. The HTML5 results are shown only when the loaded page is HTML5. W3C and Tidy validation results Clicking on the Tidy results will show the source of the current page.

Tidy results Clicking on the W3C results will open a new browser window, containing the report generated by the W3C validator. W3C results Latest version for Safari 5: safari-validator-0.3.1.tgz (64-bit Intel on 10.6 only!) Unlike the W3C validator, the HTML5 validator is not included locally in the extension! No! Software. Safari-Stretch: Home. GreaseKit - User Scripting for all WebKit applications. Pimp My Safari. Plugins. XiphQT regroupe une série de plug-ins pour QuickTime et Mac OS X.

Il fournit une aide pour la compression média Xiph et ses formats récipients. Tout ce dont vous aurez besoin est d’installer XiphQT pour utiliser les fichiers de média formatés Xiph dans différentes applications. Par exemple écouter des fichiers Ogg/Vorbis dans le lecteur Quicktime ou iTunes. L’interface de programmation utilisée dans XiphQT fournit une fonctionnalité transparente à tous les média gérant des applications utilisant Quicktime ou des composants Mac OS X. XiphQT via [xiph.org] Like this: J'aime chargement… FadingImages est un plug-in d’économiseur d’écran qui affiche des images à partir d’un dossier spécifique (plusieurs à la fois) et les fait se fondre ou s’envoler en les remplaçant par de nouvelles images.

FadingImages via [homepage.mac.com/gweston] Finder Browser supporte une variété de formats d’images et peut même afficher la première page d’un fichier PDF. Finder Browser via [tekuris.com] Comment ça marche? Private:Catalyst Interop 2007 Safari Plugin IA - OSIS Open Sourc. Greasekit - Google Code. Safari Developer FAQ. Mac OS X Technology Overview: Introduction to Mac OS X Technolog. The OS X operating system combines a stable core with advanced technologies to help you deliver world-class products on the Mac platform. Knowing what these technologies are, and how to use them, can help streamline your development process, while giving you access to key OS X features. At a Glance This guide introduces you to the range of possibilities for developing Mac software, describes the many technologies you can use for software development, and points you to sources of information about those technologies.

It does not describe user-level system features or features that have no impact on software development. OS X Has a Layered Architecture with Key Technologies in Each Layer It’s helpful to view the implementation of OS X as a set of layers. The lower the layer a technology is in, the more specialized are the services it provides. You Can Create Many Different Kinds of Software for Mac Apps. When Porting a Cocoa Touch App, Be Aware of API Similarities and Differences See Also. Tools - Xcode. Universal Binary Programming Guidelines, Second Edition: Introdu. WebKit Plug-In Programming Topics: Introduction to WebKit Plug-i. Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid. Web browser plug-ins are compiled bundles that help extend the content types supported by common web browsers. Installed locally on a computer, they can run code native to the user’s operating system and provide a powerful way to expand on standard web content.

Who Should Read This Document? This document is designed for a number of different audiences: Organization of This Document The topic contains the following articles: “About Web Browser Plug-ins” describes the benefits of web browser plug-ins and how they are integrated into common browsers. See Also There are lots of helpful resources available to guide you through plug-in development. URL Loading System: Introduction to the URL Loading System. This guide describes the Foundation framework classes available for interacting with URLs and communicating with servers using standard Internet protocols.

Together these classes are referred to as the URL loading system. The URL loading system is a set of classes and protocols that allow your app to access content referenced by a URL. At the heart of this technology is the NSURL class, which lets your app manipulate URLs and the resources they refer to. To support that class, the Foundation framework provides a rich collection of classes that let you load the contents of a URL, upload data to servers, manage cookie storage, control response caching, handle credential storage and authentication in app-specific ways, and write custom protocol extensions. The URL loading system provides support for accessing resources using the following protocols: It also transparently supports both proxy servers and SOCKS gateways using the user’s system preferences.

At a Glance URL Loading Helper Classes.