Skip to content

Commit

Permalink
Extensions
Browse files Browse the repository at this point in the history
New Extended target that supports Extensions:
    FPKPayPal to create catalogs with items that can be purchased directly from the app;
    FPKYouTube to place YouTube video on the page.
    FPKGallerySlide interactive image gallery with manual or automatic advancement;
    FPKMap to render an interactive google map;
    FPKGalleryFade image gallery useful for the table of contents;
    FPKGalleryTap to create a multi interactive image gallery;
    FPKMessage to show details or alerts;
    FPKWebPopup to open a web page in a popup view.
Updated documentation to version 3.2.
Included Extensions documentation.
  • Loading branch information
Matteo Gavagnin committed Jan 4, 2012
1 parent ccb0822 commit d55fd7b
Show file tree
Hide file tree
Showing 354 changed files with 14,951 additions and 387 deletions.
Binary file modified Bundle/FPKKioskBundle.bundle/Info.plist
Binary file not shown.
Binary file modified Bundle/FPKKioskBundle.bundle/Kiosk_ipad.nib
Binary file not shown.
Binary file modified Bundle/FPKKioskBundle.bundle/Kiosk_phone.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/AudioViewController.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/BookmarkView.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/Info.plist
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/OutlineView.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/SearchView2_pad.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/SearchView2_phone.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/TextDisplayView.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/WebBrowser.nib
Binary file not shown.
Binary file modified Bundle/FPKReaderBundle.bundle/X.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/X_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/X_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/blackslider.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/bookmark_add.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/bookmark_add_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/bookmark_add_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeDouble.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeDouble_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeDouble_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeSingle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeSingle_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/changeModeSingle_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/close.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/close_player.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_l2r.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_l2r_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_l2r_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_r2l.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_r2l_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/direction_r2l_phone@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/img_outline_triangledown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/img_outline_triangleright.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/img_overflow_pad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/img_overflow_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Bundle/FPKReaderBundle.bundle/img_overflow_phone@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/indice.png
Binary file modified Bundle/FPKReaderBundle.bundle/indice_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_back.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_cancel.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_cancel@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_full.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_full@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_next.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_next@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_prev.png
Binary file modified Bundle/FPKReaderBundle.bundle/minisearch_prev@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/next.png
Binary file modified Bundle/FPKReaderBundle.bundle/pagelead.png
Binary file modified Bundle/FPKReaderBundle.bundle/pagelead_click.png
Binary file modified Bundle/FPKReaderBundle.bundle/pagelead_click_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/pagelead_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/pagelead_phone@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/pause_player.png
Binary file modified Bundle/FPKReaderBundle.bundle/play_player.png
Binary file modified Bundle/FPKReaderBundle.bundle/prew.png
Binary file modified Bundle/FPKReaderBundle.bundle/reload.png
Binary file modified Bundle/FPKReaderBundle.bundle/search.png
Binary file modified Bundle/FPKReaderBundle.bundle/search_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/search_phone@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/stop.png
Binary file modified Bundle/FPKReaderBundle.bundle/text.png
Binary file modified Bundle/FPKReaderBundle.bundle/text_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/text_phone@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomLock.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomLock_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomLock_phone@2x.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomUnlock.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomUnlock_phone.png
Binary file modified Bundle/FPKReaderBundle.bundle/zoomUnlock_phone@2x.png
65 changes: 65 additions & 0 deletions Classes/Extended/Extended-Info.plist
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>FPK Extended</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
<string>Icon72.png</string>
<string>Icon114.png</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
</dict>
<key>CFBundleIdentifier</key>
<string>com.mobfarm.extended</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIPrerenderedIcon</key>
<true/>
</dict>
</plist>
14 changes: 14 additions & 0 deletions Classes/Extended/Extended-Prefix.pch
@@ -0,0 +1,14 @@
//
// Prefix header for all source files of the 'Extended' target in the 'Extended' project
//

#import <Availability.h>

#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."
#endif

