Skip navigation.
 
mlRe: is this badly written code?
FROM : Michael Ash
DATE : Tue Apr 15 18:09:43 2008

On Tue, Apr 15, 2008 at 11:44 AM, Johnny Lundy <<email_removed>> wrote:
>  What would be great is if Apple would give us many more convenience methods
> that pared it down to the most common things - like a "- (NSStriing *)
> NSSynchronousURLFetch:(NSString *)theURL" method that just takes a string
> which represents the URL and returns a string which is the content at that
> URL.


Nothing stops you from making such methods yourself. In fact, if
you're writing the long version more than once, that's exactly what
you ought to be doing. Using categories you can even make it look like
a "real" method on the class where it best belongs.

Mike

Related mailsAuthorDate
mlis this badly written code? Adam Gerson Apr 15, 04:53
mlRe: is this badly written code? John Stiles Apr 15, 05:05
mlRe: is this badly written code? Michael Vannorsdel Apr 15, 05:06
mlRe: is this badly written code? Matt Burnett Apr 15, 05:15
mlRe: is this badly written code? John Stiles Apr 15, 05:17
mlRe: is this badly written code? Michael Ash Apr 15, 05:24
mlRe: is this badly written code? Ferhat Ayaz Apr 15, 06:05
mlRe: is this badly written code? Adam Leonard Apr 15, 08:09
mlRe: is this badly written code? Jeff LaMarche Apr 15, 16:08
mlRE: is this badly written code? john darnell Apr 15, 16:25
mlRe: is this badly written code? Jeff LaMarche Apr 15, 16:56
mlRe: is this badly written code? I. Savant Apr 15, 17:05
mlRE: is this badly written code? john darnell Apr 15, 17:14
mlRe: is this badly written code? I. Savant Apr 15, 17:19
mlRE: is this badly written code? john darnell Apr 15, 17:27
mlRe: is this badly written code? glenn andreas Apr 15, 17:29
mlRe: is this badly written code? Michael Ash Apr 15, 17:36
mlRe: is this badly written code? I. Savant Apr 15, 17:39
mlRe: is this badly written code? Jean-Daniel Dupas Apr 15, 17:39
mlRe: is this badly written code? Johnny Lundy Apr 15, 17:44
mlRE: is this badly written code? john darnell Apr 15, 17:46
mlRe: is this badly written code? Jean-Daniel Dupas Apr 15, 17:57
mlRe: is this badly written code? Michael Ash Apr 15, 18:09