Advertisement
Guest User

Untitled

a guest
Apr 18th, 2012
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. //
  2. // AsyncImageView.m
  3. // Apfeltalk Magazin
  4. //
  5. // Apfeltalk Magazin -- An iPhone Application for the site http://apfeltalk.de
  6. // Copyright (C) 2009 Stephan König (stephankoenig at me dot com), Stefan Kofler
  7. // Alexander von Below, Andreas Rami, Michael Fenske, Laurids Düllmann, Jesper Frommherz (Graphics),
  8. // Patrick Rollbis (Graphics),
  9. //
  10. // This program is free software; you can redistribute it and/or
  11. // modify it under the terms of the GNU General Public License
  12. // as published by the Free Software Foundation; either version 2
  13. // of the License, or (at your option) any later version.
  14. //
  15. // This program is distributed in the hope that it will be useful,
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. // GNU General Public License for more details.
  19. //
  20. // You should have received a copy of the GNU General Public License
  21. // along with this program; if not, write to the Free Software
  22. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.//
  23. //
  24.  
  25. #import <UIKit/UIKit.h>
  26.  
  27. @interface AsyncImageView : UIView {
  28. NSURLConnection *connection;
  29. NSMutableData *data;
  30. NSString *urlString; // key for image cache dictionary
  31. }
  32.  
  33. -(void)loadImageFromURL:(NSURL*)url;
  34.  
  35. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement