Scoop
所属分类:collect
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2022-06-06 04:52:23
上 传 者:
sh-1993
说明: 新闻应用程序,可用于阅读、共享和收藏各种类别的文章,
(A NEWS app which can be used to read,share and bookmark articles of various categories,)
文件列表:
CODE_OF_CONDUCT.md (3359, 2022-06-05)
CONTRIBUTING.md (1395, 2022-06-05)
LICENSE (1086, 2022-06-05)
NEWCOMERS.md (2266, 2022-06-05)
Podfile (135, 2022-06-05)
Podfile.lock (570, 2022-06-05)
Pods/ (0, 2022-06-05)
Pods/KSBGradientView/ (0, 2022-06-05)
Pods/KSBGradientView/KSBGradientView/ (0, 2022-06-05)
Pods/KSBGradientView/KSBGradientView/Classes/ (0, 2022-06-05)
Pods/KSBGradientView/KSBGradientView/Classes/KSBGradientView.swift (838, 2022-06-05)
Pods/KSBGradientView/LICENSE (1083, 2022-06-05)
Pods/Manifest.lock (570, 2022-06-05)
Pods/Pods.xcodeproj/ (0, 2022-06-05)
Pods/Pods.xcodeproj/project.pbxproj (135036, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/ (0, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/ (0, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/ (0, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/KSBGradientView.xcscheme (2108, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/Pods-Scoop.xcscheme (2029, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/SDWebImage.xcscheme (2098, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/SVProgressHUD.xcscheme (2104, 2022-06-05)
Pods/Pods.xcodeproj/xcuserdata/saibalaji.xcuserdatad/xcschemes/xcschememanagement.plist (828, 2022-06-05)
Pods/SDWebImage/ (0, 2022-06-05)
Pods/SDWebImage/LICENSE (1087, 2022-06-05)
Pods/SDWebImage/SDWebImage/ (0, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/ (0, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSButton+WebCache.h (17567, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSButton+WebCache.m (8684, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSData+ImageContentType.h (2100, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSData+ImageContentType.m (5650, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSImage+Compatibility.h (3231, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/NSImage+Compatibility.m (4263, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.h (6619, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/SDAnimatedImage.m (13383, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.h (4679, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.m (13037, 2022-06-05)
Pods/SDWebImage/SDWebImage/Core/SDAnimatedImageRep.h (1196, 2022-06-05)
... ...
# Scoop
A NEWS App for iOS 14 built using Swift which allow the users to read,bookmark and share news articles.
Built using MVC architecture
# Requirements
* Xcode 10+
* Swift 5+.
* Cocoa Pod
## How to run
* Open the mac terminal.
* Clone the repo.
```git clone https://github.com/SaiBalaji22/Scoop.git```
* Move into the project directory using terminal
* Install the cocoapod dependencies by running the below command in terminal inside the project directory.
```pod install```
* Open Scoop.xcworkspace in latest version of Xcode on a mac with internet connection by running the below command in terminal.
``` open Scoop.xcworkspace```
* Wait for the dependencies to complete indexing.
* Build and Run the project in iPhone simulator(Not iPod) by pressing Command + R.
# Frameworks used
* UIKit - UserInterface framework
* Core Data - To store Bookmarks in disk
* Swift Standard Library (Codable) - To parse JSON objects
# Replace it with your API key
Obtain your API key from here https://newsapi.org/
```
private let HEALTH_URL = "https://newsapi.org/v2/top-headlines?country=in&category=health&apiKey=API _KEY_HERE"
private let HEADLINES_URL = "https://newsapi.org/v2/top-headlines?country=in&apiKey=API _KEY_HERE"
private let TECH_URL = "http://newsapi.org/v2/top-headlines?country=in&category=technology&apiKey=API _KEY_HERE"
private let ENTERTAINMENT_URL = "http://newsapi.org/v2/top-headlines?country=in&category=entertainment&apiKey=API _KEY_HERE"
private let SCIENCE_URL = "http://newsapi.org/v2/top-headlines?country=in&category=science&apiKey=API _KEY_HERE"
```
# Cocoa Pods used
* KSBGradient By: me!(Sai Balaji) link: https://cocoapods.org/pods/KSBGradientView To get gradient background to UIVIew
* SVProgressHUD By: Sam Vermette and Tobias Tiemerding link: https://cocoapods.org/pods/SVProgressHUD To display progress view
* SDWebImage By: Olivier Poitrey link: https://cocoapods.org/pods/SDWebImage Asynchronous image downloader without affecting UI Thread
# Screenshots
![WhatsApp Image 2020-07-14 at 6 55 28 PM(1)_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87435407-5584e700-c609-11ea-9ff2-fcfe23062bb3.png)
![WhatsApp Image 2020-07-14 at 6 55 30 PM_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87435422-5ae23180-c609-11ea-990d-47e865822c7d.png)
![WhatsApp Image 2020-07-14 at 6 55 29 PM_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87435438-5fa6e580-c609-11ea-8afa-de3ffba67df8.png)
![WhatsApp Image 2020-07-14 at 7 14 17 PM_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87437498-055b5400-c60c-11ea-968b-12f521f92c8f.png)
![WhatsApp Image 2020-07-14 at 7 14 18 PM(1)_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87437502-07bdae00-c60c-11ea-88c3-a0d735aad81d.png)
![WhatsApp Image 2020-07-14 at 6 55 30 PM(1)_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87435449-633a6c80-c609-11ea-9318-78ed74eff4a9.png)
![WhatsApp Image 2020-07-14 at 6 55 28 PM_iphoneserosegold_portrait](https://user-images.githubusercontent.com/51410810/87435484-6d5c6b00-c609-11ea-9f52-92c534dfcf77.png)
近期下载者:
相关文件:
收藏者: