# DAAppsViewController
`DAAppsViewController` is a simple way of displaying apps from the App Store in an aesthetically similar manner. The user is able to view each app's App Store page by launching an instance of `SKStoreProductViewController`. Particularly useful for showing an app developer's other apps.
![Screenshot](https://github.com/danielamitay/DAAppsViewController/raw/master/screenshot.png)
## Installation
- Copy over the `DAAppsViewController` folder to your project folder.
- Add the **StoreKit** framework to your project.
- `#import "DAAppsViewController.h"`
## Usage
Example project included (DAAppsViewControllerExample)
### Displaying apps by a specific developer (useful for "Our other apps")
```objective-c
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithArtistId:356087517 completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
```
### Displaying a predetermined set of apps
By **appId**:
```objective-c
NSArray *appsArray = @[@575647534,@498151501,@482453112,@582790430,@543421080];
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
appsViewController.pageTitle = @"Apps by XXX"; // Optional
[appsViewController loadAppsWithAppIds:appsArray completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
```
By **bundleId**:
```objective-c
NSArray *bundlesArray = @[@"com.flexibits.fantastical.iphone",@"com.samvermette.Transit",@"com.tripsyapp.tripsy",@"com.seatgeek.SeatGeek",@"com.bumptechnologies.flock.Release"];
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithBundleIds:bundlesArray completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
```
### Displaying apps for a specific App Store search term
```objective-c
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithSearchTerm:@"Radio" completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
```
## Notes
### Compatibility
iOS5.0+
### Automatic Reference Counting (ARC) support
`DAAppsViewController` was made with ARC enabled by default.
## Contact
- [@danielamitay](http://twitter.com/danielamitay)
- [email protected]
- http://www.danielamitay.com
If you use/enjoy `DAAppsViewController`, let me know!
## License
### MIT License
Copyright (c) 2013 Daniel Amitay (http://www.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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
没有合适的资源?快使用搜索试试~ 我知道了~
IOS应用源码之列表个性化列表项.zip
共34个文件
png:11个
m:6个
h:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 95 浏览量
2022-06-18
17:31:11
上传
评论
收藏 125KB ZIP 举报
温馨提示
IOS应用源码之列表个性化列表项.zip
资源推荐
资源详情
资源评论
收起资源包目录
IOS应用源码之列表个性化列表项.zip (34个子文件)
IOS应用源码之列表个性化列表项
danielamitay-DAAppsViewController-a90dff2
DAAppsViewControllerExample
DAAppsViewControllerExample
DAAppsViewControllerExample-Info.plist 1KB
main.m 359B
Default.png 6KB
AppDelegate.h 377B
AppDelegate.m 2KB
[email protected] 18KB
RootViewController.h 251B
[email protected] 16KB
DAAppsViewControllerExample-Prefix.pch 357B
RootViewController.m 5KB
en.lproj
InfoPlist.strings 45B
DAAppsViewControllerExample.xcodeproj
project.xcworkspace
contents.xcworkspacedata 172B
xcuserdata
danielamitay.xcuserdatad
WorkspaceSettings.xcsettings 333B
project.pbxproj 16KB
xcuserdata
danielamitay.xcuserdatad
xcschemes
DAAppsViewControllerExample.xcscheme 3KB
xcschememanagement.plist 499B
DAAppsViewController
DAAppsViewController.m 21KB
DAAppViewCell.h 305B
DAAppObject.m 2KB
DAAppObject.h 850B
DAAppsViewController.bundle
DAAppViewCell.m 12KB
DAAppsViewController.h 1KB
DAAppsViewController.podspec 978B
screenshot.png 54KB
LICENSE.md 1KB
.gitignore 203B
README.md 4KB
共 34 条
- 1
资源评论
qq_38220914
- 粉丝: 605
- 资源: 4312
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功