Skip to content

Commit 857a035

Browse files
authored
Merge pull request #1 from SyncfusionExamples/Sample-Changes
Sample added for include custom header using xib file in iOS
2 parents 070b23f + 17f6fd1 commit 857a035

File tree

19 files changed

+729
-0
lines changed

19 files changed

+729
-0
lines changed
6 KB
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomHeader_iOS", "CustomHeader_iOS\CustomHeader_iOS.csproj", "{1DD15F65-8353-4F80-83AC-88A03D917C89}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|iPhoneSimulator = Debug|iPhoneSimulator
9+
Release|iPhone = Release|iPhone
10+
Release|iPhoneSimulator = Release|iPhoneSimulator
11+
Debug|iPhone = Debug|iPhone
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
15+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
16+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Release|iPhone.ActiveCfg = Release|iPhone
17+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Release|iPhone.Build.0 = Release|iPhone
18+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
19+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
20+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Debug|iPhone.ActiveCfg = Debug|iPhone
21+
{1DD15F65-8353-4F80-83AC-88A03D917C89}.Debug|iPhone.Build.0 = Debug|iPhone
22+
EndGlobalSection
23+
EndGlobal
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Properties StartupConfiguration="{1DD15F65-8353-4F80-83AC-88A03D917C89}|Default">
2+
<MonoDevelop.Ide.Workbench />
3+
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhoneSimulator" />
4+
<MonoDevelop.Ide.DebuggingService.Breakpoints>
5+
<BreakpointStore />
6+
</MonoDevelop.Ide.DebuggingService.Breakpoints>
7+
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
8+
<MonoDevelop.Ide.ItemProperties.CustomHeader__iOS PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneSimulatorTarget.3F5CCBDC-F469-4946-B236-851400FC9422">
9+
<MonoDevelop.MacDev.AppleDevelopmentTeam />
10+
</MonoDevelop.Ide.ItemProperties.CustomHeader__iOS>
11+
<MultiItemStartupConfigurations />
12+
</Properties>
6 KB
Binary file not shown.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
using Foundation;
2+
using UIKit;
3+
4+
namespace CustomHeader_iOS
5+
{
6+
// The UIApplicationDelegate for the application. This class is responsible for launching the
7+
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
8+
[Register("AppDelegate")]
9+
public class AppDelegate : UIApplicationDelegate
10+
{
11+
// class-level declarations
12+
13+
public override UIWindow Window
14+
{
15+
get;
16+
set;
17+
}
18+
19+
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
20+
{
21+
// Override point for customization after application launch.
22+
// If not required for your application you can safely delete this method
23+
return true;
24+
}
25+
26+
public override void OnResignActivation(UIApplication application)
27+
{
28+
// Invoked when the application is about to move from active to inactive state.
29+
// This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message)
30+
// or when the user quits the application and it begins the transition to the background state.
31+
// Games should use this method to pause the game.
32+
}
33+
34+
public override void DidEnterBackground(UIApplication application)
35+
{
36+
// Use this method to release shared resources, save user data, invalidate timers and store the application state.
37+
// If your application supports background exection this method is called instead of WillTerminate when the user quits.
38+
}
39+
40+
public override void WillEnterForeground(UIApplication application)
41+
{
42+
// Called as part of the transiton from background to active state.
43+
// Here you can undo many of the changes made on entering the background.
44+
}
45+
46+
public override void OnActivated(UIApplication application)
47+
{
48+
// Restart any tasks that were paused (or not yet started) while the application was inactive.
49+
// If the application was previously in the background, optionally refresh the user interface.
50+
}
51+
52+
public override void WillTerminate(UIApplication application)
53+
{
54+
// Called when the application is about to terminate. Save data, if needed. See also DidEnterBackground.
55+
}
56+
}
57+
}
58+
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"size" : "29x29",
16+
"scale" : "2x"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"size" : "29x29",
21+
"scale" : "3x"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"size" : "40x40",
26+
"scale" : "2x"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"size" : "40x40",
31+
"scale" : "3x"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"size" : "60x60",
36+
"scale" : "2x"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"size" : "60x60",
41+
"scale" : "3x"
42+
},
43+
{
44+
"idiom" : "ipad",
45+
"size" : "20x20",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "ipad",
50+
"size" : "20x20",
51+
"scale" : "2x"
52+
},
53+
{
54+
"idiom" : "ipad",
55+
"size" : "29x29",
56+
"scale" : "1x"
57+
},
58+
{
59+
"idiom" : "ipad",
60+
"size" : "29x29",
61+
"scale" : "2x"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"size" : "40x40",
66+
"scale" : "1x"
67+
},
68+
{
69+
"idiom" : "ipad",
70+
"size" : "40x40",
71+
"scale" : "2x"
72+
},
73+
{
74+
"idiom" : "ipad",
75+
"size" : "76x76",
76+
"scale" : "1x"
77+
},
78+
{
79+
"idiom" : "ipad",
80+
"size" : "76x76",
81+
"scale" : "2x"
82+
},
83+
{
84+
"idiom" : "ipad",
85+
"size" : "83.5x83.5",
86+
"scale" : "2x"
87+
},
88+
{
89+
"idiom" : "ios-marketing",
90+
"size" : "1024x1024",
91+
"scale" : "1x"
92+
},
93+
{
94+
"size" : "24x24",
95+
"idiom" : "watch",
96+
"scale" : "2x",
97+
"role" : "notificationCenter",
98+
"subtype" : "38mm"
99+
},
100+
{
101+
"size" : "27.5x27.5",
102+
"idiom" : "watch",
103+
"scale" : "2x",
104+
"role" : "notificationCenter",
105+
"subtype" : "42mm"
106+
},
107+
{
108+
"size" : "29x29",
109+
"idiom" : "watch",
110+
"role" : "companionSettings",
111+
"scale" : "2x"
112+
},
113+
{
114+
"size" : "29x29",
115+
"idiom" : "watch",
116+
"role" : "companionSettings",
117+
"scale" : "3x"
118+
},
119+
{
120+
"size" : "40x40",
121+
"idiom" : "watch",
122+
"scale" : "2x",
123+
"role" : "appLauncher",
124+
"subtype" : "38mm"
125+
},
126+
{
127+
"size" : "44x44",
128+
"idiom" : "watch",
129+
"scale" : "2x",
130+
"role" : "longLook",
131+
"subtype" : "42mm"
132+
},
133+
{
134+
"size" : "86x86",
135+
"idiom" : "watch",
136+
"scale" : "2x",
137+
"role" : "quickLook",
138+
"subtype" : "38mm"
139+
},
140+
{
141+
"size" : "98x98",
142+
"idiom" : "watch",
143+
"scale" : "2x",
144+
"role" : "quickLook",
145+
"subtype" : "42mm"
146+
},
147+
{
148+
"idiom" : "mac",
149+
"size" : "16x16",
150+
"scale" : "1x"
151+
},
152+
{
153+
"idiom" : "mac",
154+
"size" : "16x16",
155+
"scale" : "2x"
156+
},
157+
{
158+
"idiom" : "mac",
159+
"size" : "32x32",
160+
"scale" : "1x"
161+
},
162+
{
163+
"idiom" : "mac",
164+
"size" : "32x32",
165+
"scale" : "2x"
166+
},
167+
{
168+
"idiom" : "mac",
169+
"size" : "128x128",
170+
"scale" : "1x"
171+
},
172+
{
173+
"idiom" : "mac",
174+
"size" : "128x128",
175+
"scale" : "2x"
176+
},
177+
{
178+
"idiom" : "mac",
179+
"size" : "256x256",
180+
"scale" : "1x"
181+
},
182+
{
183+
"idiom" : "mac",
184+
"size" : "256x256",
185+
"scale" : "2x"
186+
},
187+
{
188+
"idiom" : "mac",
189+
"size" : "512x512",
190+
"scale" : "1x"
191+
},
192+
{
193+
"idiom" : "mac",
194+
"size" : "512x512",
195+
"scale" : "2x"
196+
}
197+
],
198+
"info" : {
199+
"version" : 1,
200+
"author" : "xcode"
201+
}
202+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

0 commit comments

Comments
 (0)