Skip to content

xavipedrals/iosMovies

Repository files navigation

iOS Movies

This app will show you the last top movies released by using the itunes RSS feed.

####-> You can find a Reactive version of this app coded with RxSwift in this branch devReactive.

The url of the itunes RSS is https://itunes.apple.com/us/rss/topmovies/limit=30/json

Find a gide of itunes RSS urls here https://affiliate.itunes.apple.com/resources/blog/introduction-rss-feed-generator/

Screenshots

Libraries

For this app we will use 3 Swift libraries:

NOTE: This isn't the SwiftyJSON Logo, Swifty JSON has no logo :(

To see a beautiful JSON we will use JSONFormatter

Carthage

Carthage is intended to be the simplest way to add frameworks to your Cocoa application.

To install Carthage:

$ brew update
$ brew install carthage

How to use carthage:

  • Create a file named "Cartfile" in the project root folfer
  • Add the following content to the file
github "Alamofire/Alamofire" ~> 4.3
github "onevcat/Kingfisher" ~> 3.0
github "SwiftyJSON/SwiftyJSON"
  • Run "carthage update --platform iOS --no-use-binaries"
NOTE: You can run only "carthage update" but it will fetch libraries for macOS and tvOS too.

Carthage now will create a folder named Carthage in the root directory of the project and there you will find folders for each library with a .framework file inside.

Take the file and drop it inside your Xcode Project, ensure the checkbox "Copy items if needed" is marked.

Then click your Xcode project, go to Build Phases and check if a section called Copy Files exist. If not you can create it by clicking the + button. There add the .framework files you just added to the project.

Add custom fonts

To add custom fonts simply drop them into the project. Then go to your info.plist file and add a section named "Fonts provided by application", there add the fonts you want to use. You need the specify the font path and extension.

 

Releases

No releases published

Packages

No packages published

Languages