TweetFollow Us on Twitter

Doing Objects Right

Volume Number: 14 (1998)
Issue Number: 3
Column Tag: Rhapsody

Doing Objects Right

by Andrew C. Stone

Using modular objects with multiple nib files to make evolving your projects easier

One of the most compelling features of writing software is that there are many ways to accomplish the same task. This gives you a large latitude for creativity, but also "the power to run off into the weeds." (I overheard an Apple Engineer using this phrase.) In this article I present some guidelines for creating usable and reusable objects, and provide source for a search and replace panel.

Our Rhapsody-based object draw and web authoring application, Create(tm), has 550 classes, and about 100 user-interface nib (NeXT InterfaceBuilder) files. This highly modular structure makes changing one component trivial and speedy. Because the nib files are loaded only when needed, it also speeds application launching.

Figure 1.

There is always a temptation to add objects directly to your main nib file because its easy to make object connections. But this bloats the main nib and causes the app to take longer to launch. Moreover, it makes multiple documents almost impossible because sometimes you need more than one instance. You also may want to take advantage of loading the nib files only when needed. This article will show you how to write an object with its own independent interface file, and how to write the glue needed to have a menu item bring up that interface. Code is included for a universal text find and replace object, "TextFinder", which can be added to the simple Word Processor from the November 1997 issue of MacTech.

sWord
The entire source of sWord, our simple rich text & graphics word processor.

#import <AppKit/AppKit.h>
@interface WordDelegate : NSObject
{
  id theText;
}
- (void)newText:(id)sender;
- (void)openText:(id)sender;
- (void)saveText:(id)sender;
@end

#import "WordDelegate.h"
@implementation WordDelegate
- (void)newText:(id)sender
{
  [theText setString:@""];
}
- (void)openText:(id)sender
{
  NSOpenPanel *openPanel = [NSOpenPanel openPanel];
  if ([openPanel runModalForTypes:[NSArray arrayWithObjects:@"rtf",@"rtfd",NULL]]) {
      [theText readRTFDFromFile:[openPanel filename]];
  }
}
- (void)saveText:(id)sender
{
  NSSavePanel *savePanel = [NSSavePanel savePanel];
  [savePanel setRequiredFileType:@"rtfd"];
  if ([savePanel runModal]) {
    [theText writeRTFDToFile:[savePanel filename] atomically:NO];
  }
}
@end

Tips and Techniques

This article won't go into style issues -- that's a topic for holy wars! However, here are some basic guidelines for developing stand-alone objects that are truly reusable:

1. Every nib file should have an owner object to which you say "+ new:"

This means that a client need know only the object's class name presenting a simple calling interface. By separating the details of the class (such as the nib name) from its use, you obtain a cushion from changes to the object. Then your client code looks like this:

id aCoolObject = [CoolObject new:(NSZone *)zone];

Note that the client determines the memory allocation zone, the NSZone, in which to create the new object by passing it as an argument. You can always pass in "NSDefaultMallocZone()", a function which returns the default memory allocation zone, or "[self zone]", which returns the zone of the calling object.

In our CoolObject's + new: method, we have

+ new:(NSZone *)zone
{
  self = [[CoolObject allocWithZone:zone] init];
  return self;  /* don't ever forget this! */
}

In its -init method, we load the user interface file:

- init
{
  [super init];
  [NSBundle loadNibNamed:@"CoolObject.nib" owner:self];
  /* place initialization code here:*/

  return self;  /* don't ever forget this! */
}

Many objects require only one instance per class. For example, Create uses just one TextFinder object, which brings up the same panel each time. For objects like these, it is more appropriate to create a class method named + sharedInstance, which might look like this:

+ (id)sharedInstance {
  // subclasses need their own instance if both classes are needed:
  static id sharedFindObject = nil;
  // get the real McCoy the first time through:
  if (!sharedFindObject) {
    sharedFindObject = [[self allocWithZone:
            [[NSApplication sharedApplication] zone]] init];
  }
  return sharedFindObject;
}

2. Name your nib file the same as the owner's class name

