![]() ![]() This code was written for the Indianapolis Star, and has been open sourced by them using the MIT license. If an NSString fails to be parsed correctly, it will be assumed that the value is intended as a literal string, and will be imported as such. What can I say but WOW - This is a fantastic bundle of security software for them Mac - These days. This will allow you to use custom functions you have registered with the shared PropSetter instance in cases where the NSString values in your property file have the following 2.0, true) Once your license is redeemed, all sales are final. addSelectorsFromPlist:filename parsingStringsAsValues:YES] To indicate that you want this behavior, load the rules in the following manner: addSelectorsFromPlist:filename]Īdditionally, you may specify that NSString values may be parsed for PropSetter custom functions when they are encountered by the PropSetterManager. To allow for simple rules where NSString, NSData, NSDictionary or NSNumber values are the only values of note to insert into a given object, you may use a property list to add rules to the manager. withTarget:self argument passed to this method will be the object that is ebing changed. You may also register callback functions to take action whenever a particular property changes, using syntax like the following. You may then use the custom function in the following form: (id) customColorFunction:(NSString *)name arguments:(NSArray *)args addTarget:self customColorFunction:arguments: is a method signature of the following form: You may do so by registering the function a la: You may also specify custom functions for values which are not easily represented by strings. (BOOL) customOperator:(NSString *)name forLvalue:(id)l andRvalue:(id)r Registering a delegate method as a custom operator requires that the delegate method adhere to the following signature: addTarget:self use the custom operator, prefix the name you registered the operator as with an symbol, like so: You may create custom operators for use in expressions by registering them with the shared PropSetter object, like so: beginObservingObject:myLabel] Īs your object is deallocated, you must remove the references to it by calling: The PropSetterManager object keeps a weak reference to your objects as they are observed for changes, using the KVO functionality provided in Cocoa. Use the PropSetterManager object to allow for these expressions to take action upon your objects. If you happen to patch support for Mac OS compiling into the project, I will happily patch it back into the library.) (Revealing the clear iPhone bias of the author. Parsing facilities are provided by parsekit ( ), the lipo'd static lib of which is included with this app. The full language is expressed in the ammar file included in the source. UIView.alphaĬlassName.propertyThatWillBeChangedĮxpressions may be and'ed and or'ed to each other, like so: Uses less power on dual-GPU MacBooks.PropSetter is an Objective C library for writing XPath/CSS like selectors against your NSObjects, and having those selectors change values in those bjects at runtime. Uses less power on dual-GPU MacBooks.On first launch, ask dual-GPU MacBook users if they want to switch to classic modeFixed a linking issue which caused crashes for some PPC users ChangesĪdded "Classic" window mode. NetShade looks great and is easy to use and this latest release is a vast improvement on the previous version.Īdded "Classic" window mode. The configuration process is however really simple and only requires you accessing your Firefox preferences, and changing the Network settings to work with a system proxy. The only slight drawback of NetShade is that you need to do a little configuring to make it work with Firefox. I also really like the way you can select which country you want to connect to via a drop down menu on the Public Proxy option.Ĭonnections are established and disconnected very quickly which is unusual for a proxy application. The flag remains in your Dock over the NetShade icon so you know which country you are connected to. A globe revolves and plants a flag where the proxy you are currently using is coming from which is another nice feature. You can select Direct Connection, Public Proxy or NetShade Proxy in a click of the floating control panel. The floating NetShade interface is very well presented and extremely easy to use. The private server is particularly fast and reliable. ![]() However, NetShade makes the process a lot easier and it includes it's own private server which is useful if the other proxies are unavailable or not working very well. In reality, NetShade does nothing more than link you to a list of publicly available proxies that, with a little tinkering in your browser, you could access manually anyway. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |