-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finish framework, now the menulet can be loaded, and popover window c…
…an be shown
- Loading branch information
Showing
7 changed files
with
46 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 9 additions & 8 deletions
17
...a/CLCMenuExtra/CLCPopoverViewController.m → CLCMenuExtra/CLCMenuExtra/CLCPopController.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
// | ||
// CLCPopoverViewController.m | ||
// CLCPopController.m | ||
// chinese lunar calendar | ||
// | ||
// Created by Zhengfa DANG on 9/25/14. | ||
// Copyright (c) 2014 Zhengfa. All rights reserved. | ||
// | ||
|
||
#import "CLCPopoverViewController.h" | ||
#import "CLCPopController.h" | ||
|
||
@interface CLCPopoverViewController () | ||
@interface CLCPopController () | ||
|
||
@end | ||
|
||
@implementation CLCPopoverViewController | ||
@implementation CLCPopController | ||
|
||
@synthesize popover; | ||
- (void)viewDidLoad { | ||
// [super viewDidLoad]; | ||
// Do view setup here. | ||
} | ||
|
||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | ||
{ | ||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | ||
if (self) { | ||
// Initialization code here. | ||
self.popover = [[NSPopover alloc] init]; | ||
self.popover.contentViewController = self; | ||
} | ||
|
||
return self; | ||
} | ||
|
||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ | |
691657AC19D3F8410086C6D9 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 691657A819D3F8410086C6D9 /* [email protected] */; }; | ||
691657AD19D3F8410086C6D9 /* cloudgrey.png in Resources */ = {isa = PBXBuildFile; fileRef = 691657A919D3F8410086C6D9 /* cloudgrey.png */; }; | ||
691657AE19D3F8410086C6D9 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 691657AA19D3F8410086C6D9 /* [email protected] */; }; | ||
6985D80B19D4423F00343F35 /* CLCPopController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6985D80919D4423F00343F35 /* CLCPopController.m */; }; | ||
6985D80C19D4423F00343F35 /* CLCPopController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6985D80A19D4423F00343F35 /* CLCPopController.xib */; }; | ||
69C45CD219D3B17D004AC6DD /* CLCCalendar.m in Sources */ = {isa = PBXBuildFile; fileRef = 69C45CD119D3B17D004AC6DD /* CLCCalendar.m */; }; | ||
69C45CD619D3B230004AC6DD /* CLCPopoverViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 69C45CD419D3B230004AC6DD /* CLCPopoverViewController.m */; }; | ||
69C45CD719D3B230004AC6DD /* CLCPopoverViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 69C45CD519D3B230004AC6DD /* CLCPopoverViewController.xib */; }; | ||
69D8B52019D27A3E00A75B32 /* SystemUIPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69D8B51F19D27A3E00A75B32 /* SystemUIPlugin.framework */; }; | ||
69D8B52419D27AF900A75B32 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69D8B52319D27AF900A75B32 /* Cocoa.framework */; }; | ||
69D8B53D19D290E400A75B32 /* CLCMenuExtra.m in Sources */ = {isa = PBXBuildFile; fileRef = 69D8B53A19D290E400A75B32 /* CLCMenuExtra.m */; }; | ||
|
@@ -25,11 +25,11 @@ | |
691657A819D3F8410086C6D9 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "[email protected]"; path = "CLCMenuExtra/Resources/[email protected]"; sourceTree = "<group>"; }; | ||
691657A919D3F8410086C6D9 /* cloudgrey.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = cloudgrey.png; path = CLCMenuExtra/Resources/cloudgrey.png; sourceTree = "<group>"; }; | ||
691657AA19D3F8410086C6D9 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "[email protected]"; path = "CLCMenuExtra/Resources/[email protected]"; sourceTree = "<group>"; }; | ||
6985D80819D4423F00343F35 /* CLCPopController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLCPopController.h; path = CLCMenuExtra/CLCPopController.h; sourceTree = "<group>"; }; | ||
6985D80919D4423F00343F35 /* CLCPopController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLCPopController.m; path = CLCMenuExtra/CLCPopController.m; sourceTree = "<group>"; }; | ||
6985D80A19D4423F00343F35 /* CLCPopController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = CLCPopController.xib; path = CLCMenuExtra/CLCPopController.xib; sourceTree = "<group>"; }; | ||
69C45CD019D3B17D004AC6DD /* CLCCalendar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLCCalendar.h; path = CLCMenuExtra/CLCCalendar.h; sourceTree = "<group>"; }; | ||
69C45CD119D3B17D004AC6DD /* CLCCalendar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLCCalendar.m; path = CLCMenuExtra/CLCCalendar.m; sourceTree = "<group>"; }; | ||
69C45CD319D3B230004AC6DD /* CLCPopoverViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLCPopoverViewController.h; path = CLCMenuExtra/CLCPopoverViewController.h; sourceTree = "<group>"; }; | ||
69C45CD419D3B230004AC6DD /* CLCPopoverViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLCPopoverViewController.m; path = CLCMenuExtra/CLCPopoverViewController.m; sourceTree = "<group>"; }; | ||
69C45CD519D3B230004AC6DD /* CLCPopoverViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = CLCPopoverViewController.xib; path = CLCMenuExtra/CLCPopoverViewController.xib; sourceTree = "<group>"; }; | ||
69D8B51519D278A900A75B32 /* CLCMenuExtra.menu */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CLCMenuExtra.menu; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
69D8B51919D278A900A75B32 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
69D8B51F19D27A3E00A75B32 /* SystemUIPlugin.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SystemUIPlugin.framework; sourceTree = "<group>"; }; | ||
|
@@ -120,9 +120,8 @@ | |
69D8B53A19D290E400A75B32 /* CLCMenuExtra.m */, | ||
69D8B53B19D290E400A75B32 /* CLCMenuExtraView.h */, | ||
69D8B53C19D290E400A75B32 /* CLCMenuExtraView.m */, | ||
69C45CD319D3B230004AC6DD /* CLCPopoverViewController.h */, | ||
69C45CD419D3B230004AC6DD /* CLCPopoverViewController.m */, | ||
69C45CD519D3B230004AC6DD /* CLCPopoverViewController.xib */, | ||
6985D80819D4423F00343F35 /* CLCPopController.h */, | ||
6985D80919D4423F00343F35 /* CLCPopController.m */, | ||
69C45CD019D3B17D004AC6DD /* CLCCalendar.h */, | ||
69C45CD119D3B17D004AC6DD /* CLCCalendar.m */, | ||
); | ||
|
@@ -132,6 +131,7 @@ | |
69D8B53F19D2946300A75B32 /* Resources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
6985D80A19D4423F00343F35 /* CLCPopController.xib */, | ||
691657A719D3F8410086C6D9 /* cloud.png */, | ||
691657A819D3F8410086C6D9 /* [email protected] */, | ||
691657A919D3F8410086C6D9 /* cloudgrey.png */, | ||
|
@@ -196,7 +196,7 @@ | |
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
69C45CD719D3B230004AC6DD /* CLCPopoverViewController.xib in Resources */, | ||
6985D80C19D4423F00343F35 /* CLCPopController.xib in Resources */, | ||
691657AB19D3F8410086C6D9 /* cloud.png in Resources */, | ||
691657AE19D3F8410086C6D9 /* [email protected] in Resources */, | ||
691657AD19D3F8410086C6D9 /* cloudgrey.png in Resources */, | ||
|
@@ -212,8 +212,8 @@ | |
buildActionMask = 2147483647; | ||
files = ( | ||
69C45CD219D3B17D004AC6DD /* CLCCalendar.m in Sources */, | ||
69C45CD619D3B230004AC6DD /* CLCPopoverViewController.m in Sources */, | ||
69D8B53D19D290E400A75B32 /* CLCMenuExtra.m in Sources */, | ||
6985D80B19D4423F00343F35 /* CLCPopController.m in Sources */, | ||
69D8B53E19D290E400A75B32 /* CLCMenuExtraView.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
|
Binary file modified
BIN
-212 Bytes
(99%)
...codeproj/project.xcworkspace/xcuserdata/zfdang.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.