For each object which has a visual representation, your project directory will have three associated files: the .h, .m, and .nib. (If the nib file is localized, it will reside in English.proj, German.proj, French.proj, etc.)

If the owner's class name coincides with the nib file name, the following generic code will load a nib file based on that class name, using the NSStringFromClass() function:

#import <AppKit/AppKit.h>   /* Everything you need */

- init
{
  // Continue the designated initializer chain:
  [super init];
  // here's a fuller invocation of "loadNibNamed:" which shows the loading of the
  // dictionary with the key-value pair NSOwner, which has a value of "self".
  [NSBundle loadNibFile:[[NSBundle mainBundle] 
    pathForResource:NSStringFromClass([self class]) 
    ofType:@"nib"]
    externalNameTable:[NSDictionary 
      dictionaryWithObjectsAndKeys:self, @"NSOwner", nil]
    withZone:[self zone]];

  // place other initialization code here
  return self;
}

By making our object a subclass of an object which uses this code to load a nib, we never even have to even write a new line of code -- the nib with the name of our subclass will be loaded automatically.

Apt class naming is one of the most important aspects of creating comprehensible, not reprehensible, code. The name should clearly and concisely describe the object's function. When my custom class is a subclass of an NSObject, I like to include the superclass name in my class name. For example, SliderDualActing descends from NSSlider. Usually, nib owners will descend from NSObject, so they can have more succinct descriptive names, such as AlignPanel, TextFinder, or OpenAccessory.

3. Use the power of Objective C

We would like any text object to be able to use our TextFinder's search and replace functionality, not just our own custom subclasses. Objective C allows us use categories to add methods to existing classes. We can extend NSTextView with a category TextFinderMethods, which contains the search and replace methods. Then any NSTextView in our application will be able to respond to methods like findNext: or findPrevious:.

One note of caution about categories: if you add multiple categories to a class and define a method in more than one category, which method will be used at runtime is undeterminable. Be sure to use categories carefully. Someday categories may be thought of as the Object Oriented GOTO, but they reveal the power of a dynamic runtime system. The full set of methods that we extend the NSTextView class are defined in "NSTextViewTextFinder.m".

Objective C also provides subclassing, which allows us to reuse classes by modifying their functionality to fit specific applications. For example, in specific text objects, we might want to provide the capability to use regular expressions in our search strings. We could subclass TextFinder and modify a few of its methods without having to rework the whole object.

@implementation NSTextView(TextFinderMethods)

- (void)orderFrontFindPanel:(id)sender {
  // no variable is used - instead, we grab the sharedInstance:
  [[TextFinder sharedInstance] orderFrontFindPanel:sender];
}

4. Use the power of the AppKit

Your interface depends on being able to cause various controls (buttons, menu items) to trigger actions in your code. This is easy with the TextFinder object and the TextFinder nib file. We easily can create the necessary connections in the Interface Builder, but now that you've followed my advice to use modular design and have created many individual nib files, how do you connect the menu items defined in the main nib file to targets in other nib files? How do you connect menu items for finding text to the methods defined in the TextFinderMethods category?

The solution is the use of the AppKit's "First Responder" hierarchy.

Figure 2.

In AppKit programs, if a menu item is connected to the "First Responder" stand-in object, then when the menu item is clicked, it sends its message up a hierarchy until it reaches an object which responds to that method. If no object in the hierarchy responds to that message, the menu item automatically will be disabled. Each NSWindow in your application keeps track of which object in its view hierarchy has first responder status. This object gets the first chance to handle messages sent to First Responder. From there, the message is passed to the first responder's superview, through the view hierarchy to the window and then to the window's delegate. If the message has not yet been handled, it then goes to the NSApplication and finally to the NSApplication's delegate.

So, all you have to do is add the method's name (also called "action") to your main nib's First Responder, and connect the menu item to that action. The rest is done automatically by the AppKit objects and the runtime system. Full instructions on adding the TextFinder to an application are the next section of this article.

5. Document the object

Document what your object does and how it should be called. If you commented as you went, the documentation is mostly written. Make your API understandable by clearly explaining instance variables and methods.

6. Don't Panic

I guess this belongs in every list of guidelines! Happy Hacking.

Adding the TextFinder to Your Application

Adding the TextFinder to an existing project, like the simple word processor we built in November 1997, is as easy as adding the TextFinder.subproj to your project, adding the more complete Edit menu available in Interface Builder's Menu palette, and then connecting these menu items with the method names that we have added to the NSTextView. Here's a step-by-step guide:

  1. Download or type in the TextFinder.subproj files.
  2. Open the pWord PB.project file in ProjectBuilder.
  3. Double-Click "Subprojects" which brings up a Open Panel.
  4. Select the "TextFinder.subproj" to add this subproject.

    Figure 3.

  5. Double-Click Interfaces->sWord.nib to launch InterfaceBuilder and load the main nib file.
  6. Select the "Edit" menu item, and choose Delete.

    Figure 4.

  7. Choose the "Menu" section of IB's Palette.
  8. Drag over the "Edit" menu item onto the main menu.

    Figure 5.

    Figure 6.

  9. Now, we must add the new methods that the NSTextView understands to the First Responder stand in object. These are the methods we defined in NSTextViewTextFinder.m such as orderFrontFindPanel:, findNext:, findPrevious:, jumpToSelection:, and scrollToSelection:.
    1. Double-click the First Responder icon to load the Classes subpanel.

      Figure 7.

    2. Click the crossed "Action" icon to reveal the list of actions understood by the First Responder.

      Figure 8.

    3. Choose Classes->New Action, or Return to open a new, untitled action.

      Figure 9.

    4. Rename "myAction:" to, e.g., "orderFrontFindPanel:"
    5. Repeat a-d for each of the other actions.

      Figure 10.

    6. Save your interface file to update the First Responder completely.
  10. Connect the menu items to their corresponding First Responder action by control-dragging from the menu item to the First Responder icon, and then selecting the correct action in IB's.

    Figure 11.

  11. Recompile, and you are done! Type in some words and try out the find/replace.

The Code

The TextFinder.subproj contains TextFinder.h in Headers, TextFinder.m in Classes, NSTextViewTextFinder.m in Other Sources, and TextFinder.nib in Interfaces.

NSTextViewTextFinder.m
This is the glue which makes every text object able to do search and replace. 
These methods extend the original functionality of the NSTextView in order to 
talk to our TextFinder object. Now, you can add the complete "Edit" menu in 
InterfaceBuilder which contains the Find submenu, and it will just work....

#import <AppKit/AppKit.h>
#import "TextFinder.h"

@implementation NSTextView(TextFinderMethods)

- (void)orderFrontFindPanel:(id)sender {
  [[TextFinder sharedInstance] orderFrontFindPanel:sender];
}

- (void)findNext:(id)sender {
  [[TextFinder sharedInstance] findNext:sender];
}
- (void)findPrevious:(id)sender {
  [[TextFinder sharedInstance] findPrevious:sender];
}

- (void)enterSelection:(id)sender {
  NSRange range = [self selectedRange];
  if (range.length) {
    [[TextFinder sharedInstance] setFindString:[[self string] substringWithRange:range]];
  } else {
    NSBeep();
  }
}

- (void)jumpToSelection:(id)sender {
  [self scrollRangeToVisible:[self selectedRange]];
}

- (void)doFindSelection:sender
{
  [self enterSelection:self];
}

@end

TextFinder.h
#import <AppKit/AppKit.h>

#define Forward YES
#define Backward NO

@interface TextFinder : NSObject {
  NSString *findString;
  id findTextField;
  id replaceTextField;
  id ignoreCaseButton;
  id findNextButton;
  id replaceAllScopeMatrix;
  id statusField;
  BOOL findStringChangedSinceLastPasteboardUpdate;
  BOOL lastFindWasSuccessful;
}

/* Common way to get a text finder. One instance of TextFinder per app is 
good enough. */
+ (id)sharedInstance;

/*  Main method for external users; does a find in the first responder. 
  Selects found range or beeps. */
- (BOOL)find:(BOOL)direction;

/* Loads UI lazily */
- (NSPanel *)findPanel;
/* Gets the first responder and returns it if it's an NSTextView */
- (NSTextView *)textObjectToSearchIn;
/* Get/set the current find string. Will update UI if UI is loaded */
- (NSString *)findString;
- (void)setFindString:(NSString *)string;
/* Misc internal methods */
- (void)appDidActivate:(NSNotification *)notification;
- (void)addWillDeactivate:(NSNotification *)notification;
- (void)loadFindStringFromPasteboard;
- (void)loadFindStringToPasteboard;

/* Methods sent from the find panel UI */
- (void)findNext:(id)sender;
- (void)findPrevious:(id)sender;
- (void)findNextAndOrderFindPanelOut:(id)sender;
- (void)replace:(id)sender;
- (void)replaceAndFind:(id)sender;
- (void)replaceAll:(id)sender;
- (void)orderFrontFindPanel:(id)sender;

@end

@interface NSString (NSStringTextFinding)

- (NSRange)findString:(NSString *)string 
    selectedRange:(NSRange)selectedRange 
    options:(unsigned)mask wrap:(BOOL)wrapFlag;

@end
    

TextFinder.m
Generic Find/Replace functionality for text. Uses new text API.You may freely copy, 
distribute and reuse the code in this example. NeXT disclaims any warranty of 
any kind, expressed or implied, as to its fitness for any particular use.

#import <AppKit/AppKit.h>
#import "TextFinder.h"

@implementation TextFinder

- (id)init {
  // if there are memory allocation problems, we bail and return nil: 
  if (!(self = [super init])) return nil;

  // in order share find strings among applications, 
  // we'll register for notifications when the app activates or deactivates: 
  [[NSNotificationCenter defaultCenter] 
    addObserver:self selector:@selector(appDidActivate:) 
    name:NSApplicationDidBecomeActiveNotification 
    object:[NSApplication sharedApplication]];
  [[NSNotificationCenter defaultCenter] addObserver:self 
    selector:@selector(addWillDeactivate:) 
    name:NSApplicationWillResignActiveNotification 
    object:[NSApplication sharedApplication]];

  // initialize ourselves to the empty string: 
  [self setFindString:@""];
  
  // here we grab the last used findstring from other apps: 
  [self loadFindStringFromPasteboard];
  return self;
}

// these are the methods called whenever we get an activate or deactivate 
// notification: 

- (void)appDidActivate:(NSNotification *)notification {
  [self loadFindStringFromPasteboard];
}

- (void)addWillDeactivate:(NSNotification *)notification {
  [self loadFindStringToPasteboard];
}

// and here is the workhorse code for sharing the findstrings among apps: 

- (void)loadFindStringFromPasteboard {
  NSPasteboard *pasteboard = [NSPasteboard 
                    pasteboardWithName:NSFindPboard];
  if ([[pasteboard types] containsObject:NSStringPboardType]) 
  {
    NSString *string = [pasteboard 
      stringForType:NSStringPboardType];
    if (string && [string length]) {
      [self setFindString:string];
      findStringChangedSinceLastPasteboardUpdate = NO;
    }
  }
}

- (void)loadFindStringToPasteboard {
  NSPasteboard *pasteboard = [NSPasteboard 
                    pasteboardWithName:NSFindPboard];
  if (findStringChangedSinceLastPasteboardUpdate) {
    [pasteboard declareTypes:[NSArray 
      arrayWithObject:NSStringPboardType] owner:nil];
    [pasteboard setString:[self findString] 
      forType:NSStringPboardType];
    findStringChangedSinceLastPasteboardUpdate = NO;
  }
}

// Only one of the TextFinder objects is ever required: 
static id sharedFindObject = nil;

+ (id)sharedInstance {
  if (!sharedFindObject) {
    sharedFindObject = [[self allocWithZone:[[NSApplication 
                          sharedApplication] zone]] init];
  }
  return sharedFindObject;
}

- (void)loadUI {
  // we check to see if the findTextField ivar is nil, if so, we load the nib: 
  if (!findTextField) {
    if (![NSBundle loadNibNamed:@"TextFinder" owner:self]) {
      NSLog(@"Failed to load TextFinder.nib");
      NSBeep();
    }
    // here we automatically remember the user's last location of the find panel: 
    if (self == sharedFindObject) 
      [[findTextField window] setFrameAutosaveName:@"Find"];
  }
  // now update the search string: 
  [findTextField setStringValue:[self findString]];
}

- (void)dealloc {
  // don't litter 
  if (self != sharedFindObject) {
    [findString release];
    [super dealloc];
  }
}

- (NSString *)findString {
  return findString;
}

- (void)setFindString:(NSString *)string {
  // only change if different: 
  if ([string isEqualToString:findString]) return;
  // careful memory management is what makes a good programmer! 
  [findString autorelease];
  // keep a copy around: 
  findString = [string copyWithZone:[self zone]];
  if (findTextField) {
    [findTextField setStringValue:string];
    [findTextField selectText:nil];
  }
  // here we note that we haven't set the global pasteboard string yet: 
  findStringChangedSinceLastPasteboardUpdate = YES;
}

// this method tries to find the NSText object that is active
// it will return nil if none is active: 

- (NSTextView *)textObjectToSearchIn {
  id obj = [[NSApp mainWindow] firstResponder];
  return (obj && [obj isKindOfClass:[NSText class]]) 
            ? obj : nil;
}
- (NSPanel *)findPanel {
  if (!findTextField) [self loadUI];
  return (NSPanel *)[findTextField window];
}

/* The primitive for finding; this ends up setting the status field (and beeping if 
necessary)... */
- (BOOL)find:(BOOL)direction {
  NSTextView *text = [self textObjectToSearchIn];

  lastFindWasSuccessful = NO;
  if (text) {
    NSString *textContents = [text string];
    unsigned textLength;
    if (textContents && (textLength = [textContents length])) {
      NSRange range;
      unsigned options = 0;
_  if (direction == Backward) options |= NSBackwardsSearch;
      if ([ignoreCaseButton state]) 
        options |= NSCaseInsensitiveSearch;
      range = [textContents findString:[self findString] 
                selectedRange:[text selectedRange] 
                options:options wrap:YES];
      if (range.length) {
        [text setSelectedRange:range];
        [text scrollRangeToVisible:range];
        lastFindWasSuccessful = YES;
      }
    }
  }
  if (!lastFindWasSuccessful) {
    NSBeep();
    [statusField setStringValue:NSLocalizedStringFromTable(
      @"Not found", @"FindPanel", 
      @"Status displayed in find panel when the find string \
      is not found.")];
  } else {
    [statusField setStringValue:@""];
  }
  return lastFindWasSuccessful;
}

- (void)orderFrontFindPanel:(id)sender {
  NSPanel *panel = [self findPanel];
  [findTextField selectText:nil];
  [panel makeKeyAndOrderFront:nil];
}

/** * ** * Action methods for gadgets in the find panel; these should all end up 
setting or clearing the status field ** * ** * /

- (void)findNextAndOrderFindPanelOut:(id)sender {
  [findNextButton performClick:nil];
  if (lastFindWasSuccessful) {
    [[self findPanel] orderOut:sender];
  } else {
    [findTextField selectText:nil];
  }
}

- (void)findNext:(id)sender {
  if (findTextField) 
    /* findTextField should be set */
    [self setFindString:[findTextField stringValue]];
  (void)[self find:Forward];
}

- (void)findPrevious:(id)sender {
  if (findTextField) 
    /* findTextField should be set */
    [self setFindString:[findTextField stringValue]];
  (void)[self find:Backward];
}

- (void)replace:(id)sender {
  NSTextView *text = [self textObjectToSearchIn];
  if (!text) {
    NSBeep();
  } else {
    [[text textStorage] 
      replaceCharactersInRange:[text selectedRange] 
      withString:[replaceTextField stringValue]];
    [text didChangeText];
  }
  [statusField setStringValue:@""];
}

- (void)replaceAndFind:(id)sender {
  [self replace:sender];
  [self findNext:sender];
}
#define ReplaceAllScopeEntireFile 42
#define ReplaceAllScopeSelection 43

- (void)replaceAll:(id)sender {

  NSTextView *text = [self textObjectToSearchIn];

  if (!text) {
    NSBeep();
  } else {
    NSString *textContents = [text string];
    BOOL entireFile = replaceAllScopeMatrix 
          ? ([replaceAllScopeMatrix selectedTag] 
            == ReplaceAllScopeEntireFile) : YES;
    NSRange replaceRange = entireFile 
          ? NSMakeRange(0, [[text textStorage] length]) 
          : [text selectedRange];
    unsigned options = NSBackwardsSearch 
          | ([ignoreCaseButton state] 
          ? NSCaseInsensitiveSearch : 0);
    unsigned replaced = 0;
    if (findTextField) 
      [self setFindString:[findTextField stringValue]];

    [[text textStorage] beginEditing];
    while (1) {
      NSRange foundRange = [textContents 
              rangeOfString:[self findString] 
              options:options range:replaceRange];
      if (foundRange.length == 0) break;
      replaced++;
      [[text textStorage] replaceCharactersInRange:foundRange 
        withString:[replaceTextField stringValue]];
      replaceRange.length 
        = foundRange.location - replaceRange.location;
    }
    [[text textStorage] endEditing];
    [text didChangeText];
    if (replaced == 0) {
      NSBeep();
      [statusField setStringValue:NSLocalizedStringFromTable(
        @"Not found", @"FindPanel", 
        @"Status displayed in find panel when the find \
        string is not found.")];
    } else {
      [statusField setStringValue:[NSString   
        localizedStringWithFormat: 
        NSLocalizedStringFromTable(@"%d replaced", 
          @"FindPanel", @"Status displayed in find panel \
          when indicated number of matches are replaced."), 
          replaced]];
    }
  }
}

@end

@interface NSString (StringTextFinding)
- (NSRange)findString:(NSString *)string 
    selectedRange:(NSRange)selectedRange 
    options:(unsigned)options wrap:(BOOL)wrap;

@end

@implementation NSString (StringTextFinding)

- (NSRange)findString:(NSString *)string 
    selectedRange:(NSRange)selectedRange 
    options:(unsigned)options wrap:(BOOL)wrap {
  BOOL forwards = (options & NSBackwardsSearch) == 0;
  unsigned length = [self length];
  NSRange searchRange, range;

  if (forwards) {
    searchRange.location = NSMaxRange(selectedRange);
    searchRange.length = length - searchRange.location;
    range = [self rangeOfString:string options:options 
              range:searchRange];
    if ((range.length == 0) && wrap) {
      /* If not found look at the first part of the string */
      searchRange.location = 0;
      searchRange.length = selectedRange.location;
      range = [self rangeOfString:string options:options 
                range:searchRange];
    }
  } else {
    searchRange.location = 0;
    searchRange.length = selectedRange.location;
    range = [self rangeOfString:string options:options 
              range:searchRange];
    if ((range.length == 0) && wrap) {
      searchRange.location = NSMaxRange(selectedRange);
      searchRange.length = length - searchRange.location;
      range = [self rangeOfString:string options:options 
                range:searchRange];
    }
  }
  return range;
}

@end

Andrew Stone, an early HyperTalk developer and coauthor of "Tricks of the HyperTalk Masters" emigrated to the NEXT community in 1989, going on to write such NeXT classics as TextArt, Create, DataPhile and 3Dreality.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Apple Pro Video Formats 2.0.2 - Updates...
Apple Pro Video Formats brings updates to Apple's professional-level codes for Final Cut Pro X, Motion 5, and Compressor 4. Version 2.0.2: Includes support for the following professional video codecs... Read more
Apple Final Cut Pro X 10.2.2 - Professio...
Apple Final Cut Pro X is a professional video editing solution.Completely redesigned from the ground up, Final Cut Pro adds extraordinary speed, quality, and flexibility to every part of the post-... Read more
Apple Compressor 4.2.1 - Adds power and...
Compressor adds power and flexibility to Final Cut Pro X export. Customize output settings, work faster with distributed encoding, and tap into a comprehensive set of delivery features. Powerful... Read more
Apple Motion 5.2.2 - Create and customiz...
Apple Motion is designed for video editors, Motion 5 lets you customize Final Cut Pro titles, transitions, and effects. Or create your own dazzling animations in 2D or 3D space, with real-time... Read more
A Better Finder Rename 10.00b1 - File, p...
A Better Finder Rename is the most complete renaming solution available on the market today. That's why, since 1996, tens of thousands of hobbyists, professionals and businesses depend on A Better... Read more
CrossOver 14.1.6 - Run Windows apps on y...
CrossOver can get your Windows productivity applications and PC games up and running on your Mac quickly and easily. CrossOver runs the Windows software that you need on Mac at home, in the office,... Read more
Printopia 2.1.14 - Share Mac printers wi...
Run Printopia on your Mac to share its printers to any capable iPhone, iPad or iPod Touch. Printopia will also add virtual printers, allowing you to save print-outs to your Mac and send to apps.... Read more
Google Drive 1.24 - File backup and shar...
Google Drive is a place where you can create, share, collaborate, and keep all of your stuff. Whether you're working with a friend on a joint research project, planning a wedding with your fiancé, or... Read more
Chromium 45.0.2454.85 - Fast and stable...
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. Version 45.0.2454.85: Note: Does not contain the "... Read more
OmniFocus 2.2.5 - GTD task manager with...
OmniFocus helps you manage your tasks the way that you want, freeing you to focus your attention on the things that matter to you most. Capturing tasks and ideas is always a keyboard shortcut away in... Read more

Zen Brush 2 (Entertainment)
Zen Brush 2 1.0 Device: iOS Universal Category: Entertainment Price: $2.99, Version: 1.0 (iTunes) Description: Zen Brush 2 is a drawing app focused on the strong yet beautiful feel of the East Asian ink brush. | Read more »
NetNewsWire (News)
NetNewsWire 4.0.0 Device: iOS iPhone Category: News Price: $3.99, Version: 4.0.0 (iTunes) Description: Follow the Web NetNewsWire 4, completely written from the ground up for iPhone. NetNewsWire is the best way to keep up with the... | Read more »
Huzzah! Farming Simulator 16 Supports Cl...
As though it weren't difficult enough to resist the siren call of Farming Simulator 16, now it's been updated with cloud saves - so you can jump between devices without missing any of that precious crop-harvesting time. [Read more] | Read more »
Don't Starve: Pocket Edition Finall...
I've made no effort to hide my enjoyment of Don't Starve: Pocket Edition, but I will admit I was a tiny bit disappointed that it was only available for the iPad. Well nuts to that, because Klei Entertainment has made it universal! [Read more] | Read more »
Goat Simulator Wasn't Enough? Then...
If you just didn't get enough goat in Goat Simulator - or if you've been wanting to play a simulated MMO as a microwave - then you're in luck! Goat Simulator MMO Simulator is out now, and it's a game about simulated goats in simulated MMOs. Plus... | Read more »
You Can Play Madfinger Games' Unkil...
Madfinger Games - probably best known for the Dead Trigger series - has officially launched their newest zombie shooter (that isn't called Dead Trigger), named Unkilled. [Read more] | Read more »
KORG iELECTRIBE for iPhone (Music)
KORG iELECTRIBE for iPhone 1.0.1 Device: iOS iPhone Category: Music Price: $9.99, Version: 1.0.1 (iTunes) Description: ** 50% OFF Special Launch Sale - For a Limited Time **The ELECTRIBE reborn in an even smaller form A full-fledged... | Read more »
Toca Life: City Just Got a Bunch of New...
Toca Life: City is Toca Boca's most popular app (number 1 in 47 different countries, apparently), and it's just had an update that adds a bunch of new content. [Read more] | Read more »
My Country 3D is More About Cities than...
My Country 3D is an upcoming city builder from Game Insight that looks pretty decent - although the name seems a tad out of whack for a city builder. Ah well, it is what it is. [Read more] | Read more »
I am Bread (Games)
I am Bread 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: ‘I am Bread’ is the latest quirky adventure from the creators of 'Surgeon Simulator', Bossa Studios. This isn't the best thing... | Read more »

Price Scanner via MacPrices.net

Near-Office Input Functionality Virtually Any...
Today Logitech introduced the Logitech K380 Multi-Device Bluetooth Keyboard and the Logitech M535 Bluetooth Mouse, giving users the freedom to work on any device, most anywhere. According to... Read more
College Student Deals: Additional $100 off Ma...
Take an additional $100 off all MacBooks and iMacs at Best Buy Online with their College Students Deals Savings, valid through September 4, 2015. Anyone with a valid .EDU email address can take... Read more
2.8GHz Mac mini available for $988, includes...
Adorama has the 2.8GHz Mac mini available for $988, $11 off MSRP, including a free copy of Apple’s 3-Year AppleCare Protection Plan. Shipping is free, and Adorama charges sales tax in NY & NJ... Read more
Will You Buy An iPad Pro? – The ‘Book Mystiqu...
It looks like we may not have to wait much longer to see what finally materializes as a new, larger-panel iPad (Pro/Plus?) Usually reliable Apple product prognosticator KGI Securities analyst Ming-... Read more
eFileCabinet Announces SMB Document Managemen...
Electronic document management (EDM) eFileCabinet, Inc., a hosted solutions provider for small to medium businesses, has announced that its SecureDrawer and eFileCabinet Online services will be... Read more
WaterField Designs Unveils American-Made, All...
San Francisco’s WaterField Designs today unveiled their all-leather Cozmo 2.0 — an elegant attach laptop bag with carefully-designed features to suit any business environment. The Cozmo 2.0 is... Read more
Apple’s 2015 Back to School promotion: Free B...
Purchase a new Mac or iPad at The Apple Store for Education and take up to $300 off MSRP. All teachers, students, and staff of any educational institution qualify for the discount. Shipping is free,... Read more
128GB MacBook Airs on sale for $100 off MSRP,...
B&H Photo has 11″ & 13″ MacBook Airs with 128GB SSDs on sale for $100 off MSRP. Shipping is free, and B&H charges NY sales tax only: - 11″ 1.6GHz/128GB MacBook Air: $799.99, $100 off MSRP... Read more
13-inch 2.5GHz MacBook Pro (refurbished) avai...
The Apple Store has Apple Certified Refurbished 13″ 2.5GHz MacBook Pros available for $829, or $270 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free: - 13″ 2.... Read more
27-inch 3.2GHz iMac on sale for $1679, save $...
B&H Photo has the 27″ 3.2GHz iMac on sale for $1679.99 including free shipping plus NY sales tax only. Their price is $120 off MSRP. Read more

Jobs Board

*Apple* Retail - Multiple Customer Support P...
Job Description: Customer Support Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the Read more
*Apple* Desktop Analyst - KDS Staffing (Unit...
…field and consistent professional recruiting achievement. Job Description: Title: Apple Desktop AnalystPosition Type: Full-time PermanentLocation: White Plains, NYHot Read more
Simply Mac *Apple* Specialist- Repair Techn...
Simply Mac is the greatest premier retailer of Apple products expertise in North America. We're looking for dedicated individuals to provide personalized service and Read more
Simply Mac *Apple* Specialist- Service Repa...
Simply Mac is the greatest premier retailer of Apple products expertise in North America. We're looking for dedicated individuals to provide personalized service and Read more
*Apple* Desktop Analyst - KDS Staffing (Unit...
…field and consistent professional recruiting achievement. Job Description: Title: Apple Desktop AnalystPosition Type: Full-time PermanentLocation: White Plains, NYHot Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.