michaelfox + objective-c 48
maccman/macgap · GitHub
9 weeks ago by michaelfox
Desktop WebKit wrapper for HTML/CSS/JS applications
cocoa
objective-c
osx
webview
webkit
cli
shell
tools
dialog
window
html
9 weeks ago by michaelfox
How to Take Webkit Screenshots with Cocoa and Objective-C
may 2011 by michaelfox
How to Take Webkit Screenshots with Cocoa and Objective-C
One thing that I was curious to learn was how to take website screenshots with cocoa. I knew there was a great command line for mac os x called webkit2png so I took its source code as an inspiration for what I needed.
In this article I’m going to start with the simplest thing that can possibly work, and then add more features as the code evolves.
cocoa
objective-c
webkit
screenshots
One thing that I was curious to learn was how to take website screenshots with cocoa. I knew there was a great command line for mac os x called webkit2png so I took its source code as an inspiration for what I needed.
In this article I’m going to start with the simplest thing that can possibly work, and then add more features as the code evolves.
may 2011 by michaelfox
sdegutis/SDKeychain - GitHub
march 2011 by michaelfox
A very simple way to set and retrieve passwords from the Keychain, using a convenient Cocoa class.
http://www.degutis.org/
objective-c
cocoa
api
library
example
sample
keychain
password
http://www.degutis.org/
march 2011 by michaelfox
sdegutis/SDGlobalShortcuts - GitHub
march 2011 by michaelfox
A very simple API to add global shortcuts to your application! — Read more
http://www.degutis.org/
objective-c
cocoa
api
shortcuts
library
keyboard
example
sample
http://www.degutis.org/
march 2011 by michaelfox
iPhone Application Development (Winter 2010) - Download free content from Stanford on iTunes
december 2010 by michaelfox
Tools and APIs required to build applications for the iPhone platform using the iPhone SDK. User interface designs for mobile devices and unique user interactions using multitouch technologies. Object-oriented design using model-view-controller pattern, memory management, Objective-C programming language. iPhone APIs and tools including Xcode, Interface Builder and Instruments on Mac OS X. Other topics include: core animation, bonjour networking, mobile device power management and performance considerations. Prerequisites: C language and programming experience at the level of 106B or X. Recommended: UNIX, object-oriented programming, graphical toolkits Offered by Stanford’s School of Engineering, the course will last ten weeks and include both the lecture videos and PDF documents. A new lecture will be posted a week after each class meeting. Subscribe to this course, and automatically receive new lectures as they become available. Released with a Creative Commons BY-NC-ND license.
iphone
programming
ios
ipad
osx
cocoa
objective-c
podcast
itunes
itunesu
stanford
courses
apple
december 2010 by michaelfox
probablycorey/seriously - GitHub
december 2010 by michaelfox
The Objective-C HTTP library that Apple should have created, seriously.
Seriously
---------
The iPhone needs a better way to make HTTP requests, specifically calls to
REST web services. Seriously mixes Blocks with NSURLConnection &
NSOperationQueue to do just that. It also will automatically parse the JSON
response into a dictionary if the response headers are set correctly.
Install
-------
Just drag the files from the "src" directory into your project. You can also try
using the included "Seriously.framework" file
Parse JSON EXAMPLE
------------------
NSString *url = @"http://api.twitter.com/1/users/show.json?screen_name=probablycorey;"
[Seriously get:url handler:^(id body, NSHTTPURLResponse *response, NSError *error) {
if (error) {
NSLog(@"Error: %@", error);
}
else {
NSLog(@"Look, JSON is parsed into a dictionary!");
NSLog(@"%@", [body objectForKey:@"profile_background_image_url"]);
}
}];
Simple Queue Example
--------------------
NSArray *urls = [NSArray arrayWithObjects:
@"http://farm5.static.flickr.com/4138/4744205956_1f08ae40e3_o.jpg",
@"http://farm5.static.flickr.com/4123/4744238252_d11d0df5a3_b.jpg",
@"http://farm5.static.flickr.com/4097/4743596319_50cce97d80_o.jpg",
@"http://farm5.static.flickr.com/4099/4743581287_7c50529b36_o.jpg",
@"http://farm5.static.flickr.com/4123/4743587437_78f0906e8a_o.jpg",
@"http://farm5.static.flickr.com/4136/4743562971_d5f5c6d5b1_o.jpg",
@"http://farm5.static.flickr.com/4073/4744205142_be44e64ab7_o.jpg",
nil];
// By default the NSOperation will only do 3 requests at a time
for (NSString *url in urls) {
NSOperation *o = [Seriously request:url options:nil handler:^(id body,
NSHTTPURLResponse *response, NSError *error) {
NSLog(@"got %d (%@)", [urls indexOfObject:url], url);
}];
}
Why Are You Using Blocks?
-------------------------
Welcome to the future dude!
TODO
----
- Document
- Add XML parsing
- Add more options for NSOperationQueue management
cocoa
http
ios
iphone
ipad
objective-c
rest
request
json
library
resources
Seriously
---------
The iPhone needs a better way to make HTTP requests, specifically calls to
REST web services. Seriously mixes Blocks with NSURLConnection &
NSOperationQueue to do just that. It also will automatically parse the JSON
response into a dictionary if the response headers are set correctly.
Install
-------
Just drag the files from the "src" directory into your project. You can also try
using the included "Seriously.framework" file
Parse JSON EXAMPLE
------------------
NSString *url = @"http://api.twitter.com/1/users/show.json?screen_name=probablycorey;"
[Seriously get:url handler:^(id body, NSHTTPURLResponse *response, NSError *error) {
if (error) {
NSLog(@"Error: %@", error);
}
else {
NSLog(@"Look, JSON is parsed into a dictionary!");
NSLog(@"%@", [body objectForKey:@"profile_background_image_url"]);
}
}];
Simple Queue Example
--------------------
NSArray *urls = [NSArray arrayWithObjects:
@"http://farm5.static.flickr.com/4138/4744205956_1f08ae40e3_o.jpg",
@"http://farm5.static.flickr.com/4123/4744238252_d11d0df5a3_b.jpg",
@"http://farm5.static.flickr.com/4097/4743596319_50cce97d80_o.jpg",
@"http://farm5.static.flickr.com/4099/4743581287_7c50529b36_o.jpg",
@"http://farm5.static.flickr.com/4123/4743587437_78f0906e8a_o.jpg",
@"http://farm5.static.flickr.com/4136/4743562971_d5f5c6d5b1_o.jpg",
@"http://farm5.static.flickr.com/4073/4744205142_be44e64ab7_o.jpg",
nil];
// By default the NSOperation will only do 3 requests at a time
for (NSString *url in urls) {
NSOperation *o = [Seriously request:url options:nil handler:^(id body,
NSHTTPURLResponse *response, NSError *error) {
NSLog(@"got %d (%@)", [urls indexOfObject:url], url);
}];
}
Why Are You Using Blocks?
-------------------------
Welcome to the future dude!
TODO
----
- Document
- Add XML parsing
- Add more options for NSOperationQueue management
december 2010 by michaelfox
Information Property List Key Reference: Introduction
december 2010 by michaelfox
“About Information Property List Files” provides an overview of information property list files and how you configure them.
“Core Foundation Keys” describes the keys that provide basic information about the bundle configuration.
“Launch Services Keys” describes the keys used by Launch Services to obtain information about a bundle.
“Cocoa Keys” describes the keys supported by Cocoa and Cocoa Touch applications.
“Mac OS X Keys” describes keys supported by Mac OS X bundles.
“UIKit Keys” describes the keys specific to iOS applications.
propertylist
plist
osx
cocoa
objective-c
environment
settings
config
reference
“Core Foundation Keys” describes the keys that provide basic information about the bundle configuration.
“Launch Services Keys” describes the keys used by Launch Services to obtain information about a bundle.
“Cocoa Keys” describes the keys supported by Cocoa and Cocoa Touch applications.
“Mac OS X Keys” describes keys supported by Mac OS X bundles.
“UIKit Keys” describes the keys specific to iOS applications.
december 2010 by michaelfox
accessorizer
june 2010 by michaelfox
Xcode’s No.1 companion for Cocoa and Cocoa Touch!
cocoa
mac
osx
tools
xcode
accessorizer
objective-c
iphone
ipad
development
june 2010 by michaelfox
List of freely available programming books - Stack Overflow
may 2010 by michaelfox
I'm trying to amass a list of programming books with opensource licenses, like Creative Commons, GPL, etc. The books can be about a particular programming language or about computers in general.
books
ebooks
free
reference
programming
development
webdev
resources
list
download
manuals
guides
c
bash
objective-c
php
javascript
java
python
ruby
sql
mysql
svn
git
may 2010 by michaelfox
Getting Started With Core Data, Bindings and NSViewController « carpeaqua by Justin Williams
march 2010 by michaelfox
* Core Data
* Cocoa Bindings
* NSViewController
* Unit testing
* And more!
One of the trends in Mac development in recent years is the prevalence of single window applications such as iPhoto, Aperture and Coda. Single window interfaces can be less complex in terms of user interaction, but it can also lead to a more complex underpinning if you don’t watch yourself where you have a single window controller with everything in it1. Apple has aimed to address this with the NSViewController class, which lets you manage portions of the user interface in their own separate class. If you have done any work on the iPhone it’s similar to UIViewController in many aspects.
cocoa
coredata
objc
tutorial
objective-c
unittesting
nsviewcontroller
bindings
* Cocoa Bindings
* NSViewController
* Unit testing
* And more!
One of the trends in Mac development in recent years is the prevalence of single window applications such as iPhoto, Aperture and Coda. Single window interfaces can be less complex in terms of user interaction, but it can also lead to a more complex underpinning if you don’t watch yourself where you have a single window controller with everything in it1. Apple has aimed to address this with the NSViewController class, which lets you manage portions of the user interface in their own separate class. If you have done any work on the iPhone it’s similar to UIViewController in many aspects.
march 2010 by michaelfox
Xcode Run Script Build Phase debugging
march 2010 by michaelfox
So I wanted to add a new build phase to my Xcode Project to run some shell script. It didn’t want to work and I’ve tried to find out why it didn’t work so I’ve tried some Logging. That turned out to be a bit tricky first as i’ve set Xcode to hide all messages and only show warnings and errors. To work around this you simply need to create warnings or errors. That’s pretty easy actually as you only need to write “warning: ohoh” or “error: meh” and Xcode will automatically annotate the message as warning or error:
xcode
build
shell
debugging
objective-c
cocoa
scripts
march 2010 by michaelfox
QuartzCompositions.com the central source for Quartz Composer :: Index
development osx mac reference programming apple iphone objective-c wiki objectivec xcode cocoa macosx code tutorial quartz quartzcomposer composer video animation visualization screensaver graphics art resources
january 2010 by michaelfox
development osx mac reference programming apple iphone objective-c wiki objectivec xcode cocoa macosx code tutorial quartz quartzcomposer composer video animation visualization screensaver graphics art resources
january 2010 by michaelfox
related tags
accessorizer ⊕ animation ⊕ api ⊕ app ⊕ apple ⊕ applescript ⊕ apps ⊕ art ⊕ askit ⊕ audio ⊕ aws ⊕ bash ⊕ bindings ⊕ books ⊕ build ⊕ c ⊕ cli ⊕ cocoa ⊕ code ⊕ codegenerator ⊕ coding ⊕ collection ⊕ composer ⊕ config ⊕ core ⊕ coredata ⊕ courses ⊕ data ⊕ debugging ⊕ design ⊕ development ⊕ dialog ⊕ documentation ⊕ download ⊕ ebooks ⊕ ec2 ⊕ environment ⊕ example ⊕ framework ⊕ free ⊕ git ⊕ graphics ⊕ gui ⊕ guidelines ⊕ guides ⊕ helloworld ⊕ howto ⊕ html ⊕ html5 ⊕ http ⊕ hud ⊕ inspiration ⊕ interface ⊕ ios ⊕ ipad ⊕ iphone ⊕ itunes ⊕ itunesu ⊕ java ⊕ javascript ⊕ json ⊕ keybindings ⊕ keyboard ⊕ keychain ⊕ libraries ⊕ library ⊕ list ⊕ mac ⊕ macos ⊕ macosx ⊕ manuals ⊕ mobile ⊕ models ⊕ mysql ⊕ nsviewcontroller ⊕ objc ⊕ objective-c ⊖ objectivec ⊕ omni ⊕ opensource ⊕ osx ⊕ parser ⊕ parsing ⊕ password ⊕ php ⊕ plist ⊕ plugin ⊕ podcast ⊕ programming ⊕ projects ⊕ prompt ⊕ propertylist ⊕ pull-to-reload ⊕ python ⊕ quartz ⊕ quartzcomposer ⊕ rails ⊕ reference ⊕ request ⊕ resources ⊕ rest ⊕ ruby ⊕ rubycocoa ⊕ sample ⊕ screensaver ⊕ screenshots ⊕ scripting ⊕ scripts ⊕ sdk ⊕ settings ⊕ shell ⊕ shortcuts ⊕ sound ⊕ source ⊕ sourcecode ⊕ sql ⊕ stanford ⊕ svn ⊕ tableview ⊕ tableviews ⊕ text ⊕ tools ⊕ tutorial ⊕ tweetie ⊕ ui ⊕ uitableview ⊕ unittesting ⊕ ux ⊕ video ⊕ views ⊕ visualization ⊕ web ⊕ webdev ⊕ webkit ⊕ webview ⊕ wiki ⊕ window ⊕ xcode ⊕ zsh ⊕ ★ ⊕Copy this bookmark: