D.P.F iOS Native Components ( D.P.F iOSNC )
-----------------------------------------------

How to install and use:

1) Important: Add this frameworks in the SDK Manager (see Frameworks.png picture after installing)

/System/Library/Frameworks/AddressBookUI
/System/Library/Frameworks/AddressBook
/System/Library/Frameworks/EventKit
/System/Library/Frameworks/MessageUI
/System/Library/Frameworks/AudioToolbox
/System/Library/Frameworks/MapKit
/System/Library/Frameworks/Social
/System/Library/Frameworks/QuickLook
/System/Library/Frameworks/SystemConfiguration
/System/Library/Frameworks/iAd.framework/iAd (no need if you are using XE5)
/System/Library/Frameworks/StoreKit
/System/Library/Frameworks/MobileCoreServices
/System/Library/Frameworks/GameKit

Tools -> Options -> SDK Manager -> Scroll down remote paths listview ->Go Frameworks section -> Select one of framework item (e.g: select /System/Library/Frameworks/UIKit) -> click Add the new path item


--------------------------------------
In XE5 You must be add $(SDKROOT) the beginning of each path on remote machine value
like this:  [ $(SDKROOT)/System/Library/Frameworks ]
--------------------------------------

1)
path on remote machine : /System/Library/Frameworks
Framework name: AddressBookUI
include subdirectories: unchecked

Add again:

2)
path on remote machine : /System/Library/Frameworks
Framework name: AddressBook
include subdirectories: unchecked

Add again:

3)
path on remote machine : /System/Library/Frameworks
Framework name: EventKit
include subdirectories: unchecked

Add again:

4)
path on remote machine : /System/Library/Frameworks
Framework name: MessageUI
include subdirectories: unchecked

Add again:

5)
path on remote machine : /System/Library/Frameworks
Framework name: AudioToolbox
include subdirectories: unchecked

Add again:

6)
path on remote machine : /System/Library/Frameworks
Framework name: MapKit
include subdirectories: unchecked

Add again:

7)
path on remote machine : /System/Library/Frameworks
Framework name: Social
include subdirectories: unchecked

Add again:

8)
path on remote machine : /System/Library/Frameworks
Framework name: QuickLook
include subdirectories: unchecked

Add again:

9)
path on remote machine : /System/Library/Frameworks
Framework name: SystemConfiguration
include subdirectories: unchecked

Add again: (No Need in XE5)

10)
path on remote machine : /System/Library/Frameworks
Framework name: iAd
include subdirectories: unchecked

Add again: 

11)
path on remote machine : /System/Library/Frameworks
Framework name: StoreKit
include subdirectories: unchecked

Add again: 

12)
path on remote machine : /System/Library/Frameworks
Framework name: MobileCoreServices
include subdirectories: unchecked

Add again: 

13)
path on remote machine : /System/Library/Frameworks
Framework name: GameKit
include subdirectories: unchecked

after Ok dialog, click Update local File Cache button.

-------------------------------------------------------------------------------------------
XE4:
2) DPFiOSPackagesXE4.dpk
 2-1) Select 32-bit windows and build then install. (No Need Simulator or Device)

XE5:
3) DPFiOSPackagesXE5.dpk 
 3-1) Select 32-bit windows and build then install. (No Need Simulator or Device)


Or Use DPFiOSPackagesGroup.groupproj 
-------------------------------------------------------------------------------------------

4) Before deploying Demos on Simulator or Device dont forget : Go to 
Project Menu - > Deployment -> Deply
-------------------------------------------------------------------------------------------


5) This is very important to: if you want have very high performance in your project override in all you TForm declrations PaintRects
  Sample:

type
  TFDatePicker = class( TForm )
  private
    { Private declarations }
  protected
    procedure PaintRects( const UpdateRects: array of TRectF ); override; <---- This line a important !
  public
    { Public declarations }
  end;

and in your implementation:

procedure TFDatePicker.PaintRects( const UpdateRects: array of TRectF );
begin
{} <-- This is important you not have any [inherited] keyword here !
end;

Now, by this work, you not have a delphi Form drawing (very slow), then you must be add a TDPFUIView on the form 
and change background color or image,

Enjoy it!

-------------------------------------------------------------------
© 2011-2013 Dadeh Pardazane Faragir (D.P.F). All rights reserved.
http://www.dpfaragir.com

Developed by: Babak Yaghoobi ( b_yaghobi@yahoo.com )