Been intending to write this for some time now. Here is a short list of things to watch out for when starting with Objective C for iPhone. The list is targeted at Java programmers beginning Objective C. Its written on my work blog.
Read Post
Sunday, October 25, 2009
Sunday, September 20, 2009
Extra Mouse click in GIMP on OS X
Found this tip while searching for something else about GIMP. The default setup for GIMP on OS X requires a user to click on any of the app windows (toolbox, image window, ..) twice to edit it. This setting eliminates that extra click.
http://www.macosxhints.com/article.php?story=20090817083346589
In summary -
X11 -> Preferences -> Windows -> 'Check' Click through inactive Windows
Many many thanks to the anonymous poster. This will eliminate a lot of wear and tear of my fingers.
Saturday, February 07, 2009
Programmatically Taking a Screenshot in iPhone
It took me some time to find the code for this. Thought I'd share it here. The following code takes a screen capture of the currently visible portions of a UITableView but its applicable to any view.
UIGraphicsBeginImageContext(self.tableView.bounds.size);
[self.tableView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
//UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
UIGraphicsEndImageContext();
The commented out line saves the photo to a the Photos application on the iPhone.
UIGraphicsBeginImageContext(self.tableView.bounds.size);
[self.tableView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
//UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
UIGraphicsEndImageContext();
The commented out line saves the photo to a the Photos application on the iPhone.
Int size on Apple Watch (watchOS)
Even though Apple Watch chipset is 64-bits, Int is still 32-bit. To get 64 bit behavior you have to explicitly use Int64 https:// jeffver...
-
THIS PAGE HAS MOVED TO Files n Folders The content below is maintained for legacy purposes only. WiFi Files is a utility app tha...
-
Create rich formatted notes , record voice memos , draw with your finger or stylus, include pictures & videos, save web pages as...
-
The new version of Notes N More has been approved and is available for download / update from the iTunes App Store. The following major feat...