News
Spam issues
Due to recent spam attacks on this site, I have temporarily closed the possibility for anonymous users to create issues or to add messages in the forums. I'm working on a workaround, in the meantime use my "contact form":http://akosma.com/contact for any question or issue about nib2objc.
Sorry!
Build Instructions Wiki
I've just added, at the request of one user "in the project forum":http://projects.akosma.com/boards/28/topics/275, a wiki page with detailed instructions on how to build the projects from scratch: Build Instructions.
I will be expanding it with more information as time goes by. Hope this helps!
Version 1.3
I've just pushed version 1.3 of the nib2objc suite, including support for generating code using classic method calls, instead of using Objective-C 2.0 properties:
!http://projects.akosma.com/attachments/download/198/screenshot1.3.png!
You can "download a zip file":http://github.com/downloads/akosma/nib2objc/nib2objc-1.3.zip with the GUI, command line, automator action and Mac OS X service all together from Github!
Latest news about nib2objc
Welcome to the official nib2objc site!
The project has undergone a serious update during July 2010, and now features many new features and possibilities compared to the first version of 2009:
h2. Command line application
- nib2objc is now compatible with Xcode 3.2.3 and the latest iPhone SDKs;
- In debug mode, the command-line tool generates stub comments for properties not currently recognized;
- nib2objc now generates nicer variable names; instead of “view24? you get “button53? or “tableview34?; those names are also used in the hierarchy output at the end of the generated code;
- Added support for MKMapView instances;
- Added support for some new UIView properties: autoresizesSubviews and contentStretch;
- Added support for UITextView’s clearButtonMode property;
- Added support for UIImageView’s highlighted property;
- Added support for the following UISearchBar properties: showsScopeBar, showsSearchResultsButton, scopeButtonTitles;
- Added support for the following UITableViewCell properties: editingAccessoryType, shouldIndentWhileEditing;
- Added support for the following UITableView properties: rowHeight, sectionFooterHeight, sectionHeaderHeight;
- Removed code generated for deprecated API calls (since SDK 3.0) in UIButton and UITableViewCell;
h2. Mac GUI Application:
There is now a Mac OS X application (which can be "downloaded from Github":http://github.com/akosma/nib2objc/downloads) which includes the "Fragaria framework":http://github.com/mugginsoft/Fragaria (for syntax highlighting), and which allows users to see and export the code generated by the tool.
!http://akosma.com/wp/wp-content/uploads/2010/07/nib2objc_gui1.jpg!
h2. Mac OS X Service
There is a new member in the nib2objc family: a Mac OS X Service, to be installed in ~/Library/Services. Once installed, things can not be simpler than this: select a file in Finder, open the “Services” menu, select the “Convert with nib2objc” entry, and your clipboard will contain the full source code of your NIB file. You only have to paste it into your preferred code editor!
!http://akosma.com/wp/wp-content/uploads/2010/07/nib2objc_service1.jpg!
Also available in: Atom