Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Macalline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Macalline
Commits
63531739
Commit
63531739
authored
Aug 06, 2016
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabbar
parent
6a7b81e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
15 deletions
+24
-15
project.pbxproj
Macalline.xcodeproj/project.pbxproj
+11
-11
AppDelegate.m
Macalline/AppDelegate.m
+1
-1
TabBarViewController.m
...ine/Classes/ViewControllers/TabBar/TabBarViewController.m
+1
-0
TaskUploadViewController.m
...e/Classes/ViewControllers/Task/TaskUploadViewController.m
+11
-3
bage_custom.png
Macalline/Resources/Images/TabBar/bage_custom.png
+0
-0
No files found.
Macalline.xcodeproj/project.pbxproj
View file @
63531739
...
...
@@ -936,7 +936,7 @@
ORGANIZATIONNAME
=
JianjiYuan
;
TargetAttributes
=
{
09CD6F931A2C46B300A581BA
=
{
DevelopmentTeam
=
4WRSWKXL27
;
DevelopmentTeam
=
C237GFQJK4
;
};
09CD6FAE1A2C46B300A581BA
=
{
DevelopmentTeam
=
C237GFQJK4
;
...
...
@@ -1273,18 +1273,18 @@
baseConfigurationReference
=
9DF2AE748F48D7C21F3300FE
/* Pods.debug.xcconfig */
;
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone D
istribution: Shanghai Gomore Information Technology Co.,Ltd
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"
iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd
"
;
CODE_SIGN_IDENTITY
=
"iPhone D
eveloper
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
""
;
ENABLE_BITCODE
=
NO
;
GCC_PRECOMPILE_PREFIX_HEADER
=
YES
;
GCC_PREFIX_HEADER
=
"Macalline/Macalline-Prefix.pch"
;
INFOPLIST_FILE
=
"Macalline/Macalline-Info.plist"
;
IPHONEOS_DEPLOYMENT_TARGET
=
6.0
;
LIBRARY_SEARCH_PATHS
=
"$(inherited)"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
gomore
.macalline
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
bestrun.app
.macalline
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
"11
67b943-9098-47a9-b05a-c0dd6682858f
"
;
"PROVISIONING_PROFILE[sdk=iphoneos*]"
=
"11
67b943-9098-47a9-b05a-c0dd6682858f
"
;
PROVISIONING_PROFILE
=
"11
731369-fded-4c9f-a9cc-90b93f6e60f5
"
;
"PROVISIONING_PROFILE[sdk=iphoneos*]"
=
"11
731369-fded-4c9f-a9cc-90b93f6e60f5
"
;
SDKROOT
=
iphoneos
;
VALID_ARCHS
=
"arm64 armv7"
;
WRAPPER_EXTENSION
=
app
;
...
...
@@ -1296,18 +1296,18 @@
baseConfigurationReference
=
416BF2437F5E4BB7D7F8A2AF
/* Pods.release.xcconfig */
;
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone D
istribution: Shanghai Gomore Information Technology Co.,Ltd
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"
iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd
"
;
CODE_SIGN_IDENTITY
=
"iPhone D
eveloper
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
""
;
ENABLE_BITCODE
=
NO
;
GCC_PRECOMPILE_PREFIX_HEADER
=
YES
;
GCC_PREFIX_HEADER
=
"Macalline/Macalline-Prefix.pch"
;
INFOPLIST_FILE
=
"Macalline/Macalline-Info.plist"
;
IPHONEOS_DEPLOYMENT_TARGET
=
6.0
;
LIBRARY_SEARCH_PATHS
=
"$(inherited)"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
gomore
.macalline
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.
bestrun.app
.macalline
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
"11
67b943-9098-47a9-b05a-c0dd6682858f
"
;
"PROVISIONING_PROFILE[sdk=iphoneos*]"
=
"11
67b943-9098-47a9-b05a-c0dd6682858f
"
;
PROVISIONING_PROFILE
=
"11
731369-fded-4c9f-a9cc-90b93f6e60f5
"
;
"PROVISIONING_PROFILE[sdk=iphoneos*]"
=
"11
731369-fded-4c9f-a9cc-90b93f6e60f5
"
;
SDKROOT
=
iphoneos
;
VALID_ARCHS
=
"arm64 armv7"
;
WRAPPER_EXTENSION
=
app
;
...
...
Macalline/AppDelegate.m
View file @
63531739
...
...
@@ -64,7 +64,7 @@
-
(
void
)
setDefaultUserDefaultValues
{
// if ([[UIApplication getObjectType:String key:kServerAddress] isEqualToString:@""]) {
// [UIApplication saveObject:@"
192.168.199.197
" type:String key:kServerAddress];
// [UIApplication saveObject:@"
219.235.234.212
" type:String key:kServerAddress];
// }
// if ([[UIApplication getObjectType:String key:kServerPort] isEqualToString:@""]) {
// [UIApplication saveObject:@"8080" type:String key:kServerPort];
...
...
Macalline/Classes/ViewControllers/TabBar/TabBarViewController.m
View file @
63531739
...
...
@@ -178,6 +178,7 @@
[
tabBarItemImages
objectAtIndex
:
index
]]];
[
item
setBackgroundSelectedImage
:
selectedimage
withUnselectedImage
:
unselectedimage
];
item
.
badgeBackgroundColor
=
RGBColor
(
229
,
0
,
129
,
1
);
item
.
badgeTextColor
=
[
UIColor
whiteColor
];
item
.
titlePositionAdjustment
=
UIOffsetMake
(
0
,
15
);
item
.
badgePositionAdjustment
=
UIOffsetMake
(
20
,
0
);
...
...
Macalline/Classes/ViewControllers/Task/TaskUploadViewController.m
View file @
63531739
...
...
@@ -11,7 +11,7 @@
#import "DBDaoMgr.h"
#import "BaseTextField.h"
#import "UIScrollView+Customized.h"
#import "MBProgressHUD.h"
@interface
TaskUploadViewController
()
<
ImageBrowserDelegate
,
UITextViewDelegate
,
UIAlertViewDelegate
,
UITextFieldDelegate
,
UIActionSheetDelegate
>
{
...
...
@@ -49,6 +49,7 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
@property
(
weak
,
nonatomic
)
IBOutlet
UIView
*
picSelectedView
;
@property
(
nonatomic
,
strong
)
MBProgressHUD
*
hud
;
@property
(
strong
,
nonatomic
)
UIButton
*
btnAdd
;
@property
(
strong
,
nonatomic
)
UIButton
*
btnMinus
;
...
...
@@ -305,6 +306,9 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
-
(
void
)
uploadCheckPointPicture
{
self
.
hud
=
[
MBProgressHUD
showHUDAddedTo
:
self
.
view
animated
:
YES
];
self
.
hud
.
labelText
=
@"图片上传中…"
;
[
self
.
hud
show
:
YES
];
if
([
self
saveImageToDbAndCachePath
])
{
if
([
self
.
picRequireMode
isEqualToString
:
@"2"
]
||
[
self
.
picRequireMode
isEqualToString
:
@"3"
])
...
...
@@ -336,6 +340,7 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
dataType
:
BRNetMgrDataTypeJSON
fileType
:
BRNetMgrFileTypeJpeg
files
:
arrFiles
];
[
self
.
networkMgr
startOperation
:
operation
];
}
}
...
...
@@ -361,11 +366,13 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
dataType
:
BRNetMgrDataTypeJSON
fileType
:
BRNetMgrFileTypeJpeg
files
:
arrFiles
];
[
self
.
networkMgr
startOperation
:
operation
];
}
}
else
{
[
self
.
hud
hide
:
YES
];
self
.
hasSaved
=
@"处理图片出错!"
;
[
UIApplication
showToastViewMessage
:
self
.
hasSaved
];
}
...
...
@@ -451,7 +458,7 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
-
(
void
)
httpOperationSuccess
:
(
AFHTTPRequestOperation
*
)
operation
result
:
(
NSDictionary
*
)
result
{
[
self
.
hud
hide
:
YES
];
if
([
operation
.
userInfo
[
@"interface"
]
isEqualToString
:
@"handleCheckPointEX"
])
{
...
...
@@ -496,7 +503,8 @@ UIAlertViewDelegate, UITextFieldDelegate, UIActionSheetDelegate >
-
(
void
)
httpOperationFailed
:
(
AFHTTPRequestOperation
*
)
operation
error
:
(
NSError
*
)
error
{
[
self
.
hud
hide
:
YES
];
}
-
(
void
)
btnBackClick
:
(
id
)
sender
...
...
Macalline/Resources/Images/TabBar/bage_custom.png
0 → 100644
View file @
63531739
789 Bytes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment