Permalink
Browse files

Full source code and dataset - Version 2.1 - Tag: Issue #2

  • Loading branch information...
1 parent 3e24573 commit 154afe0b57da0efad75ffce6310bf1d168d1a209 @danielamitay committed Nov 14, 2012
Showing with 12,591 additions and 52 deletions.
  1. BIN ....xcodeproj/project.xcworkspace/xcuserdata/danielamitay.xcuserdatad/UserInterfaceState.xcuserstate
  2. +1 −1 LICENSE.md
  3. +25 −14 README.md
  4. +0 −1 iHasApp.framework/Headers
  5. +0 −1 iHasApp.framework/Resources
  6. BIN iHasApp.framework/Versions/A/Resources/Info.plist
  7. BIN iHasApp.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
  8. BIN iHasApp.framework/Versions/A/iHasApp
  9. +0 −1 iHasApp.framework/Versions/Current
  10. +0 −1 iHasApp.framework/iHasApp
  11. +2 −1 {iHasApp.framework/Versions/A/Headers → iHasApp}/iHasApp.h
  12. +346 −0 iHasApp/iHasApp.m
  13. +12,186 −0 iHasApp/schemeApps.json
  14. +22 −13 {Example Project → iHasAppExample}/iHasAppExample.xcodeproj/project.pbxproj
  15. 0 ...e Project → iHasAppExample}/iHasAppExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  16. BIN ....xcodeproj/project.xcworkspace/xcuserdata/danielamitay.xcuserdatad/UserInterfaceState.xcuserstate
  17. 0 ...e}/iHasAppExample.xcodeproj/xcuserdata/danielamitay.xcuserdatad/xcschemes/iHasAppExample.xcscheme
  18. 0 ...}/iHasAppExample.xcodeproj/xcuserdata/danielamitay.xcuserdatad/xcschemes/xcschememanagement.plist
  19. +1 −1 {Example Project → iHasAppExample}/iHasAppExample/AppDelegate.h
  20. +1 −1 {Example Project → iHasAppExample}/iHasAppExample/AppDelegate.m
  21. BIN {Example Project → iHasAppExample}/iHasAppExample/Default-568h@2x.png
  22. BIN {Example Project → iHasAppExample}/iHasAppExample/Default.png
  23. BIN {Example Project → iHasAppExample}/iHasAppExample/Default@2x.png
  24. +1 −1 {Example Project → iHasAppExample}/iHasAppExample/DetailViewController.h
  25. +1 −6 {Example Project → iHasAppExample}/iHasAppExample/DetailViewController.m
  26. +1 −1 {Example Project → iHasAppExample}/iHasAppExample/MasterViewController.h
  27. +3 −8 {Example Project → iHasAppExample}/iHasAppExample/MasterViewController.m
  28. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDImageCache.h
  29. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDImageCache.m
  30. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDImageCacheDelegate.h
  31. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageCompat.h
  32. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageDecoder.h
  33. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageDecoder.m
  34. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageDownloader.h
  35. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageDownloader.m
  36. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageDownloaderDelegate.h
  37. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageManager.h
  38. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageManager.m
  39. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImageManagerDelegate.h
  40. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImagePrefetcher.h
  41. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/SDWebImagePrefetcher.m
  42. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/UIImageView+WebCache.h
  43. 0 {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/UIImageView+WebCache.m
  44. BIN {Example Project → iHasAppExample}/iHasAppExample/SDWebImage/placeholder-icon.png
  45. 0 {Example Project → iHasAppExample}/iHasAppExample/en.lproj/InfoPlist.strings
  46. 0 {Example Project → iHasAppExample}/iHasAppExample/iHasAppExample-Info.plist
  47. 0 {Example Project → iHasAppExample}/iHasAppExample/iHasAppExample-Prefix.pch
  48. +1 −1 {Example Project → iHasAppExample}/iHasAppExample/main.m
  49. BIN screenshot.png
View
@@ -2,7 +2,7 @@
## MIT License
-Copyright (c) 2012 iHasApp (http://www.iHasApp.com)
+Copyright (c) 2012 Daniel Amitay (http://danielamitay.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -1,28 +1,30 @@
-Notice (Nov 13, 2012):
------------
-
-iHasApp's codebase and dataset will be open sourced within the week. Check back!
-
iHasApp Framework
=========================
The iHasApp iOS Framework allows you to detect installed apps on a user's device.
-Detection results can be in the form of an array of detected appIds, or an array of appDictionaries from the iTunes Search API.
+Detection results can be in the form of an array of detected appIds, or an array of appDictionaries from the [iTunes Search API](http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html).
-Basic Setup
+![Screenshot](https://github.com/danielamitay/iHasApp/raw/master/screenshot.png)
+
+Background
-----------
-1. Add iHasApp.framework to your project and ensure that it is linked to the project target.
+- [How To Detect Installed iOS Apps](http://danielamitay.com/blog/2011/2/16/how-to-detect-installed-ios-apps) - (Feb 2011)
+- [Detailed iPhone App IPA Statistics](http://danielamitay.com/blog/2011/5/9/detailed-iphone-app-ipa-statistics) - (May 2011)
+
-2. Add `#import <iHasApp/iHasApp.h>` to the classes in which you wish to access iHasApp.
+Basic Setup
+-----------
+1. Add the iHasApp subfolder to your project and ensure that it is linked to the project target.
+2. Add `#import "iHasApp.h"` to the classes in which you wish to access iHasApp.
3. Initialize and begin detection methods.
Example code:
```objective-c
-iHasApp *detectionObject = [[iHasApp alloc] init];
+iHasApp *detectionObject = [iHasApp new];
[detectionObject detectAppDictionariesWithIncremental:^(NSArray *appDictionaries) {
NSLog(@"Incremental appDictionaries.count: %i", appDictionaries.count);
} withSuccess:^(NSArray *appDictionaries) {
@@ -36,7 +38,9 @@ Requirements
-----------
- iOS base SDK 5.0+
-- Internet connectivity
+- Internet connectivity (optional if schemeApps.json is included)
+
+*Note*: schemeApps.json only adds ~180kB to your final, compiled IPA
App Store Safe
--------------
@@ -57,9 +61,16 @@ Documentation
The `iHasApp.h` header file is structurally commented. If you would like to see the Appledoc representation, visit the [iHasApp Documentation](http://www.ihasapp.com/documentation).
+To-Do
+--------------
+
+- Comment code where appropriate
+- Provide IPA processing code
+- Informational methods
+
Info & Support
--------------
-Website: [iHasApp](http://www.ihasapp.com)
-Author: [Daniel Amitay](https://github.com/danielamitay)
-Email: daniel@ihasapp.com
+- Website: [iHasApp](http://www.ihasapp.com)
+- Author: [Daniel Amitay](https://github.com/danielamitay)
+- Email: daniel@ihasapp.com
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,9 @@
//
// iHasApp.h
+// iHasApp
//
// Created by Daniel Amitay on 10/21/12.
-// Copyright (c) 2012 Objective-See. All rights reserved.
+// Copyright (c) 2012 Daniel Amitay. All rights reserved.
//
#import <UIKit/UIKit.h>
Oops, something went wrong.

0 comments on commit 154afe0

Please sign in to comment.