#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
Binary file not shown.
@@ -0,0 +1,55 @@
//
// DDPageControl.h
// DDPageControl
//
// Created by Damien DeVille on 1/14/11.
// Copyright 2011 Snappy Code. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIControl.h>
#import <UIKit/UIKitDefines.h>

typedef enum
{
DDPageControlTypeOnFullOffFull = 0,
DDPageControlTypeOnFullOffEmpty = 1,
DDPageControlTypeOnEmptyOffFull = 2,
DDPageControlTypeOnEmptyOffEmpty = 3,
}
DDPageControlType ;


@interface DDPageControl : UIControl
{
NSInteger numberOfPages ;
NSInteger currentPage ;
}

// Replicate UIPageControl features
@property(nonatomic) NSInteger numberOfPages ;
@property(nonatomic) NSInteger currentPage ;

@property(nonatomic) BOOL hidesForSinglePage ;

@property(nonatomic) BOOL defersCurrentPageDisplay ;
- (void)updateCurrentPageDisplay ;

- (CGSize)sizeForNumberOfPages:(NSInteger)pageCount ;

/*
DDPageControl add-ons - all these parameters are optional
Not using any of these parameters produce a page control identical to Apple's UIPage control
*/
- (id)initWithType:(DDPageControlType)theType ;

@property (nonatomic) DDPageControlType type ;

@property (nonatomic,retain) UIColor *onColor ;
@property (nonatomic,retain) UIColor *offColor ;

@property (nonatomic) CGFloat indicatorDiameter ;
@property (nonatomic) CGFloat indicatorSpace ;

@end

@@ -0,0 +1,85 @@
//
// DDSocialDialog.h
//
// Created by digdog on 6/6/10.
// Copyright 2010 Ching-Lan 'digdog' HUANG and digdog software. All rights reserved.
// http://digdog.tumblr.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.
//

/*
* Copyright 2009 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#import <UIKit/UIKit.h>

typedef enum{
DDSocialDialogThemeTwitter = 0,
DDSocialDialogThemePlurk
} DDSocialDialogTheme;

@protocol DDSocialDialogDelegate;

@interface DDSocialDialog : UIView {
@private
DDSocialDialogTheme theme_;

UIButton *closeButton_;
UILabel *titleLabel_;
UIView *contentView_;
UIControl *touchInterceptingControl_;

CGSize defaultFrameSize_;
CGRect originalFrame_;
UIDeviceOrientation orientation_;
BOOL showingKeyboard_;

id <DDSocialDialogDelegate> dialogDelegate_;
}

@property (nonatomic, readonly) DDSocialDialogTheme theme;
@property (nonatomic, readonly, retain) UILabel *titleLabel;
@property (nonatomic, readonly, retain) UIView *contentView;
@property (nonatomic, assign) id <DDSocialDialogDelegate> dialogDelegate;

- (id)initWithFrame:(CGRect)frame andOriginalFrame:(CGRect)original theme:(DDSocialDialogTheme)theme;
- (void)dismiss:(BOOL)animated;
- (void)show;
- (void)cancel;
@end


@protocol DDSocialDialogDelegate <NSObject>
@optional
- (void)socialDialogDidCancel:(DDSocialDialog *)socialDialog;
@end
@@ -0,0 +1,47 @@
//
// OpenUDID.h
// openudid
//
// initiated by Yann Lechelle (cofounder Appsfire) on 8/28/11.
// Copyright 2011 OpenUDID.org
//
// iOS / MacOS code: https://github.com/ylechelle/OpenUDID
// Android code: https://github.com/vieux/OpenUDID
//
// Contributors:
// https://github.com/ylechelle (initiator & iOS code)
// https://github.com/samrobbins (Mac OS port)
// https://github.com/vieux (Android version)

/*
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.
*/

#import <Foundation/Foundation.h>

#define kOpenUDIDErrorNone 0
#define kOpenUDIDErrorOptedOut 1
#define kOpenUDIDErrorCompromised 2

@interface OpenUDID : NSObject {
}
+ (NSString*) value;
+ (NSString*) valueWithError:(NSError**)error;

@end

0 comments on commit d55fd7b

Please sign in to comment.