diff --git a/components/iosdesigner/iosideintf.pas b/components/iosdesigner/iosideintf.pas index b611b084e..ef6f7230c 100644 --- a/components/iosdesigner/iosideintf.pas +++ b/components/iosdesigner/iosideintf.pas @@ -45,14 +45,6 @@ type constructor Create; override; end; - { TiOSInfo_PlistFileDesc } - - TiOSInfo_PlistFileDesc = class(TProjectFileDescriptor) - public - constructor Create; override; - function CreateSource(const Filename, SourceName, ResourceName: string): string; override; - end; - { TiOSShowInXCode } TiOSShowInXCode = Class(TComponentEditor) @@ -68,7 +60,6 @@ type var GiOSApplicationDescriptor: TiOSApplicationDescriptor; GiOSAppDelegateWindowFileDesc: TiOSAppDelegateWindowFileDesc; - GiOSInfo_PlistFileDesc: TiOSInfo_PlistFileDesc; GiOSObjectDelegateWindowFileDesc: TiOSObjectDelegateWindowFileDesc; resourcestring @@ -89,8 +80,6 @@ begin RegisterProjectDescriptor(GiOSApplicationDescriptor); GiOSAppDelegateWindowFileDesc:=TiOSAppDelegateWindowFileDesc.Create; RegisterProjectFileDescriptor(GiOSAppDelegateWindowFileDesc); - GiOSInfo_PlistFileDesc:=TiOSInfo_PlistFileDesc.Create; - RegisterProjectFileDescriptor(GiOSInfo_PlistFileDesc); GiOSObjectDelegateWindowFileDesc:=TiOSObjectDelegateWindowFileDesc.Create; RegisterProjectFileDescriptor(GiOSObjectDelegateWindowFileDesc); @@ -199,68 +188,6 @@ begin 'The contents of the NIB can be changed with the designer.'; end; -{ TiOSInfo_PlistFileDesc } - -constructor TiOSInfo_PlistFileDesc.Create; -begin - inherited Create; - Name:='Info_Plist'; - DefaultFilename:='Info.Plist'; - IsPascalUnit:=false; - VisibleInNewDialog:=false; -end; - -function TiOSInfo_PlistFileDesc.CreateSource(const Filename, SourceName, ResourceName: string): string; -begin - Result:='' + LineEnding + - '' + LineEnding + - '' + LineEnding + - '' + LineEnding + - ' CFBundleDevelopmentRegion' + LineEnding + - ' en' + LineEnding + - ' CFBundleDisplayName' + LineEnding + - ' ${PRODUCT_NAME}' + LineEnding + - ' CFBundleExecutable' + LineEnding + - ' ${EXECUTABLE_NAME}' + LineEnding + - ' CFBundleIconFile' + LineEnding + - ' ' + LineEnding + - ' CFBundleIdentifier' + LineEnding + - ' CNOC.${PRODUCT_NAME:rfc1034identifier}' + LineEnding + - ' CFBundleInfoDictionaryVersion' + LineEnding + - ' 6.0' + LineEnding + - ' CFBundleName' + LineEnding + - ' ${PRODUCT_NAME}' + LineEnding + - ' CFBundlePackageType' + LineEnding + - ' APPL' + LineEnding + - ' CFBundleShortVersionString' + LineEnding + - ' 1.0' + LineEnding + - ' CFBundleSignature' + LineEnding + - ' ????' + LineEnding + - ' CFBundleVersion' + LineEnding + - ' 1.0' + LineEnding + - ' LSRequiresIPhoneOS' + LineEnding + - ' ' + LineEnding + - ' NSMainNibFile' + LineEnding + - ' MainWindow_iPhone' + LineEnding + - ' NSMainNibFile~ipad' + LineEnding + - ' MainWindow_iPad' + LineEnding + - ' UISupportedInterfaceOrientations' + LineEnding + - ' ' + LineEnding + - ' UIInterfaceOrientationLandscapeLeft' + LineEnding + - ' UIInterfaceOrientationLandscapeRight' + LineEnding + - ' UIInterfaceOrientationPortrait' + LineEnding + - ' ' + LineEnding + - ' UISupportedInterfaceOrientations~ipad' + LineEnding + - ' ' + LineEnding + - ' UIInterfaceOrientationPortrait' + LineEnding + - ' UIInterfaceOrientationPortraitUpsideDown' + LineEnding + - ' UIInterfaceOrientationLandscapeLeft' + LineEnding + - ' UIInterfaceOrientationLandscapeRight' + LineEnding + - ' ' + LineEnding + - '' + LineEnding + - ''+LineEnding+LineEnding; -end; - { TiOSAppDelegateWindowFileDesc } function TiOSAppDelegateWindowFileDesc.GetDelegateProtocols: string;