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
__author__ = 'dhcdht' | |
import os | |
import re | |
plugin_path = os.path.expanduser('~/Library/Application Support/Developer/Shared/Xcode/Plug-ins') | |
#for Xcode 6.3 | |
#plugin_uuid = '9F75337B-21B4-4ADC-B558-F9CADF7073A7' | |
#for Xcode 6.3.2 | |
#plugin_uuid = 'E969541F-E6F9-4D25-8158-72DC3545A6C6' |
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
# -*- coding: utf-8 -*- | |
__author__ = "dhcdht" | |
import os | |
import re | |
walk_path = 'path_to_project_root' | |
search_function = 'customSizeWithFont:constrainedToSize:lineBreakMode:' | |
re_replace = '[\g<1> customSizeWithFont:\g<2>constrainedToSize:\g<3>]' |
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
DeprecatedClasses=("UITableView" "UILabel") | |
ClassesString=${DeprecatedClasses[*]} | |
SearchString=${ClassesString// /|} | |
find "${SRCROOT}" \( -name "*.m" \) -print0 | | |
xargs -0 egrep --with-filename --line-number --only-matching "($SearchString).*\$" | | |
perl -p -e "s/($SearchString)/ warning: Use deprecated Class \$1\n/" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="0.2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<channel> | |
<title>XcodeHelper App Changelog</title> | |
<link>https://gist.githubusercontent.com/dhcdht/41a1c484f3c1b6dae0a0224b52b5437d/raw/XcodeHelperReleases.xml</link> | |
<description>Most recent changes with links to updates.</description> | |
<language>en</language> | |
<item> | |
<title>Version 0.2.0</title> | |
<description> |