expected function body error
what does Xcode mean when it has a Parse Issue 'expected function body after function declarator'?
here's my codeing--
//
// main.m
// WhatATool
//
// Created by mac on 7/1/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
//
void PrintPathInfo()
+ (NSString *)stringByExpandingTildeInPath //this is the line the error appears on
{
NSString *path = @"~";
}
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
PrintPathInfo();
PrintProcessInfo();
PrintBookmarkInfo();
PrintIntrospectionInfo();
[pool release];
return 0;
}