Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
/ PicSciP Public archive

Fork of the Xcode PhotoScroller sample app, like the native iPhone photo viewer. Click the demo video link below.

License

Notifications You must be signed in to change notification settings

ma11hew28/PicSciP

Repository files navigation

PicSciP

This app is a fork of the sample Xcode project PhotoScroller:

"'PhotoScroller' demonstrates the use of embedded UIScrollViews and CATiledLayer to create a rich user experience for displaying and paginating photos that can be individually panned and zoomed. CATiledLayer is used to increase the performance of paging, panning, and zooming with high-resolution images or large sets of photos."

Screenshot & Demo Video

To see a demo video, click the screenshot (right). => PicSciP Demo Video

Changes

  • I added a Welcome UIAlertView that shows app usage instructions upon initial app launch.

  • I removed the ImageData.plist file since I wanted all of my images to be the same size, 1024x1536 px, and have the same naming pattern page_i.

  • I added two very useful & time-saving Photoshop scripts: One for resizing & tiling/slicing/cropping images, and one for creating all icon versions from the iTunesArtwork, 512x512-px image.

  • I made some other small changes, like style changes, changing the tiledLayer.levelsOfDetail from 4 to 2, moving the photos to their own directory called Photos, and perhaps other small changes. I recommend doing a diff -r to compare PicSciP with PhotoScroller.

Autorotation-Padding Bug

After rotating the device from portrait to landscape and back again, the padding is displayed on screen, but it shouldn't be. Setting PADDING to 1 to ameliorate this issue causes the page navigation to break after rotating the device from portrait to landscape and back again. Setting PADDING to 2 is the working compromise I chose. I wrote Apple about this. Please send me a pull request if you fix this issue. Thanks!

Contributors

Photo Credits

Each of the three photos in this app was:

The photos are listed below in the same order they appear in the app. The app icon is a derivative of the first photo.

  1. FeuArtificeLevallois-37 "FeuArtificeLevallois-37."
  2. Solidays2009_-21 "Solidays2009_-21."
  3. Oeuvre d'art à Central Park "Oeuvre d'art à Central Park."

About

Fork of the Xcode PhotoScroller sample app, like the native iPhone photo viewer. Click the demo video link below.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published